I was looking for the way to code a link to cause a specific Carousel Pane to load when the page loads (ie page.php?pane02,) and saw a note to the effect that that doesn’t work with Carousel 2. Is that something that’s still in the works?
If you just make a URL to that page that includes the ID of the pane you want to have appear initially, it will load automatically – no JavaScript needed.
http://example.com/page.html#pane3
But depending on the location of your carousel, and the browser’s screen height, the page may “anchor down” to the top of the carousel element, and I don’t know any way to defeat that. You could try adding this line of script to the page, using Protaculous 2.
window.scrollTo(0,0);
All that does is snap the window to top-left, which might override the native browser behavior of scrolling to the item you identify with the URL hash.
Walter
On Mar 6, 2014, at 9:12 PM, David wrote:
Walt,
I was looking for the way to code a link to cause a specific Carousel Pane to load when the page loads (ie page.php?pane02,) and saw a note to the effect that that doesn’t work with Carousel 2. Is that something that’s still in the works?