• 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.


#1
Am I going mad... but for some reason I can't seem to get twitter opening in a new page - see http://ow.ly/3PR - 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?

Code:
          <a href="[URL]http://www.twitter.com/ukprint">[/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


Jim
 
#5
deluzione said:
BUT, your site will not validate a STRICT doctype when you use "target"...
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.


Cheers


Jim
 
#6
flyerboy_uk said:
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.


Cheers


Jim
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 :)