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

Mac IE follow scrolling feature defunct // menu goes to top


Poster: cubefree
Dated: Friday March 12 2004 - 4:50:03 GMT

My client uses a Mac with IE 5.2 and the vertical menu is follow scrolling all the way to the top. Another client reports the same in Mac IE 5.1.

I'm using Version 5.05 - Built: Saturday March 6 2004 - 12:51
For now I turned it off, but any ideas what would cause that?

I have the following code:

Code:
with(milonic=new menuname("Main Menu")){
top=212;
left=20;
itemwidth=172;
style=menuStyle;
alwaysvisible=1;
orientation="vertical";
if (!mac) {
   followscroll = "25,50,15";
}


Check link:
http://www.watsunorthwest.com/index.php

Strangely, in Mac IE it does NOT do this with another site I built menus for using Version 5.0 Release Candidate 5.0 7th August 2003.

http://r2r.providence.org/proginfo/valueplan/special_provisions.aspx

Thx,
Cubist
cube me freely, cube me wisely, cube me often


Poster: Maz
Dated: Friday March 12 2004 - 7:07:38 GMT

The first number 25 is the top position of followscroll 25px.

Did you want it to followscroll at 212px's?

maz


Poster: cubefree
Dated: Friday March 12 2004 - 7:39:28 GMT

Yes, that's right. It should start and go no higher than 212 when arriving at a page. See the current effect in Mac IE here http://www.cubefree.com/watsu1.gif

But once you've scrolled down, it should stay 25 px from the top. IE works wonderfully, of course.

I was trying to search the blog for specs on followscroll, I saw one before describing the 3 parts to the attribute. Ah... here it is http://www.milonic.com/forum/viewtopic.php?t=3706&highlight=part+followscroll

Maybe I should try this...?

Code:
if (mac) {
   top=0;
   offset=212;
   followscroll = "25,50,15";
}


Poster: Andy
Dated: Friday March 12 2004 - 12:11:28 GMT

Oh the wonderful Apple Mac IE Browser :evil:

What you'll need to do is move the menu SCRIPT references into the BODY. At the moment they are in the HEAD.

For some reason, the Microsoft developers decided that HTML code placed in the HEAD doesn't actually become part of the BODY content and it becomes all messed up. All other browser can allow for this.

Real strange things happen with the menu inside the HEAD, sometimes it's OK but in this instance it's not setting the top position of the main menu properly. It's actual top position is 196 pixels, even though you've set it at 212 :?: :?: :?:

I've never been able to figure out why this happens.

Cheers
Andy