On everypage that is in the root directory the javascript for menu loads fine, but if the page is up a directory the main images for the menu don't display.
Return to Recent Questions
Q:
I'm using the deluxe-menu software on a asp.net 2.0 site that
utilizes master-pages. On everypage that is in the root directory
the javascript for menu loads fine, but if the page is up a
directory the main images for the menu don't display.
Have you had any customers with this same problem? If so any help
you could offer would be appreciated, thanks!
A:
Try to use absolute paths, for example:
<script type="text/javascript">var dmWorkPath = "https://www.watchguardsales.com/menu.files/";</script>
<script type="text/javascript" src="https://www.watchguardsales.com/menu.files/dmenu.js"></script>
<script type="text/javascript" src="https://www.watchguardsales.com/menu.js"></script>
and in your data file set:
var pathPrefix_img="https://www.watchguardsales.com/images/";
var pathPrefix_link="https://www.watchguardsales.com/";
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
|