followscroll and alwaysvisible Combined query

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ukmojo
Beginner
Beginner
Posts: 4
Joined: Tue Jan 06, 2004 7:09 pm

followscroll and alwaysvisible Combined query

Post by ukmojo »

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
Regards,
Simon
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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

Post by Maz »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
ukmojo
Beginner
Beginner
Posts: 4
Joined: Tue Jan 06, 2004 7:09 pm

Post by ukmojo »

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.
Regards,
Simon
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Post Reply