iwgalloway
Programmer
Hi - I'm VERY new to Javascript and I'm editing a script used in my site...
The script sets a lot of variables as follows
etc etc etc
I want to have the
bit of the string defined by another variable, so that I only have to change one variable to update the page.
How would I define this variable and use it within the other variables' paths?
Thanks
The script sets a lot of variables as follows
Code:
var imagepath="0_galleries/05_12_15/Thumbs/"
var targetlinkdir="0_galleries/05_12_15/Full/"
I want to have the
Code:
05_12_15
How would I define this variable and use it within the other variables' paths?
Thanks