Skip to main content
6 events
when toggle format what by license comment
Jan 14, 2014 at 21:18 comment added jedifunk That did it... now I've just got to understand the JS enough to iterate for each slider.
Jan 14, 2014 at 21:17 vote accept jedifunk
Jan 14, 2014 at 17:54 comment added Milo I imagine it's because you're still just setting a single var, which also needs to be an array. See the edit above for a simplified version. Keep all of the data specific to each slider within the function that outputs it, then pass that array to localization. You'll also need to modify your javascript to then iterate over the javascript settings array to create each instance of the slider.
Jan 14, 2014 at 17:52 history edited Milo CC BY-SA 3.0
added 547 characters in body
Jan 14, 2014 at 17:20 comment added jedifunk Milo - Thanks, this helps for sure. However, now if I have 2 slideshows on the same page it only pulls the data for the last loaded slideshow. I've been messing with loops to try to get it to output both slideshows data, but don't seem to be getting it right. Concurrently, putting the data into an array of arrays breaks the localization, so the JS isn't getting the settings the way it suspects now.
Jan 14, 2014 at 16:13 history answered Milo CC BY-SA 3.0