PDA

View Full Version : Featured Content Glider - jquery version causing slideshow issues?



Tryangle
07-20-2009, 05:39 PM
1) Script Title: Featured Content Glider

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm

Issue: Slideshow (automatic) stops after just two content changes

This only appears to work as intended if the version of jQuery is 1.2.6 or previous; 1.3 and later cause the content to go through two content changes and then stop completely. I can manually traverse the entire list in each direction as normal via the pagination links, just wondering if there's something that the later version of jQuery does that causes the above-mentioned side-effect, and if there's a workaround to maintain the current functionality.

ddadmin
07-20-2009, 10:36 PM
Ah yes, this is due to changes in jQuery 1.3.x with regards to events bubbling. Try finding the below line inside the .js file:


config.$next.click()

and change that to:


config.$next.triggerHandler('click')

I'll be updating the .js file officially for this soon.

Tryangle
07-21-2009, 02:39 PM
Works brilliantly after modification made to the JS file.
Many thanks, much appreciated.