cancel
Showing results for 
Search instead for 
Did you mean: 

External Links - open in new window/tab

zacherynuk
Explorer
Is there a way (i can't see it in profile option) that we can make external links open in a new window ?

It's killing me on both this forum and MTBS3D when using a none 3 button mouse....
3 REPLIES 3

geekmaster
Protege
You can (in individual posts) at MTBS3D, but that method does not work here. I discovered it in one of PalmerTech's old posts. I do not see any way to do it for all posts as you requested, but that might be more of a browser-specific option (or a browser plug-in) than a forum preference setting. Rather the opposite of the typical popup blocker, I think, so perhaps harder to find.

EDIT: Found it. Here:
http://www.mtbs3d.com/phpBB/viewtopic.php?f=120&t=13980&start=0#p70025
Click the link in PalmerTech's post, and see the popup link.

Here is the code:
Awesome!  I have this gun on the way: http://www.amazon.com/STAR-Dragon-AEG-Airsoft-Rifle/dp/B00547O6O0" onclick="window.open(this.href);return false;

Looking forward to building a nice tracked gun, hopefully with whatever you figure out. :D

I tested variations of that method and it only works at MTBS3D, and only when NOT inside URL tags.

If anybody knows a way to do popup links here, please share. Thanks.

*** TEST *** : http://www.amazon.com/STAR-Dragon-AEG-Airsoft-Rifle/dp/B00547O6O0" onclick="window.open(this.href);return false;

*** TEST2 *** : http://www.amazon.com/STAR-Dragon-AEG-Airsoft-Rifle/dp/B00547O6O0"%20onclick="window.open(this.href)...

No, not working here...

Krisper
Explorer
Not really sure about the latest recommendations, but at some point in web development it was considered bad practice to open another tab or window from a link. It was up to the user to "right click" to open in another tab if they wanted. So the target attribute for links was not considered valid.

But I think in HTML5 it is now OK to use target attributes again. I think it would be up to the forum mods to change a setting, or implement new code to add a target attribute to links.

cybereality
Grand Champion
1. Right-click, open in new tab/window.
2. Buy a 3-button mouse.
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV