|
In Firefox, the dynamic drop down menu is displayed to the right of the top dynamic drop down menu text
Return to Recent Questions
Q:
My cross-frame dynamic drop down menu works fine in IE -> the menus are displayed exactly under the text and in
the bottom right frame.
However, in Firefox, the dynamic drop down 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 dynamic drop down menu will drop down with an offset.
Return to Recent Questions
Related:
- March 26, 2009 - After click the links the javascript horizontal menu stops showing up in cross-frame mode...
- Jun 29, 2009 - I do not understand how to use your menu rollover in cross frame mode
- Jul 05, 2009 - My simple popup menu submenu is not display at the correct position with Firefox.
- Jul 16, 2009 - Why submenu of menu dropdown pop-down not OVER the other object (frame)?
- Aug 19, 2009 - How do I make the css submenu of my html dropdown menu appear in the correct frame?
- Nov 16, 2009 - I'm using this tab menu javascript in the cross-frame mode using the CSS-style...
- Jan 05, 2010 - I have the errors in the website menus when I use it in cross-frame mode
- Jan 15, 2010 - Can I use an iframe tag inside of the drop menu javascript submenu instead of simple text?
- April 21, 2010 - In IE7 the position of submenus is too far over to the left from dhtml menu script
- January 19, 2011 - I have some problems with horizontal scrolling menu in cross-frame mode.
|