[thelist] javascript opening new window question

Emily Tarrant emily.tarrant at dsl.pipex.com
Thu Jun 23 13:08:25 CDT 2005


Brian Cummiskey wrote:

> Emily Tarrant wrote:
>
>> <a href="javascript:newWindow('images/blah.jpg')">Thumbnail image</a>
>
>
>
> change to:
>
> <a href="images/blah.jpg" onclick="newWindow('images/blah.jpg'); 
> return false;">Thumbnail image</a>
>
>
> JS enabled will get the pop-up.
> non, will get the image on the same page.
>
Brian you're a star! It works like a dream.

Emily



More information about the thelist mailing list