Anyone who can test the menu on Apple Safari 1.2 for me?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
RichardH
Advanced
Advanced
Posts: 10
Joined: Tue Sep 21, 2004 9:09 am
Location: The Netherlands

Anyone who can test the menu on Apple Safari 1.2 for me?

Post by RichardH »

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!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

He's right - it's failing.

Try taking the menu out of the <div> - it really doesn't like that.
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

If thats a moving image below like flash, it may also need the code for 'hide div'.
RichardH
Advanced
Advanced
Posts: 10
Joined: Tue Sep 21, 2004 9:09 am
Location: The Netherlands

Post by RichardH »

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!
Last edited by RichardH on Tue Oct 19, 2004 11:36 am, edited 1 time in total.
RichardH
Advanced
Advanced
Posts: 10
Joined: Tue Sep 21, 2004 9:09 am
Location: The Netherlands

Post by RichardH »

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!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
RichardH
Advanced
Advanced
Posts: 10
Joined: Tue Sep 21, 2004 9:09 am
Location: The Netherlands

Post by RichardH »

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.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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
RichardH
Advanced
Advanced
Posts: 10
Joined: Tue Sep 21, 2004 9:09 am
Location: The Netherlands

Post by RichardH »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
RichardH
Advanced
Advanced
Posts: 10
Joined: Tue Sep 21, 2004 9:09 am
Location: The Netherlands

Post by RichardH »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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...).
John
RichardH
Advanced
Advanced
Posts: 10
Joined: Tue Sep 21, 2004 9:09 am
Location: The Netherlands

Post by RichardH »

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?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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://milonic.com/menusample14.php. You'll see the JS call about half-way down the page.
John
Post Reply