Results 1 to 2 of 2

Thread: Click locations in an image on full screen

  1. #1

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    Click locations in an image on full screen

    Hi.
    I have an image that I need to have specific areas, when clicked, to navigate to a different url.
    Is that possible?
    I remember, a long time ago, we had a project that would click to map locations but the project was canceled so I did not implement anything.
    I have found this tool http://imagemap-generator.dariodomi.de/ that do the work.
    Now my problem is, I need to have the HTML resize, according to every device it is opened and maintain the coordinates.
    So if I open it from a mobile, i need to resize to that phone , if I open it from a PC to resize to that etc.
    How would I go and maintain the coordinates?

    Thanks.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  2. #2
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    11,711

    Re: Click locations in an image on full screen

    You can implement the area tag, then use JavaScript to update the coordinates.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | Code Tags | Sword of Fury - Jameram

Posting Permissions

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



Click Here to Expand Forum to Full Width