Syntax for variables in html directory path -


i have page loads of repetitive directory paths images, , of images need replace new files (that same file name, in different directory) when duplicating page. rather updating folder name in each directory i'd replace variable , change variable once when duplicating pages.

i've tried bunch of different combinations (like below) can't find works, , google efforts unsuccessful.

var shirtloc='shirts/foldernamethatwouldbeupdated/'  <img src="'shirtloc'+title.gif" width="952" height="119"> 

html not programming language markup language , such not provide variables or other programming tools. serverside scripting comes in, php, asp.net , jsp common examples.

technically, javascript should not attempt that, comes myriad of problems , possible future issues not want deal with.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -