amalosoul Posted December 11, 2006 Share Posted December 11, 2006 <input type=image src="bar.gif" class="dragme" style="position:absolute; top:100; left:100;" name="left" onClick="" onUnClick="javascript: window.close();">Why won't it close the window after I let go of the button?Thank you in anticipation! Quote Link to comment Share on other sites More sharing options...
Eric_Ryk Posted December 12, 2006 Share Posted December 12, 2006 Because onUnClick isn't an event. I believe you're looking for onmouseup Quote Link to comment Share on other sites More sharing options...
amalosoul Posted December 12, 2006 Author Share Posted December 12, 2006 Thank you! That was exactly what I was searching for, onmouseup :)! 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.