2 of 2
2
URL to open in new window on click
Posted: 05 July 2008 07:02 AM   [ Ignore ]   [ # 19 ]  
Grad Student
Avatar
Rank
Total Posts:  46
Joined  01-27-2008
Andy Harris - 05 July 2008 01:23 AM
rokker - 04 July 2008 01:58 PM

that still turns you guys off? sometimes, some sites don’t let you “back” so easy…

Yep, it does here. I can honestly say that I’m far less likely to ever go back to a site that makes new windows open, and there are a lot of people like me. However, I don’t know of a single person that gets annoyed when a new window doesn’t open, especially seeing as they have this choice anyway. So that’s how I look at it, at least where I have a choice in the matter.

is there a code like target=“blank” that will open in a new tab? and would that be preferable to opening a new window?

 Signature 

Rökker
Publisher
http://www.maximumink.com

Profile
 
 
Posted: 05 July 2008 09:26 AM   [ Ignore ]   [ # 20 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  881
Joined  02-15-2008

For some reason I’m thinking it causes a new tab by default in Firefox, but bizarrely I don’t know for sure! I’ll find out. But yes, a new tab would be annoying, just not as annoying (for me anyway)

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 05 July 2008 10:31 AM   [ Ignore ]   [ # 21 ]  
Summer Student
Total Posts:  30
Joined  02-10-2008

Hi guys,

Saw this thread. Take the nofollow plugin and rewrite it do instead of rel=nofollow target=_blank and you’re there.

There you go.

Regards

Profile
 
 
Posted: 05 July 2008 10:33 AM   [ Ignore ]   [ # 22 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  881
Joined  02-15-2008

But that would make the document invalid, so not a good option for XHTML strict.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
Posted: 05 July 2008 10:37 AM   [ Ignore ]   [ # 23 ]  
Summer Student
Total Posts:  30
Joined  02-10-2008

So add: onclick=“window.open(this.href); return false;”

Valid XHTML and doing the same trick..

Profile
 
 
Posted: 05 July 2008 11:21 AM   [ Ignore ]   [ # 24 ]  
Grad Student
Avatar
Rank
Total Posts:  46
Joined  01-27-2008
kjdekoning - 05 July 2008 10:37 AM

So add: onclick=“window.open(this.href); return false;”

Valid XHTML and doing the same trick..

wikked, i’m not sure if i’ll try that yet… wink but you guys have now pushed me into checking my code for VALID XHTML (thanx Mark)

going through each template to correct all the hundreds of errors has been a huuuuge learning experience, and it ain’t done yet!

wow, the more i learn about html/css/xhtml/EE, the more i don’t know…

what a beautiful life ignorant bliss was…..

for anyone who is in the same boat as me, check your site’s validity at:
http://validator.w3.org

 Signature 

Rökker
Publisher
http://www.maximumink.com

Profile
 
 
Posted: 05 July 2008 01:46 PM   [ Ignore ]   [ # 25 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  881
Joined  02-15-2008
kjdekoning - 05 July 2008 10:37 AM

So add: onclick=“window.open(this.href); return false;”

Valid XHTML and doing the same trick..

Thats another way of doing it certainly. Personally I prefer to keep my javascripts external to the HTML docs so I still favour the jQuery version if it absolutely needs to be done.

 Signature 

Andy Harris | Pepper Digital | Malvern, UK | Twitter | New to ExpressionEngine? Start here!
Remember - If at first you don’t succeed, you’re not Chuck Norris

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64937 Total Logged-in Users: 59
Total Topics: 81905 Total Anonymous Users: 27
Total Replies: 440291 Total Guests: 308
Total Posts: 522196    
Members ( View Memberlist )