Import Anime Forums
Random image HTML or script? - Printable Version

+- Import Anime Forums (https://import-anime.com/forums)
+-- Forum: Anime/HK DVD Discussion (https://import-anime.com/forums/forum-3.html)
+--- Forum: General Babble (https://import-anime.com/forums/forum-8.html)
+--- Thread: Random image HTML or script? (/thread-3197.html)



Random image HTML or script? - Mailorder - 05-25-2004

How does import-anime.com's main page load a random image on the top left? Soldats.net used to have something like that, and I was first curious when they did. Is it possible to make a signature image do that? I won't do it in this forum, but you can bet I'll make my many sigs cycle through other forums : )


Random image HTML or script? - kakomu - 05-25-2004

Quote:Originally posted by Mailorder
How does import-anime.com's main page load a random image on the top left? Soldats.net used to have something like that, and I was first curious when they did. Is it possible to make a signature image do that? I won't do it in this forum, but you can bet I'll make my many sigs cycle through other forums : )


most likely javascript. Doing a quick google seach for "javascript random image" produced this link:

http://www.javascript-page.com/ranimage.html

which is most likely everything you'd need to learn. As for sigs, most of these boards don't allow you to use Jscript in them and only let you use certain HTML commands (which usually aren't HTML at all, but rather, special commands that are then transcoded into HTML, ie [img] rather than <img>).


Random image HTML or script? - Schultz - 05-27-2004

Actually i don't use any javascript or anything to do the random image.. I have a set of default numbers that i can go through and when the page is "rendered" on the server i get a random # and i just place that number in the image name to get one fo the images..


Random image HTML or script? - tsunami - 05-27-2004

if you gonna screw with javascript know some VB cause Java is a pain for those with no experience in coding computer progs.