SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Apr 2003
    Location
    canada
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    jquery slider issue

    Hi quick question,

    I'm looking to implement 2 different sliders on a page. the test page is http://www.rockyformayor.com/index2.php Now the main picture besides the passion leadership is jquery and does not move on this page however on every other page where that is the only slider it works.

    Now on this index2.php page you can see i put a slider in for a scrolling banner underneath the main banner and it works fine.

    Is there a way that I can have the 2 work hand in hand

    Thanks
    Your Websites Your Way!!
    www.clhdesigns.com

  2. #2
    SitePoint Enthusiast
    Join Date
    Apr 2009
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The way your slideShow function works only caters for a hardcoded slideshow element...It would be best to refactor it so that the function accepts an element to initiate as a slideshow object.

    e.g. -

    slideShow($(".slowShowEle"));

    then loop through each element in the collection


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
  •