Start slideshow via button?

Jun 25, 2012 at 7:06 PM

I want the slideshow to start by clicking a button - start slideshow - so, essentially I need to code attached to the play button.

Jun 25, 2012 at 7:40 PM

in looking through the non-min version I found this line in a prototype object:

this.start_link.click(       

function() {         

context.start();       

}     

);

 

if i add:

document.getElementByID('test').click(       

function() {         

context.start();       

}     

);

... it breaks the slideshow. I'm not sure how to reference a prototype method (if that's what that is) via the dom? anyone? thx.