|
|
Could you tell me what I have to set to make the easy dropdown menu float over the lower frame?
Return to Recent Questions
Q:
I see that you have the demo of the menu working over a frame so that it
displays over the lower frame, vertical top to bottom.
However I have played around with your demo and can't seem to replicate the
same feature.
Could you please tell me what I have to set to make the easy dropdown menu float over the lower framed window?
A:
To initialize the cross frame menu call dm_initFrame() function instead of standard dm_init() function within data.js file:
dm_initFrame(framesetID, mainFrameInd, subFrameInd, orientation);
framesetID - id attribute of the frameset;
mainFrameInd - index of the main frame (where the top-menu is placed), >=0;
subFrameInd - index of the subframe (where the submenus will be shown), >=0;
orientation - frame orientaion: 0 - top-to-bottom, 1 - left-to-right; 2 - bottom-to-top; 3 - right-to-left.
For example, for the following structure:
<frameset id="frmSet" rows="185,*">
<frame id="frame1" src="cross-frame-horizontal-1.htm">
<frame id="frame2" name="testlink.htm" scrolling="no">
</frameset>
the dm_initFrame() function call at the end of data.js file will look like:
dm_initFrame("frmSet", 0, 1, 0);
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- Sep 11, 2006 - How can I hide my dropdown menu on print?
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Oct 27, 2006 - I'm trying to get a cascading menu that will float as I scroll down the page.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Nov 21, 2006 - Why the javascript submenu alignment changes depending on the browser window size?
- Nov 26, 2006 - Can I create my floating menu to make it easier for search engines to crawl through?
- Nov 26, 2006 - How to keep my floating html menu in the centre of the page like <centre></centre>
- Nov 30, 2006 - Does your html menu dropdown have the ability to have small text boxes on it?
- Dec 01, 2006 - Why flyout menu does not float and why I cannot centre the menu?
|