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

followscroll and alwaysvisible Combined query


Poster: ukmojo
Dated: Friday January 23 2004 - 15:10:48 GMT

I've using the unsupported code to make the sub menu popup up in a subframe.

If I use follwoscroll=1 and alwaysvisible=0, the sub menu does not scroll.

However if the alwaysvisible paramater is set to 1 it will scroll.

Have anyone got any thoughts as to how to make it followscroll under such a senario.

Thanks


Poster: Ruth
Dated: Friday January 23 2004 - 22:11:34 GMT

A url would help to be able to see the page since that would also give us the rc you are using, but you might try just eliminating the alwaysvisible=0 parameter...just dont' put it in at all and see what happens.
Ruth


Poster: Maz
Dated: Saturday January 24 2004 - 0:35:40 GMT

You can also position followscroll="1,100,2"; (I think I got that right)
Are you sure you spelled followscroll correctly, you didn't here.

BTW, what's followscroll at the bottom of the page, anyone?

Regards,
maz


Poster: Ruth
Dated: Saturday January 24 2004 - 1:23:23 GMT

followscroll=1;
screenposition="bottom";

I had to try that since I found out one menu I had at the bottom just stayed right where it was when the browser first opened, even if the browser was resized. It works in nn4.79,6,7, Opera 6, 7 and ie5. but i"m on a pc, so I'm not sure on a mac.

Ruth


Poster: ukmojo
Dated: Saturday January 24 2004 - 11:55:57 GMT

Thanks Ruth and Max for your feedback.

URL to see:
http://www.displaysense.co.uk/dev/displ ... p?mcatid=4

I've tried all the permutations suggested and as soon as alwaysvisible is set to "0" it will not scroll and since it relates to a set of sub menus it would be impractical for them all to be visible from the start.

Also adding the followscroll element makes IE6 throw Java Errors.

Any feedback will be gratefully received.


Poster: Ruth
Dated: Sunday January 25 2004 - 6:49:45 GMT

What's happening [I think because I dont' really know about coding] is that you in essence have two menus, not one that opens a submenu. You have the menu that opens in the side frame and you have one that is in the frame that has your items in it. I had to read Hergio's note but what he says is that the two menus don't know anything about each other...in effect they function separately. You are seemingly getting a submenu, but really you are just using a popfunction on the one menu to make an 'invisible' menu show in it's frame. Now as to the reason it won't follow scroll. I have to think that since that menu is invisible the followscroll function seems to not 'see' it so it doesn't have any menu to make follow scroll. And, you can't get it to function using the followscroll setting on the main one since they don't interact. Perhaps there's a way to get it to read the follow scroll from the main one with some kind of script or perhaps there's some kind of script to make it believe it's visible when it's not and so use the followscroll. I have not a clue.... :lol:

Also, and again, it's just something thrown out about which I really don't know anything...but maybe it would be possible to have an iframe in that frame where the submenu is, and have it open in that iframe...the iframe being kept invisible until it was called for that menu...maybe that way you could make the iframe move, not sure because I don't know about iframes either, except I do remember reading about hiding them in divs or something when they weren't in use..something like that. Or maybe I'm totally off the wall and thoroughly confused. :roll:

Ruth