SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Grid selector. ideas?

    I've attached a grid that I want to build. I want to be able to select each tiny block, and submit the selected results to the server via POST/jQuery.

    I want to be able to click each mini block individually, or click the yellow circle and it selects all 16 mini blocks around it, or click a blue circle and it selects the 4 mini blocks around it.

    Any ideas on how to go about building this?
    Attached Images Attached Images

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,713
    Mentioned
    102 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by biglittle View Post
    I've attached a grid that I want to build. I want to be able to select each tiny block, and submit the selected results to the server via POST/jQuery.
    I would send the x/y coords of where is clicked on the image, so that the server can handle mapping that to whichever section was clicked on.
    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
  •