[thelist] not sure if this went through -- if so sorry for repost

rudy r937 at interlog.com
Fri Jun 15 18:42:14 CDT 2001


>     <a href="javascript:popUp('mypage.htm'
>          ,'PopUpWindow','width=520,height=640')"
>         >link</a>


hi fortune

try this instead

    <a href="mypage.htm"  target="_blank"
         onClick="popUp('mypage.htm'
          , 'PopUpWindow','width=520,height=640');
       return false;">link</a>

when you use the javascript protocol as the href, i *think* (willing to be
corrected -- jeff?) what happens is that even if the popup has self.focus,
the parent window gets focus after executing the link

the suggested format is better because the link will work even if
javascript is turned off


rudy





More information about the thelist mailing list