I want to include a button that has rollover effects and also is a link to a
page that will open in a new window. Here's the code I am using:
<A
HREF="javascrip t:window.open(' email_me.htm',' ','scrollbars=0 ,menubar=0,heig h
t=260,width=400 ,toolbar=0');"
ONMOUSEOVER="ch angeImagesX('Em ailMe_Layer_1',
'images/EmailMe_Layer-1-over.gif'); return true;"
ONMOUSEOUT="cha ngeImagesX('Ema ilMe_Layer_1', 'images/EmailMe_Layer-1.gif');
return true;">
<IMG NAME="EmailMe_L ayer_1" SRC="images/EmailMe_Layer-1.gif" BORDER=0
width="140" height="25"></A>
Everything works OK - the rollovers work and when the button is clicked the
new window opens. The problem is that the original window goes blank and
displays only the text [object]. How can I do what I want and have the
original window retain its contents?
You can see this at http://www.pgacon.com/testpage.htm
--
Peter Aitken
Remove the crap from my email address before using.
page that will open in a new window. Here's the code I am using:
<A
HREF="javascrip t:window.open(' email_me.htm',' ','scrollbars=0 ,menubar=0,heig h
t=260,width=400 ,toolbar=0');"
ONMOUSEOVER="ch angeImagesX('Em ailMe_Layer_1',
'images/EmailMe_Layer-1-over.gif'); return true;"
ONMOUSEOUT="cha ngeImagesX('Ema ilMe_Layer_1', 'images/EmailMe_Layer-1.gif');
return true;">
<IMG NAME="EmailMe_L ayer_1" SRC="images/EmailMe_Layer-1.gif" BORDER=0
width="140" height="25"></A>
Everything works OK - the rollovers work and when the button is clicked the
new window opens. The problem is that the original window goes blank and
displays only the text [object]. How can I do what I want and have the
original window retain its contents?
You can see this at http://www.pgacon.com/testpage.htm
--
Peter Aitken
Remove the crap from my email address before using.
Comment