Kane250 Posted June 28, 2008 Share Posted June 28, 2008 I'm using this code, which acts as a submit button for my form and is also a rollover. However, the rollover image does not preload and I don't think I can do it like I preloaded the other rollovers on my page. Can someone tell me what I have to add to this? In my CSS: .button { border:0px; outline:0px; background:url('images/emailcheck.png'); width: 41px; height: 33px; } .button-over { border:0px; outline:0px; background:url('images/emailcheckro.png'); width: 41px; height: 33px; } In my HTML <input type="submit" value="" class="button" onclick="wopen('mainsub.php', 'popup', 400, 375); return true;" onmouseover="this.className='button-over';" onmouseout="this.className='button';" /> Can anyone help me out??? Thanks! Quote Link to comment Share on other sites More sharing options...
Kane250 Posted June 29, 2008 Author Share Posted June 29, 2008 bump for suggestions. Quote Link to comment Share on other sites More sharing options...
Kane250 Posted June 29, 2008 Author Share Posted June 29, 2008 nobody? 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.