Recent Questions Dynamic Javascript Tree Json
Q: When doing a multi-frame frameset (1 top frame, 2 bottom frames) like this:
<frameset ID="frames" ONLOAD="getBottom()" ROWS="50, *" BORDER="0" FRAMEBORDER="no" FRAMESPACING="0">
   <frame NAME="frmTop" SRC="top.htm" MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=NO NORESIZE FRAMEBORDER="0" />
    <frameset ID="bottomFrames" cols="171,*">
     <frame name="frmLeft" src="left.htm" MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=NO NORESIZE FRAMEBORDER="0"/>
     <frame name="frmMain" MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=NO NORESIZEFRAMEBORDER="0" />
    </frameset>
</frameset>
And using the dm_frameinit like this:
dm_initFrame("[object]", 0, 2, 0);
it works fine in IE -> the menus are displayed exactly under the text and in the bottom right frame.
However, in Firefox, the menu drop down is displayed to the right of the top menu text, and exactly the number of pixels as the width of the left frame.
Perhaps there needs to be some FireFox checking to fix this?
Can you help me with that?
A: The problem is in a structure of your frameset.
Mozilla browsers can't determine absolute coordinates for a frame, sosubmenus drop down with an offset.
You should create the following frameset structure:
 --|------------
   | menu
 --|------------
   |
   | submenus
   |
Now a top row has 2 columns and all browsers can determine awidth of the 1st column in the second row.
Q: In dhtml xml menu, is possible call javascript when click on an item without close the menu?
A: In JavaScript Tree Menu you can use the following parameter:
var smHideOnClick=1;
Hides submenus on click
0 - disabled, 1 - enabled.
Q: I would like to know if I can use JavaScript Tree Menu to create pulldown menus on a Mac (Mac OSX). Thank you.
A: To create your menu on MAC you can use HTML version of Deluxe Tuner (for MAC OS). You can find it here:
http://deluxe-menu.com/deluxe-tuner-info.html
Q: I am currently using your free trial version to see if it will work with an application I am working on. I am having a problem with using it in cross-frames mode when the frame that the sub menu appears in has a vertical scrollbar. Basically I have a header frame and a large content frame below it. The menu itself is appearing in the header frame and the sub menus are dropping down and appearing in the lower frame. There is a vertical scrollbar in the lower (content) frame and when I scroll down, the sub menus get scrolled off the screen. This is because they are being rendered at the very top of the content frame and disappear when the top of the frame is no longer visible due to scrolling. Setting the floatable = 1 attribute does not work because the menu itself is not being scrolled off the screen, just the sub-menu drop down is being scrolled off. Is there anything I can do to make this work with my framed application? Thank you for your time.
A: Unfortunately submenus won't float in cross-frame mode. JavaScript Tree Menudoesn't have such feature now.