Recent Questions
Q: Is it possible that when a main button on the home page is clicked and the viewer goes to the subpage, that the navbar will expand to the correct subpage submenu? For example, I click on Agent and when the subpage loads the submenu is expanded under Agent.
I've been trying to get the javascript hide menu bar to stay highlightedwhen clicked on and directed to that page. For example when clickedon Agent, then Agent Home, once that page loads the whole javascript hide menu bar for Agent Home stays highlighted in orange. I haven't been successful, any suggestions?
A: Tree Menu doesn't save a presseditem as it saves a tree state. It works within 1 page only and if youreload the page you should set a pressed item using Javascript API.
You can find more info on our website:
http://deluxe-tree.com/highlight-selected-menu-item-sample.html
Q: I tried the following for subitem and it worked but not working with the "Title item" (Group or header item), is there a way to process onclick for the title item? Thanks again.
You're able to use Javascript for each item, for example:
var tmenuitems = [
["item text", "javascript:your_code_here"]
];
A: Unfortunately, title items doesn't allow to use Javascript in the sameway.
But you can do the following:
var tmenuitems = [
["<div onclick='your_code_here'>title text</div>"]
];
Q: I'm trying deluxe-menu, but when I'm making my own menu, I often get error messages.
It will not work. I get these messages when I use individual styles.It is a very nice program, but I think with a few bugs.
A: You have errors in your data file.
["|De Groese Til","", , , , , , "0", , ],
["|De Supermarkt","", , , , , , "0", , ],
In this items you assigned menu styles, but there is no menu style in your parameters. You have only item style.
You should write them so:
["|De Groese Til","", , , , , "0", , , ], ["|De Supermarkt","", , , , , "0", , , ],
Q: Is it possible to dynamically generate new popup window"on the go"?
We want several popups to appear. We have tried to automagically assigna random name, but without success, the show() command kills the commands and just redirects.
A: You can do it in two ways:
1) Call different data files with DIFFERENT winID:"window1"!
2) Call only one data file and use deluxePopupWindow.open() function to open your windows:
<a href="javascript:;" onclick="deluxePopupWindow.open('window1', 'Content1 Content1', 'Window1','width=220,height=100,resizable,scrollbars=no,middle,right,fade-effect','windowsvista_graphite')">
Click Here to see a chase1 sample
</a>
See more info:
http://deluxepopupwindow.com/window-installation-info.html
http://deluxepopupwindow.com/samples.html