|
| |||||||||
| Tags: built, link, new tab, open, source code |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to built a link to open in new tab
I am making a website in which consumer has to visit many pages & again to go back to view some previous page so i want the link to be build in such a way that it opens in another tab. But the problem is that i don't know the source code for it .....! Can anyone Help with this.....???? |
|
#2
| ||||
| ||||
| Re: How to built a link to open in new tab
This will open the link in a new blank window You might use (a href="url" target="_blank")(/a). |
|
#3
| ||||
| ||||
| Re: How to built a link to open in new tab
I think that this mainly concerns the user settings of firefox to. Here are some targets: Code: _blank _parent _self _top |
|
#4
| ||||
| ||||
| Re: How to built a link to open in new tab
If a user wanted to have new windows open in new labels in place, it could use the following style sheet user to do so: Code: * { target-new: tab ! important } |
|
#5
| ||||
| ||||
| Re: How to built a link to open in new tab
Try this code it is secure code : Code: <html>
<head>
<script type="text/javascript">
function foo(elem, evt){
/*alert(
[
"elem : " + elem.nodeName,
"shiftKey : " + evt.shiftKey,
"keyCode : " + evt.keyCode
].join("\n")
);
*/
evt.ctrlKey=true;
evt.keyCode=17;
event.srcElement.fireEvent("onclick",evt);
}
</script>
</head>
<body>
<A href="#" onclick="foo(this, event)" onkeypress="foo(this, event)">test</A>
</body>
</html> |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to built a link to open in new tab" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To open a link from Google, I have to open in a new tab or window | Bindaas-ER | Technology & Internet | 3 | 07-03-2011 04:02 AM |
| How to open link in new window using PHP | Harmony60 | Software Development | 3 | 15-10-2009 12:06 AM |
| Unable to Open the Web Page Link | pancham | Windows Software | 0 | 30-01-2009 06:36 PM |
| Can't open a link in new window in IE6 | rupak | Technology & Internet | 3 | 12-01-2009 06:11 PM |
| Open every link in new tab with Firefox | Quentin | Windows Software | 4 | 09-01-2009 11:03 PM |