bslevin Posted September 6, 2008 Share Posted September 6, 2008 Hello i have very little knowledge of php, but strong knowledge of HTML. I was searching all over the net trying to find a script to do the following and have had no luck at all, so i am hoping someone can help me. I have a web page, in the top left corner i have a section that i want to rotate an image in, i have about 30 images ina a directory and want them to simply randomly rotate every 5 sec or so. the problem is all i could find are scripts that rotate on page refresh. Any ideas? Thanks in advance Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted September 6, 2008 Share Posted September 6, 2008 i'd either use an animated gif, or use javascript to switch the image SRC every X seconds. google is your friend: http://www.google.com/search?client=safari&rls=en-us&q=javascript+rotate+image&ie=UTF-8&oe=UTF-8 http://www.dyn-web.com/code/rotate_images/ Quote Link to comment Share on other sites More sharing options...
bslevin Posted September 6, 2008 Author Share Posted September 6, 2008 Thanks for your help... An animated gif would be too large for all the images plus i will be adding images all the time. http://www.dyn-web.com/code/rotate_images/ - i had already tried that but it is simply a rotaion after a page refresh, that was the problem i had with using google most of the links were all for refresh rotation and the ones that were not , were scripts to buy that had way too many things i did not need. This page had everything i was looking for except for the fact it rotated on page refresh. I was just wondering if there was a simple way to do this without buying some crazy script. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted September 6, 2008 Share Posted September 6, 2008 http://javascript.internet.com/miscellaneous/random-image-rotator.html Quote Link to comment Share on other sites More sharing options...
dropfaith Posted September 6, 2008 Share Posted September 6, 2008 id use flash and a xml playlist. http://www.jeroenwijering.com/ then honestly id upload the images and keep the location in mysql so i could auto generate the list i just finished this same project a second ago so i can post some codes if you want Quote Link to comment Share on other sites More sharing options...
dropfaith Posted September 6, 2008 Share Posted September 6, 2008 http://www.phpfreaks.com/forums/index.php/topic,215397.0.html that post actually has all my code from earlier today the error i had was i was linking the swf and the playlist from 2 sites Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.