View Single Post
  #4 (permalink)  
Old October 1st, 2009, 08:34 AM
iamrakesh22 iamrakesh22 is offline
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

See the following URL. It explains how to add and remove events using javascript.
On button click you can remove the "onmousemove" event added to 'hmenu'

http://www.quirksmode.org/js/events_mouse.html

Try it out.
__________________
- Rakesh
http://iam-rakesh.blogspot.com