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: Anything Goes
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:33

[solution] Imitation of a Win32 ListBox


Poster: vitalyb
Dated: Tuesday April 13 2004 - 20:55:04 BST

For my site I wanted to create an imitation of a ListBox using Milonic, this is what I got:

Closed Listbox (Score sort is selected)
Image

Open Listbox (Notice that now Score is automatically highlighted)
Image

There were 3 main attributes to imitate:

1) The actual visual appearance. While I failed to make an exact visual copy, it does, in many ways, looks like a list box - Seperated first item and list, no border between items etc.

2) The menu item (the one you click on to open the menu) should be the item that's currently selected in the list box and should appear in the listbox once you open it.

3) When you open the listbox the item that was the menu-item should be selected (like demonstrated in the second picture).

If enough people are intersted in the actual implemention, post, and I'll try to rip a working copy from the PHP - I would post it straight away but it would take quite some time and I'd hate to do if no one needs the described options.


Poster: John
Dated: Tuesday April 13 2004 - 21:22:31 BST

Hey Vitaly -

Nice job, and many thanks for taking the time to come back in with the followup and kind offer of the code. Most appreciated.