By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,361 Members | 3,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,361 IT Pros & Developers. It's quick & easy.

How to Change Cursor while clicking on mouse

P: 1
I have button with mouseup, mousedown, mouseout, mouseover events. On these events I am using cursor as hand. Now the issue is with submitting the button. After clicking on button cursor should be waiting state on entire page. = 'wait' makes the cursor as wait only on the body of the page. While navigating with button again I am seeing cursor as hand. Please suggest me in this.

[HTML]<input type="submit" class="startbuttonUp" name="submit" value="submit" onMouseOver="this.className='startbuttonOver'" onMouseDown="this.className='startbuttonDown'" onMouseUp="this.className='startbuttonUp'" onMouseOut="this.className='startbuttonUp' ">[/HTML]
Jan 25 '08 #1
Share this Question
Share on Google+
1 Reply

P: 25
use the below code

Expand|Select|Wrap|Line Numbers
  1. <input type="submit" style="cursor:pointer" class="startbuttonUp" name="submit" value="submit" onMouseOver="this.className='startbuttonOver'" onMouseDown="this.className='startbuttonDown'" onMouseUp="this.className='startbuttonUp'" onMouseOut="this.className='startbuttonUp' ">
Jan 25 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.