SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Wizard
    Join Date
    Apr 2004
    Location
    dublin
    Posts
    2,036
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Imagemap + Mouseover

    Hi all,

    I have an image.

    If the user mouseovers certain parts of the image then a note relavant to that part should pop up.

    How do I do this?

    Thanks.

  2. #2
    SitePoint Enthusiast johnmanoahs's Avatar
    Join Date
    Jul 2004
    Location
    India
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by obrienkev
    Hi all,

    I have an image.

    If the user mouseovers certain parts of the image then a note relavant to that part should pop up.

    How do I do this?

    Thanks.

    In the area tag add an attribute 'title=whatever text you want'.

    e.g.

    Code:
    <area shape="circle" coords="364,308,60" href="#" title="CIRCLE MAP">
    If you think you are too small to make an
    influence, try sleeping with a mosquito in a closed room.

  3. #3
    SitePoint Wizard
    Join Date
    Apr 2004
    Location
    dublin
    Posts
    2,036
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am in the process of creating hotspots in Fireworks. This correct? How do I get mouse over effect then?

    Is there an easier way to do this using CSS?

  4. #4
    SitePoint Enthusiast johnmanoahs's Avatar
    Join Date
    Jul 2004
    Location
    India
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by obrienkev
    I am in the process of creating hotspots in Fireworks. This correct? How do I get mouse over effect then?

    Is there an easier way to do this using CSS?

    As far as I know and tested, the "title" attribute works in all major browsers...If you still doubt it, there is another attribute called "alt". You can define two attributes in the area tag letting the browser choose whichever it wants to display.

    I honestly dont know how to use CSS to define the alt...I doubt there is a way!!!

    - John
    If you think you are too small to make an
    influence, try sleeping with a mosquito in a closed room.

  5. #5
    SitePoint Wizard
    Join Date
    Apr 2004
    Location
    dublin
    Posts
    2,036
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can moderator move this to CSS form please? Thanks.

  6. #6
    SitePoint Wizard
    Join Date
    Apr 2004
    Location
    dublin
    Posts
    2,036
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can anyone help me out please? Thanks.


Bookmarks

Posting Permissions

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