
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
|
(Get Attention Ticker for your web site)
Opening New WindowsBy Will Bontrager I'll let others debate what desired outcomes and situations should or should not be reason to cause new windows to open when a link is clicked. Instead, I'll show you how to do it, so you can if you want to. You will learn how to set up individual links by inserting the target attribute, how to set up all links on a page with one line of HTML, and how to set up only links that lead to another domain with copy 'n paste JavaScript. (Click here for the complete article.) The JavaScript With Commented Steps For those who are interested in how the JavaScript works, here is a repeat of the code presented in the article, but heavily commented for clarity. June 6, 2006 Please note: Articles on this website are presented "as is". However - If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Rate this blog post.
No page reload! |
|
|
© 1998-2001 William and Mari Bontrager |
|