Click here to Skip to main content
15,905,420 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a admin panel in my asp.net web site

so there is a intro intro has 6 images

<script type="text/javascript">
	var aImages = new Array();
	var aURL = new Array();
	var aArtists = new Array();
	var iPrev = -1;
	var iRnd = -1;
	
	aImages[0] = "../images/1.jpg";
	aImages[1] = "../images/2.jpg";
	aImages[2] = "../images/3.jpg";
	aImages[3] = "../images/4.jpg";
	aImages[4] = "../images/5.jpg";
	aImages[5] = "../images/6.jpg";


this is script code how to interfere dynamically
how to put this kind of line aImages[0] = "../images/1.jpg"; in javascript code dynamically

thanks alot
Posted
Updated 17-Apr-12 20:04pm
v2
Comments
Rahul Rajat Singh 18-Apr-12 3:47am    
what do you mean by interfere. do you want to loop through all images or you want to show random image on the page.
Member-2338430 18-Apr-12 5:54am    
yes ı want to do loopp

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900