View Full Version : problem with mouseover & mouseout

Jul 19th, 2002, 06: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)

Jul 19th, 2002, 07:17 PM
/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();

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>.