Recent Questions Treeview StylesQ: I would like to know does deluxe menu support Unicode characters? I have enter some Chinese texts through deluxe tuner and I can preview those Chinese text in deluxe tuner preview panel. I have chose "use utf8 encode"already. However after I saved the .js file, the js file encode become ANSI and those Chinese texts in the js file become ?????. Can deluxe tuner autosave the file to UTF8 encode?
A: Please, check that you've set "Tools/Use utf8 encode".
When you save your data file in UTF8 you should use the same encoding on our html page.
So you should write:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
If you don't want to use UTF-8 encode on your page you should turn off"Tools/Use utf8 encode" property, save your data file and manuallychange your letters in any text editor.
Q: Hi I have been using the trial version with deluxe tuner. The only problem I have had is that I cannot work out how to change the background colour of the menu (how it appears on the page as a menu bar when none of the dropdowns are activated) any help would be appreciated as I am considering purchasing your product but if I cannot change the colour then I am only limited to the sample templates you have supplied
A: Please, see the following parameters:
Q: I see that you have the demo of the menu working over a frame so that it displays over the lower frame, vertical top to bottom.
However I have played around with your demo and can't seem to replicate the same feature.
Could you please tell me what I have to set to make the easy dropdown menu float over the lower framed window?
A: To initialize the cross frame menu call dm_initFrame() function instead of standard dm_init() function within data.js file:
dm_initFrame(framesetID, mainFrameInd, subFrameInd, orientation);
framesetID - id attribute of the frameset;
mainFrameInd - index of the main frame (where the top-menu is placed), >=0;
subFrameInd - index of the subframe (where the submenus will be shown), >=0;
orientation - frame orientaion: 0 - top-to-bottom, 1 - left-to-right; 2 - bottom-to-top; 3 - right-to-left.
For example, for the following structure:
<frameset id="frmSet" rows="185,*">
<frame id="frame1" src="cross-frame-horizontal-1.htm">
<frame id="frame2" name="testlink.htm" scrolling="no">
the dm_initFrame() function call at the end of data.js file will look like:
dm_initFrame("frmSet", 0, 1, 0);
Q: Maybe have some code that would tell the tree menu html to expand on that particular page?
A: On your pages you should call the following function/functions to expand/highlight items,
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));