gcraparotta
05-07-2009, 12:02 AM
Hi, thanks in advance for reading this.
Please visit:
http://www.cooltester.com/play-pause/siciliano.html
As you can see, there's a jquery-based photogallery in there.
It all works ok but the "play" button. I want it to switch to a "pause" button and again to the "play" button at any click. Basically I want the very conventional behaviour for web photogalleries and stuff like that.
How can that be achieved? Very grateful for any solution. Shall I intervene on the JS code contained in the HTML page? Or in the attached JS file named simplegallery.js ? Of course the "pause" button image is contained in the image folder and it is named "pause.gif" .
Thank you and may I ask you to specify CLEARLY code spots I should intervene on.
Cheers,
G
Please visit:
http://www.cooltester.com/play-pause/siciliano.html
As you can see, there's a jquery-based photogallery in there.
It all works ok but the "play" button. I want it to switch to a "pause" button and again to the "play" button at any click. Basically I want the very conventional behaviour for web photogalleries and stuff like that.
How can that be achieved? Very grateful for any solution. Shall I intervene on the JS code contained in the HTML page? Or in the attached JS file named simplegallery.js ? Of course the "pause" button image is contained in the image folder and it is named "pause.gif" .
Thank you and may I ask you to specify CLEARLY code spots I should intervene on.
Cheers,
G