PDA

View Full Version : problem with mouseover & mouseout



Freddi
07-19-2002, 07:25 PM
ONMOUSEOVER="popup('Link takes you outside the CENTURY 21 Townsman Ltd. site','gold')"; ONMOUSEOUT="kill()"

this works fine on the development side ... but when I went live with it... it didn't...

blonde moments again.. what can I say.. :confused:

Thank you

Freddi.. (aka Heather)

justame
07-19-2002, 08:17 PM
fre...
/me has just a seen® it done like this...

<SCRIPT LANGUAGE="Javascript">
var infowin_window = null;
function infowin(status,url) {
if(status != 0) {
if(infowin != null) infowin.focus();
else {
var infowin = open(url, "Infowin", "width=545,height=400");
infowin_window = infowin;
}
} else {
if(infowin_window != null) infowin_window.close();
}
}
</SCRIPT>



n' thennn the link is just a called® like...
<A HREF="whatever.html" onMouseover="infowin(1,'whatever.html')" onMouseout="infowin(0)">just a link®</A>.