PDA

View Full Version : Drop Down Menu from database?


ScottInTexas
04-18-2003, 06:37 PM
I am looking for an example of building a drop down menu from data in my DB. What I want to do is display the main items in a static menu and on a mouseover display the sub items in a floaitng fram or something. The menu items come from my db.

I'm reading the items fine and putting them into <td>'s each having an ID. I thought a javascript would handle the hiding and showing of the sub items, but that is the wrong approach.

Any ideas, tutorials or examples would be appreciated.

raf
04-18-2003, 07:23 PM
This surely is not possible using ASP ! Think you need some javascript or some other clientsided thingy for. You can have floatingboxes appearing (if fact, i'm gonna use it here http://raf.ithium.net/addon/starttp.html --> still verry much under construction, but the floating boxes work) on mousover, but i'm not sure, in fact i don't think you can have them appear if you're over one specific option.

I'd look at some menu javaapplets or javascripts. They have this sort a thing (menu or message appears on mouseover.)