OMG.
i really just wanted to make a pause button appear when it's playing and a play button appear when it's paused...
this thing is soooooooooo close!
HTML Code:
pcontent+='<span id="p'+sliderid+'" style="font-weight:bold;" onclick="if(this.innerHTML==\'Pause\'){clearTimeout(window.'+sliderid+'timer);this.innerHTML=\'Play\'}else {ContentSlider.autoturnpage(\''+sliderid+'\', 3000);this.innerHTML=\'Pause\'}"">'+(slidernodes[sliderid].autorun? 'Pause' : 'Auto')+'</span>'
i can't just replace "play" with
HTML Code:
<img src=images/play.gif>
and "Pause" with
HTML Code:
<img src=images/pause.gif>
Bookmarks