Can I set pointer that tells path to all hierarchical menu files?
Return to Recent Questions
Q:
I use menu with color graphic buttons, I believe the
color buttons locate in @BOOK1\@Test_BOOK1.files.
At this directory level(please look in Book1.zip),
the display is OK,
However, if I click on "06)
Introduction.to.Small-Signal.Amplifiers\<<
Introduction >>>(06_IT.htm)" to move to the next level,
the color buttons will not display properly.
Can I set pointer that tells file 06_IT.htm that I
have "@Test_BOOK1.files" in "@BOOK1" folder?
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.
Return to Recent Questions
|