Resisting the scroll bar! - how to supress the scroll bar

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
nodata
Beginner
Beginner
Posts: 9
Joined: Tue Oct 21, 2003 4:08 pm

Resisting the scroll bar! - how to supress the scroll bar

Post by nodata »

I have a working version 5 milonic menu. I also have a working DJtextmenu, which runs as a java applet.

If I have a long menu, long enough to fit on the screen without scrolling, DJtextmenu will move the top of the menu upward. i.e. I don't need to scroll with DJtextmenu.

Can I Milonic menu do this?
Last edited by nodata on Tue Oct 21, 2003 5:15 pm, edited 1 time in total.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Yes.
John
nodata
Beginner
Beginner
Posts: 9
Joined: Tue Oct 21, 2003 4:08 pm

Post by nodata »

Great - what do I need to do?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Nothing special. Just build your menu and it will adjust itself. But don't make it too long for the window.
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Yeah I believe the menu will only utilize the scroll if it determines the menu will not fit in the width of the window. If it feels it can, it will move the menu up or down or left or right to get it to fit.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
nodata
Beginner
Beginner
Posts: 9
Joined: Tue Oct 21, 2003 4:08 pm

Post by nodata »

I've tried this. It didn't work.

The menu was big enough to fit in the window (if the top of the menu was to move upwards), but the menu didn't move upwards.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Post a URL.

Works at http://www.west.asu.edu/sa/testsite/sl1.htm. Shorten the page up bit by bit and you'll see the menu move. When the page gets too short the scroll bar comes on.
John
nodata
Beginner
Beginner
Posts: 9
Joined: Tue Oct 21, 2003 4:08 pm

Post by nodata »

I'm using a horizontal menu.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

P-o-s-t--a--U-R-L :!:

We can't help you if you don't help us...
John
nodata
Beginner
Beginner
Posts: 9
Joined: Tue Oct 21, 2003 4:08 pm

Post by nodata »

Sorry for the delay.

This page is an example:
http://milonic.com/

Choose option "DHTML Menu" from the Menu bar.

If you resize the browser window to make it shorter than the length of the menu, the top of the menu does not move upwards to enable the menu to fill all of the available space.

The same happens with a long list. A long list will scroll once it hits the bottom of the browser window, rather than the top of the menu moving upwards to accommodate the menu's size.
Post Reply