In Firefox, the javascript collapsible menu is displayed to the right of the top javascript collapsible menu text
Return to Recent Questions
Q:
My cross-frame javascript collapsible menu works fine in IE -> the menus are displayed exactly under the text and in
the bottom right frame.
However, in Firefox, the javascript collapsible menu is displayed to the right of the top
menu text, and exactly the number of pixels as the width of the left frame.
I'm 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 NORESIZE
FRAMEBORDER="0" />
    </frameset>
</frameset>
And using the dm_initFrame like this:
dm_initFrame("[object]", 0, 2, 0);
Can you help me with that?
A:
You should create the following frameset structure:
 --|------------
   | menu
 --|------------
   |
   | submenus
   |
Now a top row has 2 columns and all browsers can determine a
width of the 1st column in the second row.
The problem is in a structure of your frameset.
Mozilla browsers can't determine absolute coordinates for a frame, so
submenus of javascript collapsible menu will drop down with an offset.
Return to Recent Questions
Related:
- March 26, 2009 - After click the links the dynamic menu html stops showing up in cross-frame mode...
- Jun 29, 2009 - I do not understand how to use your drop down menu creator in cross frame mode
- Jul 05, 2009 - My dhtml navigation menu submenu is not display at the correct position with Firefox.
- Jul 16, 2009 - Why submenu of web menus pop-down not OVER the other object (frame)?
- Aug 19, 2009 - How do I make the css submenu of my dhtml menu tree appear in the correct frame?
- Nov 16, 2009 - I'm using this drop down menu code in the cross-frame mode using the CSS-style...
- Jan 05, 2010 - I have the errors in the menu button not when I use it in cross-frame mode
- Jan 15, 2010 - Can I use an iframe tag inside of the cascading menu javascript submenu instead of simple text?
- April 21, 2010 - In IE7 the position of submenus is too far over to the left from mouseover menu
- January 19, 2011 - I have some problems with dependant dropdown menus in cross-frame mode.
|