forums
You are not logged in.
I have created a /faq subdirectory and placed my FAQ pages there. When I navigate to one of the FAQ pages (that contains the pull down menus) , the little image that parks the pull down sub-menu, becomes a little cross. Obviously the system cannot find the path to the menu image.
The smartmenu images reside in a subdirectory called menuimages. The setup is this:
c_imagesPath="images/menuimages/"; // path to the directory containing the menu images
Everything else works fine.
Now how do I fix this little thing?
Offline
You will just need to use absolute path. For example, if your menu images are placed in the "/images/menuimages/" sub directory (from the root directory on your server), then you just need to add a forward slash prefix when setting the "c_imagesPath" variable - e.g.:
c_imagesPath="/images/menuimages/";
The above is actually equivalent to this:
c_imagesPath="http://YOUR_SERVER/images/menuimages/";
Because when you use relative path - e.g.:
c_imagesPath="images/menuimages/";
and you are loading a page from the "/faq" subdirectory the browsers will look for the images in the "/faq/images/menuimages/" directory.
Offline
FYI, I was having the same issue. Read through the various replies. Had to ultimately use the entire absolute path on the server to work correctly. "http://www.xxxx.com/xxxx/xxxx/images/" Just using a slash in front "/images/" did not work. Maybe it's a server configuration issue?
Offline
rmochinski wrote:
FYI, I was having the same issue. Read through the various replies. Had to ultimately use the entire absolute path on the server to work correctly. "http://www.xxxx.com/xxxx/xxxx/images/" Just using a slash in front "/images/" did not work. Maybe it's a server configuration issue?
In your case, it should be "/xxxx/xxxx/images/" not just "/images/". Because when you use a forward slash prefix "/images/" means:
http://www.xxxx.com/images/
which is different from the real path.
Offline
Looks like you have to use absolute path. I used to have the same issues on my site.
Offline