![]() |
Open In New Tabs
I want to open link's in a new window but I have heard that if I use:
<a target=?_blank? href=?http://blahblah.com?>new link</a> the 'target="_blank"' breaks XHTML strict validation, and i have been told to use this method to stop if from breaking validation, ive been told to use this: http://www.sitepoint.com/article/sta...liant-world/3/ how and where do i apply that JS code to my site to stop the target=?_blank? from breaking strict validation? Kind Regards Stormraven. |
Honestly...using target="_blank" and breaking XHTML strict validation won't kill you ;)
And why are you even using strict? Use Transitional. |
I am, it also breaks
I'm validating as 'XHTML 1.0 Transitional', it breaks this too when I use target="_blank" Please help :( |
Try using this: http://www.badlydrawntoy.com/2009/03...-jquery-redux/
but anyway, why are you so keen on validating XHTML. Like I was saying earlier it won't kill you to use _blank |
I know what the code is, but where does it go in the template? Where do I put the code?
|
Can someone help me please? :'(
|
Put the javascript in your root template (such as forumhome)
|
All times are GMT. The time now is 03:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|