SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2006
    Posts
    147
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Opening new windows

    Can you use CSS to instruct each external link on the page to be opened in a new window? Or is there another way without having each link target=_blank?
    (I already know the do's and do nots re: forcing new windows before anyone mentions it!

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, you can't do it with CSS; you'll need to use javascript. Maybe something like:

    http://accessify.com/features/tutori...perfect-popup/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •