onMouseOver

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bettina

    onMouseOver

    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
  • lallous

    #2
    Re: onMouseOver

    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

    "Bettina" <bcosta@tiscali net.ch> wrote in message
    news:7149c2e1.0 309160036.514b6 21d@posting.goo gle.com...[color=blue]
    > How can I do so that when a move the mouse over a button <input[/color]
    type="button".. >[color=blue]
    > the button changes the colour or a hand is shown over it?
    >
    > Thank you. Bettina[/color]


    Comment

    Working...