Print Reseller Scheme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

target="_blank" - am i going mad.

Discussion in 'Website Design Forum:' started by facemediagroup, Jan 16, 2009.

  1. Am I going mad... but for some reason I can't seem to get twitter opening in a new page - see - bottom left hand menu - the link to twitter... it's not opening in a new page.

    pls have a look at the code - am i doing something wrong?

              <a href="[URL]">[/URL] <img src="/images/twitter.png"border="0" alt="follow me"width="144" height="57" target="_blank" /></a>

    answer or fix would be v useful pls

  2. Aarlev

    Aarlev Member

    Put in on the a instead.

    Like this <a href="" target="_blank">your image</a>
  3. oh you genius.


    I've been looking at it for an hour... just couldnt work it out.

    Thanks Soren.
  4. deluzione

    deluzione Member

    BUT, your site will not validate a STRICT doctype when you use "target"...
  5. yeh I read that.

    Is that a really bad thing?

    I was reading about some jscript that could get round it - Whats the beef with open new... I know the bloggers hate it - but in the real word your very lightly to lose a visitor.


  6. deluzione

    deluzione Member

    For now, if you use transitional, it's not bad, but when HTML5 comes you're up shit creek I think. Anyway, I'm sure you will NOT lose a visitor if you don't open in a new window. People know damn well what the back button in their browser does, and especially the people you're targeting on your website (if they click on Twitter, I don't think they're 77 year old granny's).

    Also, you might want to consider coding in CSS.. Coding in tables IS a bad thing :)
  7. it's an old site - due for a revamp ;) - we'll fix it then - thanks deluzione - and thanks for the follow too @

Share This Page