Kane250 Posted June 26, 2008 Share Posted June 26, 2008 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> Quote Link to comment Share on other sites More sharing options...
lemmin Posted June 26, 2008 Share Posted June 26, 2008 Does the popup work? To help you with the image you would have to show your class delcarations. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.