July 12, 2003
Standards-based Replacement for target="_blank" in External Links
This article shows a nice JavaScript implementation that validates in Strict HTML 4.01 or Script XHTML 1.0 essentially replacing the need to use target="_blank" to open an new window for external links.
Love it or hate it, many authors prefer to have links that are external to their sites open up in new browser windows. This is typically done through the use of target attributes on those links. However, as you may be aware, the target attribute is not valid for links when authoring in the Strict flavors of either HTML 4.01 or XHTML 1.0.
This is on my TODO list for all of my future web development stuff. Way cool!
[ Full Story @ www.serve.com ] Posted by akvalley at July 12, 2003 12:14 AM | TrackBack
Comments
Post a comment