I am having a problem trying to get my scrolling menu javascript to work correctly with frames.
Return to Recent Questions
Q:
I am having a problem trying to get my scrolling menu javascript to work correctly with frames.
My web page is frame based. There are THREE (3) Rows. The top roe is
"header" and the bottom row is "footer". The center row is divided into TWO
(2) columns. The left is "contents" and the right is "main". This is a very
standard configuration.
I have created a menu called "member-menu" and added it to the "content"
html file. I have edited the "member-menu.js" file to add the
"dm_initFrame("FrmSet",0,1,0); at the end of the file. Using the
instruction provided when the scrolling menu javascript was saved. I then uploaded all of the
required file to my server. At this point everything is fine, I go to a password protected page in the
"\members" folder and this seems to work also. When I try to
go to a "submenu" it wants to expand to the right in the "content" FRAME. I
need it to expand into the "main" FRAME on the right.
I know that I am doing something wrong. I have read the instructions a dozen
times and can't find the problem.
A:
You should write the ID of your frames correctly, for example now you
have:
header - 0
contents - 1 (frame with the menu)
main - 2 (frame with submenus)
bootom - 3
In that case you should write init function in the following way:
dm_initFrame("FrmSet",1,2,1);
where - dm_initFrame("FrmSet",frame with the menu,frame with submenus,1);
Try that.
See more info here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 18, 2006 - Does the js menu work to load pages into an iframe?
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
- Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
- Sep 26, 2006 - Firefox doesn't support the dropshadow and effects in the javascript pull down menu.
- Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
|