Recent Questions Template Html Avec Treeview
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">
</frameset>
the dm_initFrame() function call at the end of data.js file will look like:
dm_initFrame("frmSet", 0, 1, 0);
Q: What is the difference between itemStyles and menuStyles for the down javascript menu?
A: See you should assign the menuStyles to the whole submenu (the first item in the submenu).
itemStyles you should assign for each item individually.
See more info here:
http://deluxe-menu.com/individual-item-styles-info.html
http://deluxe-menu.com/individual-submenu-styles-info.html
Q: The browser I am using is Internet Explorer 7.0 at Windows Vista (with "Security" set at "Medium"). I get the message "To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer" and then I have to click this message/bar in order to "Allow blocked content". After I do that the javascript menu script appears as it should, but of course I don't want visitors to go through that. FYI, I do not have the same problem with the dynamic menus on your website or in other websites, which appear normally right from the start.
A: You should adjust your browser settings.
Tools/Internet Options/Advanced Options/
and set
"Allow active content from files to run on My Computer".
There is no way to enable these preferences automatically, in othercase there are no reasons to create security preferences.
Q: We use IFrames and Frameset through out our program. Will Deluxe-Menu and Deluxe-Tabs work for us.
Will this work for us, using the layout below. Menu will be in frame3 and tabs in frame4. Should pop up in frame5.
<frame> <frame1> <frame2>
<frame3-Deluxe-Menu> <frame4-Deluxe-Tabs>
<frame5 - Content and more IFrames and Framesets>
A: JavaScript Tree Menu doesn't work with <IFrame> objects. It works with<frameset> objects only. All it can to do with <IFrame> is to loadpages into it.
You should use standard installation for the menu (cross-frame mode).
See more info here:
http://deluxe-menu.com/cross-frame-mode-sample.html
http://deluxe-menu.com/data-samples/cross-frame-horizontal-1-sample.htm
JavaScript Tree Menu and Deluxe Tabs will work fine in such frame structure.