Hi
Element field uses jQuery selector syntax. What element exactly you want to use for triggering?
Thread Starter
Brance
(@brance)
I wanted to trigger it with the last widget (#archives-2) in my sidebar, so it would come up after you had scrolled past the majority of the sidebar. But I get nothing.
When I set it to “Scroll and/or Time delay” and set it to 20% it more or less works, but it depends on the length of the page, so it comes up in a different place on the home page than it does on a single post page.
Ideally, it would come up at the end of the sidebar on any page, which is why “Scroll to Element” would be preferable…
Thanks.
With element triggering is important to know that it triggers if element starts to show.
So if you want to trigger scrollbox AFTER some element, e.g. when element is fully visible, then you must set triggering instead to the element what comes next. In some cases it might require adding special element to the theme for that (like <div class=”my_scroll_triggering_element”></div>).
Scrollbox plugin measures page length, screen size and positions of elements in screen once after page html and scripts are initially loaded. If something changes the page layout after that, (mostly like advertisements, special animations or effects what are also loaded dynamically after page load, sometimes also images for what width and height parameters are not set) this initial % might change a bit.
I guess this got solved with that.