Recent Questions
Q: Can I ask a technical question? I am using the menu in a frameset, and I would like for the drop down menu selected branch to sty highlighted after the user moves the mouse to another window (where the menu brings up a new page), just so the user knows where he/she is. Is that possible?
A: But if you open links in the another frame (window) the initial frame with your menu isnot reloaded, so the clicked item will be highlighted.
You should set the following parameters:
var ttoggleMode=1;
var tpressedFontColor="#AAAAAA";
You can also set the following parameter to save menu state:
var tsaveState=1;
var tsavePrefix="menu1";
If you install the menu without frames. On your pages you should call the following function/functions to expand/highlight items, for example:
<script>
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));
</script>
See more info about API functions here:
http://www.deluxe-tree.com/functions-info.html
Example:
http://deluxe-tree.com/highlight-selected-menu-item-sample.htmlQ: Our default directory for the files is menudir
How do we get the software to recognize this default directory when generating the script and support files. The default needs to be added for the icon files etc.
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 need to know if it is possible to call a JavaScript function from the cool dhtml menu.
I have read the FAQ and noted where it lists that you can perform an alert call, and that worked on my end as well, but when Iattempted to call a function I created I could not get it torespond.
Is it possible to call a function from your menu?
Could Iget an example?
A: You can write your own functions within menuItems, for example:
["|Real-Time Data Query","javascript:window.open('http://www.domain.org/','_blank','height=758,width=1024,status=yes,toolbar=no,menubar=no,location=no');"
,,,'Query real time water quality data' ,'' , '', '', ,],
Q: Is the Deluxe Tuner application compatible with Deluxe Popup Window?
I haven't been able to use the Deluxe Tuner to create any content through Deluxe Popup Window based on the instructions on the Deluxe Popup Window website.
I feel like I'm missing instructions somewhere.
A: There are 3 types of window content in popup window:Iframe(url); Object_id; text(html content).
You can set the type of the content in the Deluxe tuner (winContent parameter).
Change popup window parameters, use templates.
Then export your project to HTML "File -> Export - > To HTML".
Open the generated data file with all popup window parameters in any text editor and make changes to your content.
For example:
content:"<div style=\"text-align:center;\"><b>Sample content</b></div>This is a simpleHTML code for content. Here you may also set link to content page or ID of some element.",
If you'll have further questions - write us, we'll try to help you. You can also write us what content you want to add inside the popup window and we'll help you to create such popup.