Horizontal menu bars - scroll bar problem

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

Horizontal menu bars - scroll bar problem

Post by nodata »

I have a horizontal menu with lots of menu items.
To make it easier for my readers, I'd like the menu bar to move upwards to fit all of the menu items on screen, rather than adding a scroll bar.

i.e. I would like the menu to adjust it's height to fit the available space within the browser window.

Open the following page, and make sure that the menu is near the bottom of your browser window:
http://nodata.8bit.co.uk/menu/menu.htm

If you hover over "Menu samples", a list of items, with scroll bar appears.

Can Milonic do what I need?
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

I just tried the example... I get no scroll bar at all; just a clipped menu. Are you still playing with it?

Kevin
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I got the same thing. The menu ran off the bottom of the screen instead of moving up the page.
John
nodata
Beginner
Beginner
Posts: 9
Joined: Tue Oct 21, 2003 4:08 pm

Post by nodata »

Try this:
http://milonic.com/menusample.php?sampleid=10

Resize your browser window so that a few centimetres is below the menu.
Hover over "Menu samples", and the list scrolls (despite the space above the menu)
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

When you put it that close to the bottom there is no longer any room to build the scroll bar (arrows, elevator, bar, etc.). As you open the window up little by little there is finally a spot where the OS can build the bar. I don't believe that's a menu problem.

I have a scroller at, for example, http://www.west.asu.edu/studentlife/about/mission.htm. See 'Student Affairs' next to the bottom item. As you scroll the page the sub-menu adjusts up or down depending on how far from the bottom of the window it is. If you shorten the page there will finally come a point where the scroll bar appears because the menu just won't fit in the window any more.

Data for this is at http://www.west.asu.edu/studentlife/stlife2_data.js.
John
nodata
Beginner
Beginner
Posts: 9
Joined: Tue Oct 21, 2003 4:08 pm

Post by nodata »

Hm. I see why Milonic is doing this.
What I'd like is this:
http://nodata.8bit.co.uk/menu/wish.jpeg

The (badly drawn) photo shows two computer screens. Each have a menu midway down, and each have a menu of the same size to display.
In the top left screen, the menu doesn't expand upwards to fill the space.
The bottom right screen does - no scrolling!

In truth, this is the only show stopper for me. I'm waiting to buy Milonic, but I need this feature.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I did that by mistake :oops:

I had a php guestbook in a table, there was a header.php to add your own header, but what I didn't see was the php code before the header. So the menu script I placed was like inside out and the submenu's opened up to the top of the screen in the center of the mainmenu. :roll:

I actually liked it, but didn't want tables so it was replaced for css.

Its possible, but what you have to do is throw if off :lol:

Sorry I didn't run through the php code.

maz
Post Reply