SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: jquery

  1. #1
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    jquery

    hi,

    i want to highlight the particular area in map using jquery on button click
    but i cant to get the area id in map.
    i need script to highlight the particular area in map when the button click.


    some one help me..
    i am new to jquery..


    thanks in advance

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,702
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by kavi.sirius View Post
    i want to highlight the particular area in map using jquery on button click
    but i cant to get the area id in map.
    i need script to highlight the particular area in map when the button click.
    Is this a map area such as is described on this How to Make an Image Map page?
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey
    i create the map with area
    i need to take the particular area id to highlight the area

    example,

    <map>
    <area id="1" .....>
    <area id="2" ....>
    </map>

    here i need to get that id and highlight the particular area only


    thanks in advance.....

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,702
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Here's a jQuery map highlight, which also shows it being used in some demos, such as of a map of the world.
    You can download it from http://davidlynch.org/projects/maphilight/
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i already saw this site but its not working

    pls send some other site for highlight the area

    thanks in advance.....

  6. #6
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,702
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by kavi.sirius View Post
    i already saw this site but its not working

    pls send some other site for highlight the area
    What is it about the demos on that site that doesn't work for you?
    If it is not the demos giving trouble but instead you own code based on them, it is not the sit having trouble, it is not their code that is having trouble, it is you having trouble instead, which is something that we can attempt to help you with.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •