I have a number of show/hide images on my site which allows the user to click on various thumbnails to open up the full image using layer based styles.
This code was written for me so that i could use the script dynamically with PHP an alter the number of div layers it needed to generate.
for (x=1; x<=(loopNum); x++) //1 based loop
myImg = "image" + x;
if (x == myShow)
I would be enorumously grateful if someone could help me here to pinpoint the error. Let me know if I have missed out any detail/code