SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Wizard
    Join Date
    Mar 2008
    Location
    United Kingdom
    Posts
    1,285
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Target Images directly in jQuery Slideshow

    Hi,

    I love the way this script works: http://demo.marcofolio.net/bgimg_slideshow/

    However, I was wondering, is there a way to to target each image in the slideshow directly?

    So, I could click a link that says 'Image 3' and it would load a certain image up.

    Can anyone help me with this?


    Many thanks!!

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,678
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Yes, it is possible. A breakdown of the code is at http://www.marcofolio.net/webdesign/...slideshow.html
    And a modification of the navigate function seems to be all that might be needed.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Wizard
    Join Date
    Mar 2008
    Location
    United Kingdom
    Posts
    1,285
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Many thanks, Paul. That was really useful.

    I've now managed to get it to this stage: http://jsfiddle.net/Qu3NK/4/

    Just working on removing the integers and having the text remain



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
  •