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

onMouseOver

P: n/a
How can I do so that when a move the mouse over a button <input type="button"..>
the button changes the colour or a hand is shown over it?

Thank you. Bettina
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello

1)Give the button an ID and then get the object of the button through its ID
(getElementbyId() or document.all[], ...)
2)Add onmouseover event handler to the button
3)change the button's style accordingly: either change the cursor shape or
the button's colors.

--
Elias
http://lgwm.org/
"Bettina" <bc****@tiscalinet.ch> wrote in message
news:71**************************@posting.google.c om...
How can I do so that when a move the mouse over a button <input type="button"..> the button changes the colour or a hand is shown over it?

Thank you. Bettina

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.