ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

URL to open in new window on click

July 03, 2008 8:12am

Subscribe [8]
  • #16 / Jul 04, 2008 5:45pm

    Mark Bowen

    12637 posts

    Definitely not representative here 😉

    I’ve always liked new windows in a lot of cases. I think that all the trouble from what I know started waaaaaaay back in the 80s when PC users were complaining as people were all going through that admittedly annoying phase of opening up full screen windows for flash sites and the like and if the user didn’t know what keys to use to get out of it (unless the site had a close window button) then they got scared very quickly.

    As there was no way (at the time) of this happening to a Macintosh (which is all I’ve ever used) then this wasn’t so much a worry, well for me at least 😉

    What I have said above also isn’t totally representative of all PC users but just what I noticed from the amount of people that used to tell me that.

    Me personally though I think it can be a very good thing in certain cases. I’m not bothered about my browser history and to tell the truth I don’t actually think - hand on heart - that I have ever ever used mine!

    Best wishes,

    Mark

  • #17 / Jul 04, 2008 5:55pm

    Ingmar

    29245 posts

    I’ve always liked new windows in a lot of cases.

    Well, why not? I prefer tabs, mostly, but, yes I like them as well. It’s just that when following a link I expect my browser to open it in the current windows unless otheriwse instructed. And I do not like sites trying to take this choice away from me.

    I think that all the trouble from what I know started waaaaaaay back in the 80s when PC users were complaining as people were all going through that admittedly annoying phase of opening up full screen windows for flash sites and the like

    Are you kidding? It may seem like the internet has been around for ages, but the WWW really didn’t take off until ca. 1995. Certainly not “waaaaaaay back in the 80s”...

  • #18 / Jul 04, 2008 7:39pm

    Mark Bowen

    12637 posts

    Oops sorry typo!!! Meant the 90s!

  • #19 / Jul 05, 2008 4:23am

    Andy Harris

    958 posts

    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.

  • #20 / Jul 05, 2008 10:02am

    rokker

    179 posts

    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?

  • #21 / Jul 05, 2008 12:26pm

    Andy Harris

    958 posts

    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)

  • #22 / Jul 05, 2008 1:31pm

    kjdekoning

    19 posts

    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

  • #23 / Jul 05, 2008 1:33pm

    Andy Harris

    958 posts

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

  • #24 / Jul 05, 2008 1:37pm

    kjdekoning

    19 posts

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

    Valid XHTML and doing the same trick..

  • #25 / Jul 05, 2008 2:21pm

    rokker

    179 posts

    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… 😉 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

  • #26 / Jul 05, 2008 4:46pm

    Andy Harris

    958 posts

    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.

  • #27 / Feb 03, 2009 8:23am

    BrandB

    36 posts

    Is there anyway to turn this into a preference for a user, say a checkmark?

  • #28 / Feb 06, 2009 3:44pm

    PD99

    5 posts

    Hope this thread is still alive.

    I need to be able to pop a new window from an EE forum posting. Can anyone help?

    We use the forum module as support for classroom programs and as part of asynchronous learning programs. Instructors or students post links to video content in our multimedia library. I’d like it to open in a new window, so when the video window is closed the user is still in the forum.

    Thanks for your help.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases