How can I make paths in my menu css horizontal absolute?
Return to Recent Questions
Q:
How I can make paths for images and links in menu css horizontal absolute?
A:
You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters in your DHTML MENU.
Return to Recent Questions
Related:
- March 27, 2009 - I can't validate my pages with W3C or WDG validators using menu css horizontal...
- Apr 12, 2009 - For some reason my item separator image won't show in menu css horizontal...
- Apr 30, 2009 - For some reason all of the menu css horizontal items are squished together...
- May 17, 2009 - What is the correct method of referencing the webroot in the menu css horizontal?
- Jun 04, 2009 - I've tried to change the width of the images within the menu css horizontal...
- Jun 21, 2009 - Is there a way I can include menu css horizontal code parameters in a separate file?
- Jul 09, 2009 - Is there a way to use the menu css horizontal without generating the warning?
- Jul 25, 2009 - Some page visitors couldn't see the menu css horizontal.
- Aug 12, 2009 - Do I have to use any additional loaded software using the menu css horizontal?
- Aug 29, 2009 - It seems to me that this menu css horizontal supports IE (on the PC and Mac) only.
- Sep 15, 2009 - Is it possible to keep the main menu css horizontal highlighted corresponding to the page you are in?
|