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

"Float" menu items on resize?


Poster: brent
Dated: Saturday December 6 2003 - 13:04:20 GMT

The easiest way to explain what I need is to show an example:

http://centralbanks.net/boc/draft_site/milonic/brainjar.html

This is the brainjar.com menu, which I quite like apart from the fact that it doesn't work at all in 4.x browsers.

Anyway, try resizing your browser window until it's very narrow. You should see each menu item drop vertically and float to the left, so that all items remain on-screen at all times (very useful when one has a lot of items on a menu, to prevent horizontal scrolling.)

This is not the default behaviour of the script, but was very easy to do: I just added 'float:left' to the appropriate CSS element and voila.

However, I can't see any easy way of doing the same thing with the Milonic menu, short of some heavy-duty recoding of the JS source.

Any suggestions here?


Poster: Ruth
Dated: Saturday December 6 2003 - 23:00:56 GMT

Just a comment. If you find out how, let me know. I like that. :)

Ruth