[thelist] Child windows from invalid JS / browser errs sought

Luther, Ron Ron.Luther at hp.com
Wed Jul 3 07:27:01 CDT 2002

Hi Andrew,


Sorry - I'm stuck with the new window.
The best I can do is try to make it work well.

I'll check into your solutions.


-----Original Message-----
From: Andrew Clover [mailto:and-evolt at doxdesk.com]

You could replace that long URL in window.open with this.href to make
it a bit easier to manage.

A solution that uses target but still validates as Strict is to use
JavaScript to overwrite the targets, eg.:

  <a href="x.html" class="popup">hello</a>
  <script type="text/javascript">
    for (var i= document.links.length; i-->0;)
      if (document.links[i].className=='popup')
        document.links[i].target= '_blank';

More information about the thelist mailing list