Hi Mark,
There's no way I know of with CSS, but you could probably do it with some
JavaScript. The first possible solution that comes to mind is getting an
array of all <a> tags as objects. Then you'd loop through them, setting the
target attribute to _blank.
Hoop that's enough to get you started! Good luck...
~Angela
--
Angela C. Buraglia, Founder:
~FAQs, Tutorials & Resources~ http://www.DreamweaverFAQ.com
~My Extensions~ http://www.dwfaq.com/go.asp?ID=AngelaX10
DWfaq Support Newsgroup: news://support.dwfaq.com/support
Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
http://www.dwkillertips.com
Extension Developer for Cartweaver 2:
http://www.cartweaver.com/features/extensionsuite/
Remove the CAPS in my E-mail to reply off list.
"Mark Morse" <mark.morse (AT) sanmina-sci (DOT) com> wrote
Quote:
Is there a way using only css to force all links on a page to open in a
new
window?
a {target: new;} doesn't work. I'm working on an app where I can't get
directly to the "a" tags but I can get to the stylesheet to redefine the
"a"
tag.
Thanks
mark |