English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How can i make an image to be loaded random from a set that i already have on internet? im using Dreamweaver 8 and here's an example of what i want: http://www.dandywarhols.com (reload the entrance screen and youll see random pictures appearing)
Best ansewr will get 10 points

2006-10-21 08:54:37 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

ok .. here is two websites that will help u ..
1. http://www.java-scripts.net/javascripts/Random-Image-Script.phtml
2. http://jscode.com/js_random_image.shtml

both r what u r looking for with the code .. but i think the second one is better ..
Good luck

2006-10-21 12:57:18 · answer #1 · answered by KickBoxer 3 · 0 0

Well, you can actually have a look-see and see how he does it. Go to that website and 'view source'. You'll see that he has his CSS formatting at the top, and he has a javascript code there that does the trick!

If you can't figure it out, try one of these:

http://javascript.internet.com/miscellaneous/random-image.html

http://www.java-scripts.net/javascripts/Random-Image-Script.phtml

Or, google "random image javascript" like I just did to find those links above.

Good luck!!

2006-10-21 20:33:19 · answer #2 · answered by DianeD 4 · 0 0

there are HTML and PHP scripts to do this. Look on the net for a random picture code generator...

2006-10-21 16:03:20 · answer #3 · answered by hoarp001 1 · 0 0

try rockyou.com

u can make online albums on that.....and rotating images are due to flash. u can make them thru macromedia flash player. try using rockyou.com first.thats easy. at the end u ll get code for ur album to put on ur site.

2006-10-21 16:22:47 · answer #4 · answered by skyrider 2 · 0 0

fedest.com, questions and answers