[jQuery] Re: Replacing the contents of a div that uses newsticker plug-in

2007-04-28 Thread djl
Thanks for your replies on this. I only just got around to trying out the suggestions to use jquery to update the div contents. Unfortunately, they don't seem to work and produce the same result as my initial code? There must be a way to do this. Any advice most appreciated. Thanks. On 27

[jQuery] Re: Replacing the contents of a div that uses newsticker plug-in

2007-04-28 Thread Sean Catchpole
Looking at the code for newticker, you might/should be able to just recall $(ul).newsticker() and it should reset the ul. If for some reason it doesn't work, then this might be the change that the plugin needs: stopTicker = function(el) { if(el.tickfn) clearInterval(el.tickfn); } ~Sean

[jQuery] Re: Replacing the contents of a div that uses newsticker plug-in

2007-04-27 Thread Sam Collett
On Apr 27, 3:57 pm, Fabyo Guimaraes [EMAIL PROTECTED] wrote: Use jquery = ) $(document).ready(function() { $(#news).newsTicker();} ); function showdiv() { $(#news).css(display, block); } function hidediv() { $(#news).css(display, none); } function replacecontents() {