Results 1 to 2 of 2

Thread: Image Map Script

  1. #1
    Join Date
    Apr 2006
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Map Script

    I need a script- or an idea on how to do something like this.

    I have a picture, a country map (of USA, let's say)... and I want all the major states DOTED so they can be more visible.
    The thing I want is... when my mouse is over that DOT - a tooltip should appear with some info about that state (i should be able to enter the info txt - max 10 words).

    Does anyone have any ideas or... can anyone point me to some examples, or... can anyone help me!?

    Thx

  2. #2
    Join Date
    Feb 2007
    Posts
    293
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You can use the tooltip script here:

    http://www.dynamicdrive.com/dynamici...tmltooltip.htm

    To use it with an imagemap, just add the mouseover/mouseout info to your map:

    <AREA SHAPE="RECT" COORDS="10, 10, 135, 138"
    onMouseover="ddrivetip('JavaScriptKit.com JavaScript tutorials','yellow', 300)";
    onMouseout="hideddrivetip()">

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
  •