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