SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2000
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello there - how's it going?

    I'm trying to get an image map to interact with checkboxes. I'm using javascript, php, and html.

    I currently have one page that contains an image map, seggregated into postcodes. When a user clicks on the postcode, I'd like it to check a check box on a seperate page.

    I'd like the user to beable to click as many postcodes as he or she likes on the image map, and when the page is closed (or a button is pressed), the users will see the postcodes they selected in the form of ticked check boxes.

    I've been trying to work out how to achieve this, and bcs it's client side I've chosen Javascript. But, I can't find any literature on this topic.

    Can anybody help me please, I really would be most grateful.

    Thankyou very much, if you can,

    Regards,

    Jason

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    IF you want to be completely client side you would have to right the information to a cookie or pass it in a query string. Then on the page with the checkboxes you would have a routing that reads the query string or cookie to pre-fill all the checkboxes as needed.

    ------------------
    Wayne Luke - Sitepoint Moderator/Internet Media Developer
    Digital Magician Studios - Making Magic with Web Applications
    wluke@digitalmagician.com


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
  •