Newbie here....
In the menu_data.js, the arrow is listed as subimage="arrow.gif". I would like to keep the arrow with all my other images in the image folder. On my web page I simply list it as src="images/imagename.jpg" and it works. How do I do this same thing in the js source file? Can't seem to figure it out.....Thanks in advance.
C
image tag for arrow.gif doesn't show
The syntax there would be exactly the same as in your HTML...
However, a better way to do this, especially if you site is more than one level deep, is to use server-relative addressing. That way you don't have to resort to ../images or ../../images junk all over the place. Assuming /images/ is at the root level of your site, it would then be...
Now it stays the same regardless of what level the menu is on.
The same thing holds true for the JS menu calls.
Code: Select all
subimage="images/arrow.gif"
Code: Select all
subimage="/images/arrow.gif"
The same thing holds true for the JS menu calls.
John