Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:27
Re: HELP!! Using frames SUBMENU not consistent
Poster: nickvasallo
Dated: Tuesday October 23 2007 - 17:18:09 BST
Hi Ruth,
Thanks, I made the changes. For some reason the submenus still open funny when I approach the main menu from the body pain ("main.htm").
It wierd, its as if they open in the horizontal axis of where I happen to touch the menu from under the header ("top5.htm")
Please let me know what tech support says, this site will be getting some serious traffic soon.
thanks
Nick
HELP!! Using frames SUBMENU not consistent
Poster: nickvasallo
Dated: Tuesday October 23 2007 - 8:59:48 BST
I've been trying to get a simple frames menu to work. I looked at the tutorial and followed everything and looked at the code.
I am using a top frame and a body.
Here's what it looks like: http://nickvasallo.com/test.htm
For some reason it gets screwy when I move the cursor down to the body pane, if I stay in the top frame (header) it works fine.
I tried the offset but I wasn't sure what to do, I did _subOffsetTop=-200 to compensate for the top image but I was just guessing.
Any help would be much appreciated
thanks
Nick
Re: HELP!! Using frames SUBMENU not consistent
Poster: Ruth
Dated: Tuesday October 23 2007 - 15:49:15 BST
Hi,
I do not know what's happening. The submenus seem to be picking up the main menu top=190; position and moving down that much in the body frame. I made a new page and tested it and got it to work. I've put the codes below
Code:
<html>
<head>
<title>Nick Vasallo - Composer Classical Metal Eclecticism</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset framespacing="0" border="0" frameborder="0" rows="224,*">
<frame id=top name=top scrolling="no" noresize src="top5.htm">
<frame name=main id=main src="main.htm">
</frameset>
<noframes>
<body>
<p>This page uses frames, but your stone-aged browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
<head>
<title>Nick Vasallo - Composer Classical Metal Eclecticism</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset framespacing="0" border="0" frameborder="0" rows="224,*">
<frame id=top name=top scrolling="no" noresize src="top5.htm">
<frame name=main id=main src="main.htm">
</frameset>
<noframes>
<body>
<p>This page uses frames, but your stone-aged browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
The menu_data.js file top section.
Code:
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=0;
_menuOpenDelay=0;
_subOffsetTop=-190
_subOffsetLeft=0;
_menuCloseDelay=0;
_menuOpenDelay=0;
_subOffsetTop=-190
_subOffsetLeft=0;
The body data file is 0 for the sub offsets. It seems to work fine like that. I will report the issue.
One thing you should note, you have pagecolor="black"; well since you have a dark background, when there is a match so that pagecolor comes on you won't be able to see the text.
Ruth
Re: HELP!! Using frames SUBMENU not consistent
Poster: nickvasallo
Dated: Tuesday October 23 2007 - 17:21:47 BST
Also, any idea how I get submenus to show above flash?
For example go to http://nickvasallo.com and click on "Music", when page loads up try viewing the submenus
Re: HELP!! Using frames SUBMENU not consistent
Poster: Ruth
Dated: Tuesday October 23 2007 - 18:01:21 BST
Hi,
I don't know where you got the mm_navframe.js file. The one in my download is a newer version. You need to get the newest version
http://www.milonic.com/mm_navframe.js
I'm not getting any flash thing. Also, there is a page about activating flash, don't know if this has anything to do with it. If there were a flash object I don't have problems with them and the menu going over them. See this info
http://www.milonic.com/activateflash.php
Ruth
Re: HELP!! Using frames SUBMENU not consistent
Poster: nickvasallo
Dated: Wednesday October 24 2007 - 2:38:18 BST
it works!!! thank you so much, yeah it was an older frame I got it from the zip file
Re: HELP!! Using frames SUBMENU not consistent
Poster: nickvasallo
Dated: Wednesday October 24 2007 - 5:47:26 BST
damn, so why is it when I have a www before my url the menu gets screwy again?
Try going to http://www.nickvasallo.com and click on any link
1. Notice how the submenus don't show up and when you click on "Info" or "Music" it opens up in the "top" frame
But in http://nickvasallo.com everything works fine?
Re: HELP!! Using frames SUBMENU not consistent
Poster: nickvasallo
Dated: Wednesday October 24 2007 - 6:22:58 BST
nevermind, agh, I discovered its better not including the http://whatever under the url java coding. a simple url=main.htm suffices