I make an example of html menu, but when i use it with frameset-the menu not show completly.
Return to Recent Questions
Q:
I make an example of html menu, but when i use it with frameset then the menu not show completly.
Is this possible, perhaps by using a javascript call?
A:
To initialize the cross frame menu you should 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.
You will find additioanal info about cross frame menu here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Return to Recent Questions
Related:
- Aug 30, 2006 - Can all the java script be contained with in the html and not use an external .js file?
- Sep 05, 2006 - Can I say to deluxe-menu "use wrapping"?
- Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
- Sep 25, 2006 - My menu icons are not appearing in the preview, or when I launch deluxe-menu.html
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Sep 29, 2006 - Is it possible to use an external file in the java drop down menu?
- Sep 29, 2006 - I tried to use javascript function with the "Title item" of my javascript tree view.
|