473,503 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic menu

Dear All,

How could I make a menu have many sub-menus, note that the
menu and sub-menus items come from database.

Ex: a menu have items like:
Products | Auctions | Orders

the menu items above all come from a table in a DataBase,
and if On Mouse Over or On Click events happens for any
item, the specific submenu for this item appear which is
also come from database.

Do anyone know how could i do this
Thanks alot in advance

Shery
Jul 19 '05 #1
2 3878
Please do not multipost.

Ray at work

"Shery" <sh*****@balooshy.com> wrote in message
news:0b****************************@phx.gbl...
Dear All,

How could I make a menu have many sub-menus, note that the
menu and sub-menus items come from database.

Ex: a menu have items like:
Products | Auctions | Orders

the menu items above all come from a table in a DataBase,
and if On Mouse Over or On Click events happens for any
item, the specific submenu for this item appear which is
also come from database.

Do anyone know how could i do this
Thanks alot in advance

Shery

Jul 19 '05 #2
Shery wrote:

How could I make a menu have many sub-menus, note that the
menu and sub-menus items come from database.

Ex: a menu have items like:
Products | Auctions | Orders

the menu items above all come from a table in a DataBase,
and if On Mouse Over or On Click events happens for any
item, the specific submenu for this item appear which is
also come from database.


One approach. You output the data into div's with IDs like:

<div class="navigation" id="navigation1">
<a href="...." onmouseover="show('navigation1_1') ...>Products</a>
<a href="...." onmouseover="show('navigation1_2')>Auctions</a>
</div>

<div class="navigation" id="navigation1_1">
<a href="....">Techotron</a>
<a href="....">Mechomatic</a>
</div>

Then you use DHTML to handle the mouseover, mouseout events. You add a
setTimeout functionality so that menus will be hidden after a while
(after the onmouseout event fires).

You use CSS with absolute positioning to style all this. You might want
to set a { display: block; } and so on.
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2471
by: Macamba | last post by:
Hi all, I am currently developing a website for a voluntary organisation. It is my first step in website development. The dynamic menu I developed has some bugs, which I addressed in another...
4
5176
by: Stromboli | last post by:
hi people, My problem is that I need to build a dynamic menu (preferably that works in all the browsers) that appears when I mouseover a certain link. The problem is that I have to declare...
1
17629
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
1
1361
by: biela | last post by:
Hi I'm from Poland and I have small question :). I'm looking for sample example how to create dynamic menu. Generaly my website will see like that ------------------------------------ 2...
2
1746
by: vikram | last post by:
I have to design a page which contains a dynamic generated menu at left side.Menu will be generated once a user log in and will remain as it is for the rest of the user session. Problem is that...
19
258966
by: mart2006 | last post by:
I've created a dynamic drop down menu that populates itself with data from a MySQL table. What I would like to do is create a non dynamic drop down menu that alters what is shown in the dynamic menu....
3
4765
by: RahimAsif | last post by:
I am writing an application that requires the a portion of the main menu to be dynamic. The menu has file, panels, view files and help across the top. The view files sub menu needs to be...
0
4526
by: benfly08 | last post by:
Hi, I used SWT to develop an windows application. In the application there is a dynamic created popup menu. The dynamic part is that i will pass a list of name to be a submenu of one menu item....
10
57009
by: mart2006 | last post by:
Hi, I'm fairly new to PHP and I've created a dynamic drop down menu that populates itself with data from a MySQL table. What I would like to do is create a non dynamic drop down menu that alters...
0
7194
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7070
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6976
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.