Posts: 4
	Threads: 1
	Joined: May 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 : )
	
	
	
	
	
 
 
	
	
	
		
	Posts: 1,489
	Threads: 47
	Joined: May 2002
	
	
 
	
	
		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>).
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 2,243
	Threads: 124
	Joined: Jul 2019
	
	
 
	
	
		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..
	
	
	
	
	
 
 
	
	
	
		
	Posts: 389
	Threads: 12
	Joined: Apr 2004
	
	
 
	
	
		if you gonna screw with javascript know some VB cause Java is a pain for those with no experience in coding computer progs.