Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
ImageViewer Automatic scrolling
posted

Hi,

I can't seem to find how I can make the images in the imageviewer scroll by, automatically.
I thouht that was possible? Client script maybe?

Friendly greetings,

 

Jurgen

Parents
No Data
Reply
  • 4493
    posted

    You can use the "NavigateNext()" client method to simulate pressing of Next button, thus simulating animation. You can call this method form an:

     document.setInterval('wivObject.naviageNext()', 3000)

    for exmaple. You can adjust the animation duration to make sure that you "click" next, exactly when the scrolling finishes. You could also be more creative by handling client side itemHover event (or something like that) to stop the automatic animation calling, and resume it back when item is unhovered.

    Cheers

Children