View Full Version : gAjax, Pause and Play button

03-20-2009, 11:03 PM
1) Script Title: :: gAjax RSS Pausing Scroller (hosted)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxpausescroller.htm

3) Describe problem: I'd like to add a pause and a play button to the script. I still consider myself a javascript newbie. I have succesfully build an online feed aggregator using PHP, users can sign up and add/delete and sort the feeds in different folders etc. I looked into the javascript, especially at the "_rotatemessage()" function and "this.mouseoverBol=0" part. I tried to add a button at the bottom of the page to stop it from rotating but I'm stuck. I tried to overrule the "this.mouseoverBol=0" to 1 but then off course as soon as I mouseout it starts running again. Is there any easy way to implement 2 buttons to pause and play the script?