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:06
Anyone who can test the menu on Apple Safari 1.2 for me?
Poster: RichardH
Dated: Monday October 18 2004 - 14:29:35 BST
Hi, could someone please test the milonic-menu of the following website on Apple Safari 1.2 for me > http://www.kobalt.nl. Important to test on Safari 1.2, not 1.0!
A client told me the menu wasn't working properly, but unfortunately I can't yet test it myself. I already ordered an Apple Mac, but it won't be delivered for another 3 weeks or so
Help is very much appreciated!
Poster: John
Dated: Monday October 18 2004 - 17:07:19 BST
He's right - it's failing.
Try taking the menu out of the <div> - it really doesn't like that.
Poster: Maz
Dated: Monday October 18 2004 - 17:36:14 BST
If thats a moving image below like flash, it may also need the code for 'hide div'.
Poster: RichardH
Dated: Tuesday October 19 2004 - 9:01:35 BST
Thanks guys. If it's not too much trouble could you explain in short what exactly is happening, I don't have a clue right now. Or perhaps a screencapture?
The menu nested inside a div is no good, so basically I'm screwed? Because the entire site is build using CSS. I need the div's to position the menu and give it it's background.
Oh well, I know it's not a problem caused by Milonic. It's those retarded browser-dev's, who keep neglecting web standards!
Poster: RichardH
Dated: Tuesday October 19 2004 - 11:35:20 BST
Update: I moved the menu outside the div's. Can you please check for me if the problem is solved?
Does the problem has something to do with the flashbanner beneath it? Maz: what's that hide div code you're talking about?
Thx!
Poster: John
Dated: Tuesday October 19 2004 - 14:36:17 BST
It's still failing the same way, Richard. As you mouse up and down the sub-menus, only the hilighted menu item and the one directly below it show up. This is true all the way up and down the menu. Never seen it before (but that doesn't mean we can't figure it out).
Maz' comment is about this.
Poster: RichardH
Dated: Tuesday October 19 2004 - 22:42:57 BST
Ok, so maybe it does have something to do with the menu itself? Well I hope you guys can give this problem some more attention. I appreciate your help so far. Thanks.
Poster: Maz
Dated: Wednesday October 20 2004 - 0:10:44 BST
Yes there is flash, you need to send it back with hide div.
I seem to remember having to put drawMenus(); under the items in html?
maz
Poster: kevin3442
Dated: Wednesday October 20 2004 - 0:55:00 BST
Hi Richard,
Unfortunately (or fortunately, depending on one's perspective ), I don't have a Mac to test with. But I do have an observation or two:
(1) You have a call to drawMenus() at the end of you menu_data.js file. But your menu_data.js file only contains menu style definitions. Your menu definitions are embedded in the html code of the main page (are you generating it dynamically?). Since the menu_data.js file is loaded before the embedded menu definitions, there are no menus defined when you call drawMenus() at the bottom of menu_data.js. Don't know if this would have a detrimental effect, but that function call should probably be removed.
(2) The call to drawMenus() that actually draws the menus is also embedded in the html. No problem with that. But you still have it inside of a <div id="Menu">, which may be at least part of the problem since your menus will still be drawn in the div. Perhaps you could leave the div (to get the background image and size), but remove the call to drawMenus() from it; place the call at the bottom of your embedded menu code instead. This shouldn't cause a positioning problem, since I notice that you have positioning code in your "MainMenu" definition (top=10, screenposition="center", left="offset=-20"). You should still be able to use these to position the menu, without having to place the menus in a div.
Last note: www.browsercam.com can supposedly show you what things look like in various browsers. I've never tried it myself, but it might be useful as you try different things to see if they worked... maybe... maybe not.
Just a couple of thoughts.
Kevin
Poster: RichardH
Dated: Wednesday October 20 2004 - 10:57:47 BST
Thanks Kevin, I really appreciate your help.
Yes, the menu is dynamically generated by the CMS, that's why it's embedded in the HTML. I followed your advice and moved the drawmenu's outside the div and placed it right underneath the embedded menu code. I also removed the drawmenu's from the menu_data.js
John, maybe you can have a look again to see if the problem is still there or not?
Maz: I'll have a look at the hiding div menu. Will try it out, thanks.
Poster: John
Dated: Wednesday October 20 2004 - 14:44:39 BST
Sorry - still has the same exact problem.
Just for fun (!), try another code download (it's 5.51 now), and re-upload fresh to your server. Make sure to use text or ASCII mode (don't rely on "automatic"). Left field, maybe, but we've seen it before.
Poster: RichardH
Dated: Wednesday October 20 2004 - 15:33:52 BST
I uploaded the new version, but I have little hopes it solves the problem though
John, is the menu concerning it's functionality working ok? I mean, at this point I don't care much if it's just estheticly not good. If people can see and access all the (sub)menu-items and click on them, then I'm happy for now (untill I have my own Mac to test on). Ofcourse if parts of the navigation are not accesible, then I (hopefully with the help of you guys) need to troubleshoot some more.
What do you think in your own opinion: is it acceptible (and accessible) for the time being or not at all?
Thank you. Richard
Poster: John
Dated: Wednesday October 20 2004 - 16:05:24 BST
Well, it's changed a little, but essentially is the same problem. For instance, mouseover a main menu and all sub-menus drop properly (it always did that). Scroll down and all sub-menus disappear except for the one you're on and the one directly below it (as before). Now, however, while Over Kobalt still shows that same nonsense, the initial mouseover of Diensten's first menu item shows that one item and also the last 5 in that group. As you move down it's still the 'show two items' thing, but the last 5 items remain in place, and operate properly as you mouseover them. All links seem to work OK.
Interesting thing about the 'last 5' showing is that the top of that group is exactly at the top of the black bar that is, I believe, the bottom of your Flash item. However, the initial drop of all sub-menus is on top of the Flash and not hidden by it, so I think the hide div thing is not the answer.
Can it be used? Yes, but it's certainly not right. Unfortunately I'm still stumped (but not quite dead...).
Poster: RichardH
Dated: Wednesday October 20 2004 - 16:42:41 BST
Ahh, at least we're narrowing the problem down a little. So it seems the Milonic menu has a problem with the Flashbanner after all. I take it the visible 5 submenu items from "Diensten", are only visible on the subpages where the bottom drops over the smaller flashbanner? And they don't show up on the portalpage where the flashbanner is larger?
Maybe somehow the mouse-over causes a small part of the menu to pop on top of the flashbanner or something, while the rest stays behind it. Weird this problem only occurs in Safari.
Is there a tutorial how to install the hide div code, I had a quick look at the contents of the zipfile at the office today, but couldn't find it. Or do I only have to upload the .js files again without altering anything?
Poster: John
Dated: Wednesday October 20 2004 - 16:53:42 BST
RichardH wrote:
Ahh, at least we're narrowing the problem down a little. So it seems the Milonic menu has a problem with the Flashbanner after all. I take it the visible 5 submenu items from "Diensten", are only visible on the subpages where the bottom drops over the smaller flashbanner? And they don't show up on the portalpage where the flashbanner is larger?
Correct, and sorry 'bout that. Forgot that I moved from the home page when checking links.
RichardH wrote:
Is there a tutorial how to install the hide div code, I had a quick look at the contents of the zipfile at the office today, but couldn't find it. Or do I only have to upload the .js files again without altering anything?
Check the source on http://www.milonic.com/menusample14.php. You'll see the JS call about half-way down the page.