Results 1 to 2 of 2

Thread: javascript cascading menu

  1. #1
    Join Date
    May 2006
    Posts
    1

    javascript cascading menu

    hello!

    can anyone recommend an off the shelf javascript menu like these -

    http://www.xara.com/products/menumaker/

    but which can be driven by php/mysql; as in the menu forms according to a database.

    I'd love to write one, but time presses

    thanks!
    tony

  2. #2
    Join Date
    Mar 2004
    Location
    China
    Posts
    3,315
    It's not actully that hard to write these sorts of menus. Course the code that xara produces has to handle every posible type of site so it's rather large and complex. But if you make your own menu your code can be quite simple.

    I'd use css to do the menu these days rather than javascript. Have a look at the tutorial on http://www.alistapart.com/articles/dropdowns/

    You should be able to work your php in to just make a for or while loop to write extra <li> elements into the menu so it will adapt to your database.

Similar Threads

  1. Nested Horizontal Menu
    By jeffreymerrell in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 27 Apr 2006, 03:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •