All these are Okay. But how will it work if there are huge contents in a
div? Example, 100 rows in a DataGrid?
--
View this message in context:
http://www.nabble.com/Cycle%3A-replace-slide-in-running-slideshow--tp25213947s27240p25240553.html
Sent from the jQuery General Discussion mailing
Mike,
Thanks for this. I did find a solution by setting a flag for the first
time through the cycle since there were other things too I wanted to
happen only on the first time through. After the #title element is shown,
I simply replaced its html with a different image and content. A
This seems to work. I gather setting such a global variable is regarded as
bad form, but in such a small application it seemed harmless. Your
solution seems to avoids this.
That's not a global var, its scope is limited to the function passed
to 'ready'. That's a perfectly valid solution you
Is there a way to replace the first slide in a running slideshow such
that it's shown only once??
Here's an example of something similar - might give you some ideas:
http://www.malsup.com/jquery/cycle/title.html
4 matches
Mail list logo