Current location: Hot Scripts Forums » General Web Coding » JavaScript » change the mouse pointer


change the mouse pointer

Reply
  #1 (permalink)  
Old 01-03-04, 01:19 AM
ramez ramez is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
change the mouse pointer

how can i change the mouse pointer whet its comes ove a specific text
Reply With Quote
  #2 (permalink)  
Old 01-03-04, 05:26 AM
psyon psyon is offline
Newbie Coder
 
Join Date: Dec 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
http://www.echoecho.com/csscursors.htm
Probably best done with CSS
Reply With Quote
  #3 (permalink)  
Old 01-03-04, 05:34 AM
ramez ramez is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
how can i do it using javascript
Reply With Quote
  #4 (permalink)  
Old 01-04-04, 12:21 AM
blaw's Avatar
blaw blaw is offline
Junior Code Guru
 
Join Date: Dec 2003
Location: Vancouver, BC, Canada
Posts: 550
Thanks: 0
Thanked 0 Times in 0 Posts
Try

Code:
body.style.cursor="move";
"move" should be replaced with your desired shape's keyword. The keywords are the same for JS and CSS (I assumed so because it's "style" element). It may not work with some browsers (Should work fine with IE and Mozilla's later versions).

Hope this helps.
__________________
Blavv =|
Reply With Quote
  #5 (permalink)  
Old 01-05-04, 04:38 AM
gwx gwx is offline
Newbie Coder
 
Join Date: Dec 2003
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
In some browser/OS combinations, it would not work. In linux, it would just not display, but if someone using windoze 95 would have their browser 'trashed'.
Reply With Quote
  #6 (permalink)  
Old 01-22-04, 07:56 AM
superoriental superoriental is offline
New Member
 
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
I want to ask you how can I change the default cursor pointer during a drag and drop operation for my own cursor. thanks
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change Mysql username webx2000i PHP 4 02-10-04 08:48 PM
change the contents of an html file in asp jaleen ASP 4 01-21-04 07:41 AM
change the contents of an html file in asp jaleen Script Requests 0 12-30-03 01:53 PM
Need one MouseOver event to change TWO images AccessGuy JavaScript 5 12-13-03 03:40 AM
Need ONE mouseover event to change TWO graphics on the page AccessGuy JavaScript 1 06-19-03 02:45 AM


All times are GMT -5. The time now is 11:40 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.