0

I wrote a slider that fades... but how do i get it to display randomly... but still fades :)

Thanks

Will post my code if needed!!!

4
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by lps
0

Maybe by having a standard naming/numbering system on the pics (image1.jpg, image2.jpg,etc.) and then using a random function to pick the number (1-10), append that number to the name of the pic and show that one.

0

By refering JorgeM's way, I suggest changing the first part to use jquery.each() add class for each of the image example: img1, img2 and then follow the intructions of JorgeM to get it done.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.