prettyphoto and nivoslider

Posted by Gabriel Ciprian Magda on Stack Overflow See other posts from Stack Overflow or by Gabriel Ciprian Magda
Published on 2012-10-21T16:58:03Z Indexed on 2012/10/21 17:00 UTC
Read the original article Hit count: 199

Filed under:
|
|
|
|

I have added the nivoslider and prettyphoto lightbox to a page. What I am trying to do: when you click one of the nivoslider images, prettyphoto should load a video. Everything works ok, except that whenever the nivo slider is sliding the images, the video in prettyphoto lightbox is reloading. How can I prevent the video from reloading once the sliding images are changing? I am not a javascript nija but I am guessing it can be done with changepicturecallback: function(){} from prettyphoto...

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about lightbox