esk1mox
09-21-2007, 03:20 PM
Hello,
I am trying to have a dynamic list of images using ASP inside the swiss army code. I tried this but slides3[] is not taking the values of variable i.
ANY HINT?? THANKS...
<script language="Javascript">
<!--
<% for i = 0 to 2 %>
slides3[<%= i %>] = ["images/jordan2_s.jpg", "", "/images/jordan2.jpg"];
<% next %>
//-->
</script>
http://www.dynamicdrive.com/dynamicindex14/swissarmy/index.htm
I am trying to have a dynamic list of images using ASP inside the swiss army code. I tried this but slides3[] is not taking the values of variable i.
ANY HINT?? THANKS...
<script language="Javascript">
<!--
<% for i = 0 to 2 %>
slides3[<%= i %>] = ["images/jordan2_s.jpg", "", "/images/jordan2.jpg"];
<% next %>
//-->
</script>
http://www.dynamicdrive.com/dynamicindex14/swissarmy/index.htm