Photobrowser trigger slide change


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


if i understand correctly,
change it to your needs


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();


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?