The majority of forums are now only available as archives, which means posting/editing is disabled.
The Anything and Everything forum is still open.
The Anything and Everything forum is still open.
dynamic menu tabs
|
|||
|
Rank: ? (46)
Member #: 24599 |
hi all,
Generally we find for many websites , some tabs on the tops which can be expanded and collapsed. But they are usually fixed and we can create them by creating instances of a menu class ex: categories=new menu(); categories->add(); etc....... but can we do the same dynamically..i.e my menu headings are not fixed and they must be retreived from the database dynamically and displayed as tabs on the top of the page........I think its difficult to do this in javascript.Can we have a solution for this in php or something else??? |
||
|
|||
|
|||
|
Rank: ? (771)
Member #: 5727 |
It's really not that hard in javascript. In fact, that's what my menu is. It requires multiple files and stuff, but it's not that hard if you have a good origional to edit.
Another route is a CSS menu. I've only seen them though IE and Firefox, but theorhetically the Firefox one is the way all non IE browsers see it. The only problem is that IE and non IE show things a bit differently. In IE the top level can be a link, and this isn't so in non IE browsers. Javascript Menu CSS Menu
Always forgive your enemies; nothing annoys them so much.
|
||
|
|||
|
|||
|
Rank: ? (46)
Member #: 24599 |
Hi waffles,
thanks 4 ur reply n sorry for being unable to respond till now. Gr8 to hear that my requirement can be done, that too retreiving menu items from the database...... Looked into ur menu and seems to be cool.......... Can you please take the pains of acknowledging me how to do it?? I 'd be glad and owe a lot if u can make me have such a cute menu in my site too.........' |
||
|
|||
|
This post has been removed by a moderator (reason: double post)
|
|||
|
|||
|
|||
|
Rank: ? (771)
Member #: 5727 |
Head over to www.opencube.com and get the bundle. What you want is the NavStudio thing. It's pretty simple.
Always forgive your enemies; nothing annoys them so much.
|
||
|
Please login or register to post a reply.
