SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    May 2008
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    paginating php data with slider

    Hi guys
    I am trying to use a slider to paginate my php data, something similar to how is done here; http://www.shopstyle.co.uk/browse/necklaces#0_0

    How can I go about this as i have no idea the best way.

    Thanks
    P

  2. #2
    SitePoint Evangelist
    Join Date
    Jun 2010
    Posts
    455
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    As I understand your qiestion, a "slider" appears automatically when the page won't fit into the browser's screen.

  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by parkerproject View Post
    I am trying to use a slider to paginate my php data, something similar to how is done here; http://www.shopstyle.co.uk/browse/necklaces#0_0
    If you're already using jQuery, you can use the slider plugin.
    You can set min/max to the number of pages that you have to handle, and attach an event on to the slide event.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  4. #4
    SitePoint Evangelist
    Join Date
    Jun 2010
    Posts
    455
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sorry, I missed "that" slider when went to your link. I wasn't looking for it either. I've never seen that before.


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
  •