Closed (won't fix)
Project:
Views Slideshow JCarousel
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2013 at 14:28 UTC
Updated:
14 Oct 2014 at 00:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mwestoncti commentedI wrapped the entire pager initialisation in a window.load function which has fixed my problem.
Comment #2
jomarocas commentedpatch number #1 works for me
Comment #3
fearlsgroove commentedI'm not sure it makes sense to plug this into a window.load event within a behavior. For content loaded via ajax, that won't ever get fired. If anything we might wrap that in window.setTimeout, but that has downsides too.
You might be able to fix this by ensuring that your CSS is assigning the correct width explicitly or earlier to prevent the hacky workaround from being necessary. If someone could link to a live demo of this issue that would be very helpful in getting it fixed.
Comment #4
netw3rker commentedAfter thinking more about this, Fearlsgroove's suggestion is the right way to run with this. CSS is the right way to set the container width of the pager, not jquery. One thing that isn't packaged with the 7.x-1.x line of this module is a set of basic CSS guidelines because it relies on the 'skins' that come with 0.2.9 jcarousel.
If someone could submit/suggest a decent set of css guidelines that work w/in the jquery.cycle plugin's skins (which is also required for the 7.x-1.x line of this module due to views slideshow's dependency on it) I'll accept the patch, but for now, I'm going to mark this as "not going to fix" because the fix is really in your own css implementation right now. Also the 7.x-2.x line comes with better width controls that might be worth looking into.
Thanks for the submission though.