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\<
>>(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.
Q: I have bought this from you. What is the name of the divlayer(s)? Here's a bit of the modified menu code:
["|<iframe height=400 width=435 frameborder=0 scrolling=no src=my_bookmarks.asp></iframe>","","","","0",,,],
I open an Iframe inside the javascript menu design item, and it works fine, but is there a way to close it? I know the commands for hide layers, but I can't find any div layer names to use.
A: I'm not sure I understand you.
Do you want to hide your items?
You can try to use API functions
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
Find more info here:
http://deluxe-menu.com/functions-info.html
Q: I have not seen anything that can help me in the question list and
I would like to ask how to have a php tree view closed by default.
A: You should delete "+" signs in the top items and set the followingparameter:
var texpanded=0;
Q: How can I set the padding for the dhtml horizontal menu text at the top? I want more padding on the left of the text but I don't want it centered.
A: You can set bigger left padding for your Submenu Style, for example:
var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 25px"],
];
itemPadding=0px 5px 0px 25px
top right bottom left