|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hi
Iīm looking into the Database driven php menu, which is on this site. Look at: URL But I want to change it a little littel bit. Instead of having the menu expanded from start I only want to see the Menu items (not the sub items). Does anyone know what I have to change to do this? I have attached the code in a .txt-file. Please help me. Best regards Anders |
|
#2
|
|||
|
|||
|
Hi Anders!
Sure thing. In the line that starts <table width="100%"> add style="display:none" as one of its attributes, so it looks like this: <table width="100%" style="display:none"> that should fix everything and the toggle function will work as expected. |
|
#3
|
|||
|
|||
|
Hi
Thanks for the answer But there is still a problem... When I added the attributes that you wrote the menu opened in collapsed mode but I canīt toggle the menu. The sub menu-items doesnīt show when I click the plussigns.... Itīs like the menu is collapsed ALL the time. What is wrong?? Thanks in advance //Anders |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Databas driven php menu |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|