Mouse-over on button

Discussion in 'HTML' started by John, Aug 24, 2005.

  1. John

    John Guest

    Hi:

    On my web site (http://nusselder.ca/thejourney/) I am using the Milonic menu.
    The mouse-over function works great.

    On some pages (for example, the Home Page) I am using a couple of buttons
    (similar in appearance, but not part of the Milonic menu) to get to other pages.

    The script I am using is
    "<a href="upc_events.htm"> <img src="upc-ev.jpg" border=0></a>"

    That works great, but I am trying to get a mouse-over action there also.
    I tried
    "<a href="upc_events.htm"> <img src="upc-ev.jpg" border=0> <on mouseover img
    src="upc-ev-mo.jpg" border=0></a>"
    but that does not work.
    Both jpg files are in the root directory.

    I would be grateful for some direction as to how to accomplish the "mouse-over"
    function here.

    Thanks!

    John <><

    A wise monkey is a monkey who doesn't monkey
    with an other monkey's monkey.
    John, Aug 24, 2005
    #1
    1. Advertising

  2. John

    Guest

    John wrote:
    > Hi:
    >
    > On my web site (http://nusselder.ca/thejourney/) I am using the Milonic menu.
    > The mouse-over function works great.
    >
    > On some pages (for example, the Home Page) I am using a couple of buttons
    > (similar in appearance, but not part of the Milonic menu) to get to other pages.
    >
    > The script I am using is
    > "<a href="upc_events.htm"> <img src="upc-ev.jpg" border=0></a>"
    >
    > That works great, but I am trying to get a mouse-over action there also.
    > I tried
    > "<a href="upc_events.htm"> <img src="upc-ev.jpg" border=0> <on mouseover img
    > src="upc-ev-mo.jpg" border=0></a>"
    > but that does not work.


    Why would it work? Where did you find the <on> element in the HTML
    documentation? I think you made it up yourself. You can't just go
    making up stuff like that - how will your (or my) browser know what to
    do with made up elements?


    > I would be grateful for some direction as to how to accomplish the "mouse-over"
    > function here.


    Google for "javascript image mouse over", then click the "I'm feeling
    lucky button".

    --
    Hywel
    , Aug 24, 2005
    #2
    1. Advertising

  3. John

    John Guest

    On 24 Aug 2005 01:26:47 -0700, wrote:

    >Google for "javascript image mouse over", then click the "I'm feeling
    >lucky button".



    Thanks, Hywel!

    John <><

    A wise monkey is a monkey who doesn't monkey
    with an other monkey's monkey.
    John, Aug 24, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Davisro
    Replies:
    2
    Views:
    1,306
    Jim Corey
    Apr 23, 2004
  2. Paul
    Replies:
    14
    Views:
    1,665
  3. Mr. Magic
    Replies:
    1
    Views:
    440
    Gregory A. Beamer
    Jan 4, 2010
  4. Tony Girgenti

    Button highlight or enhance when mouse over

    Tony Girgenti, Sep 15, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    117
    Tony Girgenti
    Sep 15, 2006
  5. Tony Girgenti

    Button highlight or enhance when mouse over

    Tony Girgenti, Sep 15, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    165
    Tony Girgenti
    Sep 15, 2006
Loading...

Share This Page