Free2Code
The majority of forums are now only available as archives, which means posting/editing is disabled.

The Anything and Everything forum is still open.
 
Time: 2013-05-21, 05:57pm
dynamic menu tabs
Subject: dynamic menu tabs  ·  Posted: 2005-08-16, 10:39pm
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???

 
  Reply to this ·  Post link ·  Top
Subject: Re: dynamic menu tabs  ·  Posted: 2005-09-02, 05:59pm
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.
 
  Reply to this ·  Post link ·  Top
Subject: Re: dynamic menu tabs  ·  Posted: 2005-09-20, 10:57pm
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.........'


 
  Reply to this ·  Post link ·  Top
This post has been removed by a moderator (reason: double post)
 
  Top
Subject: Re: dynamic menu tabs  ·  Posted: 2005-09-22, 04:16pm
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.
 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

Penguino AVR

Want to learn about robotics or microcontrollers?
Check out the Penguino AVR from our friends at
Icy Labs