Menu
Right…here’s the thing. I want to populate an array with id’s belonging to the images here, and then manipulate them using the array, I know it’s possible, but how do I do it? This is the furthest I’ve come so far….please help
imarr=new Array;
for (i=1; i<=5; i=i+1)
{ imarr[i]= ‘imvar’ + i };
imgindex = 2
imarr[imgindex].width= 200
<IMG ID=imvar1 SRC=”katt.jpg”>
<IMG ID=imvar2 SRC=”katt.jpg”>
<IMG ID=imvar3 SRC=”katt.jpg”>
<IMG ID=imvar4 SRC=”katt.jpg”>
<IMG ID=imvar5 SRC=”katt.jpg”>
I think you get the general idea of what i wanna do here…but where does it go wrong?