| New Reply |
Open link in new tab |
Share Thread |
| May6-11, 09:48 PM | #1 |
|
|
Open link in new tab
If there have html or any code to open a link into other tab( not new window and with right-click of the link)?
|
| May7-11, 05:53 AM | #2 |
|
|
Nothing that I know of. I've heard about it being in CSS3 but I'm not sure. Right now it's up to the user's browser configuration to decide how to open up links that have target="_blank".
|
| May7-11, 06:01 AM | #3 |
|
|
The browser decides whether it is a pop up, new window or new tab.
If you're sick of right clicking, my mouse lets me use the middle scroll wheel, if I use that on a link it opens it in a new tab or on my trackball mouse I can use the right and left click buttons together (click the link with both at the same time) and it opens a new tab. |
| May17-11, 10:40 PM | #4 |
|
|
Open link in new tab
no, you can assign target="_blank" within the link html code. If your browser doesn't support tabs, it will open within a new window. The browser doesn't decide, it's a variable that you can set in the code.
Code:
<a href="www.blahblah.com/whatever" target="_blank">link text<a /> |
| May18-11, 02:57 AM | #5 |
|
|
Setting new window or simply open the link may be done in the code, but the choice of new tab or new window is done in the browser.
They are two separate issues, don't confuse them. You can dictate within the browser settings how to handle new windows (tab or new window), so yes, the browser does decide. For example, firefox supports tabs but I can disable it so all links such as that you posted above will open in a new window. There is no code that can force a tab unless the browser is already set to do so. |
| Jun26-11, 07:09 PM | #6 |
|
|
That's obvious though, but the code does do the job with the right permissions, saying that the browser decides with your example would be like asking how to open a webpage in a new tab with IE6. IE6 doesn't support tabbed webpages, and therefore it can't be done. But the html code target="_blank" is legit.
I know more about computers and webmaster jobs than I do in physics lol, but right now I need to learn physics. |
| Jun20-12, 05:24 AM | #7 |
|
|
I have noticed that in Internet Explorer 9 target="_blank" opens the url in a new tab when tabs are supported by the browser but no when the server in the link is different from that of the parent page containing the link. E.g. when the link is part of the page www.somepagename.com and the link refers to www.answers.com the link opens up in a new tab, but opens up in a new window when wiki.answers.com. Google Chrome does not seem to make this difference.
|
| Jun21-12, 12:48 AM | #8 |
|
|
do you mean ctrl+click?
|
| New Reply |
Similar discussions for: Open link in new tab
|
||||
| Thread | Forum | Replies | ||
| Every open set in R is a countable union of open intervals. Prove. | Set Theory, Logic, Probability, Statistics | 1 | ||
| Is the uncountably infinite union of open sets is open? | Calculus & Beyond Homework | 8 | ||
| open set is countable union of disjoint open balls | Differential Geometry | 2 | ||
| Open subsets are a union of disjoint open intervals | Calculus & Beyond Homework | 2 | ||
| find force link 3 exerts on link 2 | Introductory Physics Homework | 2 | ||