javascript - Calling images in another directory -


i'm not sure fancy jargon stuff im sorry if dont use right terminology.

im working script images located in subdirectory html located.

this snippet of code:

eval("document.hm.src=\"hm" + wrong_guesses + ".gif\""); 

in world of html image path like: games/word/hm01.gif

how modify line of javascript reflect images in subdirectory? i'm lost , i'm sure it's simple i'm not programmer, lightly tweak stuff :\

it : eval("document.hm.src=\"games/word/hm" + wrong_guesses + ".gif\"");.

hope helps.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -