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!!!
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!!!
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.
May Be You Can Try Out Different Method Intead of using fade code.
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.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.