Reply LinkBack Thread Tools Search this Thread
Old 27-03-2003, 22:05   #1 (permalink)
andrewparker
Senior Member
 
andrewparker's Avatar
 
Join Date: Feb 2003
Location: Manchester
Posts: 980
Standards-Compliant New-Window Links

If you've been wondering how to use the target="_blank" attribute and still produce pages that validate then here's how -

http://www.sitepoint.com/article/1041

Found this is be a very useful article and it works like a treat!
__________________
Andrew Parker

---------------------

(Apple PowerBook G4 1.67GHz / 1Gb RAM / OS X / Safari )
  Reply With Quote
Old 28-03-2003, 05:27   #2 (permalink)
vickygale
Registered User
 
Join Date: Feb 2003
Posts: 40
As the article points out, it only works on the later browsers. However, what is not pointed out, is that there are plenty of people out there who deliberately switch of JavaScript, therefore by default stopping you from opening a new window.
  Reply With Quote
Old 28-03-2003, 10:43   #3 (permalink)
andrewparker
Senior Member
 
andrewparker's Avatar
 
Join Date: Feb 2003
Location: Manchester
Posts: 980
It isn't supported by Netscape 4 and IE 4 - which doesn't represent a problem in my opinion because these browsers only account for 2% of users. Should the user have JavaScript turned off (10% of web users) then the script will open the page in the same window.

Nothing losed, nothing gained!
__________________
Andrew Parker

---------------------

(Apple PowerBook G4 1.67GHz / 1Gb RAM / OS X / Safari )
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8