SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    May 2004
    Location
    uk
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Facebook deals.woot style image select.

    When posting links on facebook or deals.woot they grab the images on the page (which I'm fine with doing) and the put in scrolling selector box where the user can select the best image before submitting the form.

    I've been looking for a tutorial on how to do this with no luck for ages.

    Does anyone know of one of give me pointers on how it's done?

    Thanks

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    AJAX to grab the images you found, a div with fixed height/width and overflow:auto to show them in

  3. #3
    SitePoint Zealot
    Join Date
    May 2004
    Location
    uk
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Dan,

    Thanks for that, but it doesn't seem to be what I'm after, or I just can't work out how to make the image that's current showing be selected in a form. I'm decided just to let people submit an image link instead.

    Thanks again,

    doolally

  4. #4
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    The same JavaScript that changes which image is showing updates a hidden field in the form identifying the chosen image.

  5. #5
    SitePoint Zealot
    Join Date
    May 2004
    Location
    uk
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, great Dan, thanks.


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
  •