Jump to content

Rollover Submit Popup not working in Firefox? Please help!


Kane250

Recommended Posts

I have a rollover image that I'm also using as a submit button, and also opens a popup window. Everything works fine in Safari and Opera, but not in Firefox...and probably not in IE (since nothing works in there). Firefox is just displaying a weird gray box of some sort instead of my image. The link still works but the image does not. Can someone help?

 

 

<!--
function wopen(url, name, w, h)
{
// Fudge factors for window decoration space.
// In my tests these work well on all platforms & browsers.
w += 20;
h += -20;
var win = window.open(url,
  name,
  'width=' + w + ', height=' + h + ', ' +
  'location=no, menubar=no, ' +
  'status=no, toolbar=no, scrollbars=no, resizable=no');
win.resizeTo(w, h);
win.focus();
}
// -->

<div id="emailcheck">
    <input type="submit" value="" class="button" onclick="wopen('mainsub.php', 'popup', 400, 375); return true;" onmouseover="this.className='button-over';" onmouseout="this.className='button';" />
</div>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.