Photobrowser trigger slide change


#1

How could i go about triggering the slide to change in the photobrowser with a javascript event?


#2

if i understand correctly,
jsfiddle
change it to your needs


#3

I am not sure why, but in my case this method dosen’t work for me in my app though i see it working in your pen. Triggering the click does nothing. It would be better if i could rather call up the method that $$(’.photo-browser-next’).click() is using to advance the slide. something like myPhotoBrowserPopup.nextSlide();


#4

yes i dont like the $$(’.photo-browser-next’).click() solution. but i dont think photobrowser has a nextSlide() method.

maybe @nolimits4web can suggest a better solution?