Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    onmouseover event over a hotspot

    Hi,

    I have a page which has a series of hotspots mapped on an image. I was hoping to be able to apply a onmouseover event to show an different image hovering over the background.

    This is the link to the page
    http://cameronbrett.ehclients.com/index.php/2011/sites

    As an example, this is a code snippet identifying the hotspot for "ideas1"

    [code]<area shape="rect"
    coords="70,70,135,136"
    onmouseover="showPic(this.href)" href="http://cameronbrett.ehclients.com/images/ideas/ideas1.jpg"
    title="ideas1"
    alt="alternate text"/>[code]

    I have researched as much as I can, and haven't been able to find an applicable solution. Can anyone help?

    Again, I am a complete rookie at this so pardon my inefficiencies and errors.

    Many thanks in advance

  • #2
    Regular Coder
    Join Date
    Mar 2011
    Posts
    148
    Thanks
    0
    Thanked 20 Times in 20 Posts
    Hy,
    Try onmouseover="showPic(this)" , without .href


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •