Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:49

Latest Version Undoes Scrolling Menu


Poster: mfurf
Dated: Friday March 25 2005 - 10:54:19 GMT

In addition to a sidebar style menu, I have a scrolling menu in the site's iframe. It all worked well this long time.

Just today I happened to scroll the menu and see that, huh?, the submenu detaches and doesn't scroll [it stays in the fixed position at the very top of the iframe.

At first I couldn't figure out what had suddenly happened. Then I remembered that last week I had updated to the current version.

When I overwrote the updates with last November's files, sure'nuf, the scrolling menu now functions like it's supposed to and always did until the updates were applied. Back to the future. /mfurf


Poster: Ruth
Dated: Friday March 25 2005 - 14:11:04 GMT

Hi mfurf,
It's because you've got followscroll=1; set in the submenu. That is telling the submenu to set its position at 1px below the top of the page when it scrolls. If you remove that followscroll=1; from the submenu it scrolls just fine in IE5.5, Netscape7, Opera 7.11, Firebird .07. I don't have the newest firefox to test.

Aslo, are you aware that your menu on the left does not show in Opera? That's because you've got it set on the page in which you have both iframes and opera sets iframes so that they are, I guess you'd call it always on top element You'll need to put the menu on the page that is in the logo iframe.

Ruth


Poster: mfurf
Dated: Friday March 25 2005 - 18:52:24 GMT

Ruth:

Would you give it a try now in Opera; I've switched the code from the index file to the logo file. It seems to work fine in Mozilla, IE6, but the side menu does not appear at all in Firefox 1.0.1 unless [are you ready for this?] it's on the local drive, and then it works.

I was sure there was a discrepancy between the files on my local disk and the corresponding files on the server. So I overwrote them several times. But still I'm roadblocked on the server's version of Firefox. I'm in disbelief.

Try your 0.7 Firefox and see what you get. And Opera. Thanks. /mfurf


Poster: Ruth
Dated: Friday March 25 2005 - 22:32:20 GMT

I see it fine in Firebird .07, but I'm getting the old version of the menu, not the new one. You have a call for tooltips.js but it's not there, or at least not where the path shows. Maybe that's causing a problem in the newer version of Firefox?

Ruth


Poster: mfurf
Dated: Friday April 1 2005 - 14:30:31 BST

Ruth: I've been outta here for awhile and just got back. Going back to your
Quote:
It's because you've got followscroll=1; set in the submenu


why would the followscroll = 1 work okay in the previous cut[s] and suddenly change just because I updated the version? I hadn't edited or altered my menu_data.js. /mfurf


Poster: mfurf
Dated: Friday April 1 2005 - 14:50:09 BST

Quote:
I see it fine in Firebird .07, but I'm getting the old version of the menu, not the new one. You have a call for tooltips.js but it's not there, or at least not where the path shows. Maybe that's causing a problem in the newer version of Firefox?

By old version do you mean the previous [5.60] cut? That's on there because I overwrote the 5.717 version to get my scrolling back right and I need to know the answer to my previous question as to why would
Quote:
followscroll="1";
work fine in the former but not the latter?

Also, thanks for the heads up on tooltips. I never did get around to uploading the tooltips.js to the server or edit in the tooltips. I got diverted. I must get to work on that.

Still wondering about whether to just keep the old version or mess around with
Quote:
followscroll="1";
I thought that piece of code was a toggle to activate/deactivate the scrolling, not a placement code, huh? What would I change it to?

/mfurf


Poster: Ruth
Dated: Friday April 1 2005 - 14:58:38 BST

Hi,
Well, I'd have to say it's because as little things get fixed, or things get added and something changed in how followscroll is working. You really shouldn't have to set followscroll in the submenus unless you want them to scroll at different places. When it is set in the main then the submenus should automatically open off the main wherever it might be. Kevin did a real good explanation about followscroll parameters here.

Ruth


Poster: mfurf
Dated: Friday April 1 2005 - 18:25:42 BST

Thanks Ruth. How could I have doubted you for a moment? It worked when I removed the line. And the link to Kevin's explanation made it quite clear when it's a boolean toggle and when it isn't.

And now for the tooltips..... /mfurf


Poster: mfurf
Dated: Friday April 1 2005 - 23:37:43 BST

Quote:
Ruth:

Would you give it a try now in Opera; I've switched the code from the index file to the logo file. It seems to work fine in Mozilla, IE6,


Ruth: by placing the code in the logo.html file and removing it from the index.html I've noticed that the submenus wind up "underneath" the iframe. This did not happen with index.html.

Is there a way of forcing the submenus on top of everything? Otherwise I'll have to return to the previous arrangement. /mfurf


Poster: Ruth
Dated: Saturday April 2 2005 - 3:01:38 BST

I just check it and see what you mean. If you notice the bottom submenu doesn't do that. It's not that it's going 'behind' the frame, it's still in the frame it's just in a part you can't see because it's set to open at the position it is and the menu is wider than the space that is actually showing.

It has to do with the text size and how browsers render it. I'm not sure what you can do on that. I would probably go back to what I had, make a link or something for Opera uses to get a menu for that side, maybe a text menu that opens in a little pop window with a menu on it? There really isn't much that can be done. You could make those submenus of images that would always be the same size and then the submenus would always fit.

Sorry the news isn't better. :(

Ruth


Poster: kevin3442
Dated: Saturday April 2 2005 - 7:04:51 BST

Hi mfurf,

Regarding the FireFox issue... I noticed that you're using version v5.717. According to the [urlhttp://www.milonic.com/menuvinfo.php]version information[/url] page, v5.719:
Quote:
Fixed bug with Firefox not setting correct TOP position for submenus opened from vertical menu

I noticed that the menu in your logo iframe acts very strangely in FireFox 1.0. I'm betting that an update to v5.719 will solve that issue. Odd though... it looks like the menus in the main frame are unaffected. Perhaps it's a good side effect of setting followscroll??

Regarding the menus getting clipped (cut off) by the side of the iframe... Your iframes resize as you resize the browser window. Whether the menus or submenus in either iframe get cut off depends on whether the iframe is wide and/or tall enough to display the menu. Ruth's right... the menu is displayed, but it exists only in a page that in turn is within an iframe. Obects in a page cannot be displayed outside of their frame. So if the iframe isn't big enough to display the entire menu, then part of it gets cut off. It's just the same with the text you display in your main frame. There's more text than can be displayed at once, so the bottom is "cut off". No big deal though... we're used to that. Even though you can't see the rest of the text, you know it's there and you can scoll down to read more. But we're not used to thinking of a menu as just another object that has to fit within the space contraints of the page where it resides. Hope that makes sense.

I'm not sure what you're going for in the logo iframe. The logo iframe's main purposes seem to be to display the logo, background, and main nav menu. If that's all, then you could probably try a different approach. You could still have those things on the page, but not in an iframe (freeing you of some of the contraints we've mentioned). I wonder if it'd be worth while to consider a slight re-design? Of course, as with all things, that'd take time.

Cheers,

Kevin