I'm having a problem displaying a little white icon arrow on my dhtml foldout menu.
Return to Recent Questions
Q:
I'm having a problem displaying a little white icon arrow on my dhtml foldout menu. I us
Adobe Dreamweaver to build my site. When previewing, I found that adding .
/.. to the .js file works good and it displays the arrows. But when I Put
the menu on the internet it goes back to displaying a blank box like it can
t find it again. My menu is in my site's root directory, and I would like
to control all my site's pages with it. I am going to have a basic
template for the whole site with the dhtml foldout menu on it and I am to building all the
pages from that.
If I don't change the link to ../../ the only pages that will work is the
one that is in the same directory as my menu files.
A:
Try to use absolute paths to your images on the website. Your menu will work correctly in
all cases in that case.
var pathPrefix_img="http://www.domain.org/Fundraising/Scrip/";
var arrowImageMain=["data.files/arrv_white_1.gif",""];
var arrowImageSub=["data.files/arr_white_1.gif",""];
or
var pathPrefix_img="";
var arrowImageMain=["http://www.domain.org/Fundraising/Scrip/data.files/arrv_white_1.gif",""];
var arrowImageSub=["http://www.domain.org/Fundraising/Scrip/data.files/arr_white_1.gif",""];
Return to Recent Questions
Related:
- Sep 25, 2006 - My menu icons are not appearing in the preview, or when I launch deluxe-menu.html
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Oct 15, 2006 - There's some problems when we use two javascript horizontal menus.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 03, 2006 - I want to use a Flash icon with sound next to the menu items in javascript list menu...
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 12, 2006 - Where in the java menu creator would I inseart the icons for individual item labels
- Nov 14, 2006 - Can dhtml menu script work with tables ?
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
- Dec 03, 2006 - We have several problems with your javascript side menu. Please, help!
|