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