Dynamic Menu Sorting

Discussion in 'Javascript' started by Angelos, Nov 15, 2005.

  1. Angelos

    Angelos Guest

    Hello again,

    I have this dynamic menu and I want to change the order of the menu items...
    I added a column in the database wich has an integer value for ordering the
    menuitems.
    But the only way is by hardcoding them into the database.

    I would like a way to sort them with drag-and-drop or with up/down arrows.

    Do you think that except PHP & MYsql I will need Javascript as well ?
    Any ideas how to do that ?

    Thanks a lot,
    Angelos.
    Angelos, Nov 15, 2005
    #1
    1. Advertising

  2. > I would like a way to sort them with drag-and-drop or with up/down arrows.

    > Do you think that except PHP & MYsql I will need Javascript as well ?
    > Any ideas how to do that ?


    While JS is the easiest way to do it (several scripts are available
    online) I would reccomend a PHP backup to do the same (just in case).
    Examine the source for the JS to get some ideas on how to implement it
    in PHP.
    Joshie Surber, Nov 16, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    1,406
    James Kanze
    Jul 6, 2010
  2. naijacoder naijacoder

    How to create dynamic menu with user roles (Treeview menu)

    naijacoder naijacoder, Sep 27, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    336
    naijacoder naijacoder
    Sep 27, 2004
  3. Perry Loh
    Replies:
    0
    Views:
    288
    Perry Loh
    Mar 24, 2006
  4. Jason
    Replies:
    0
    Views:
    372
    Jason
    Oct 4, 2006
  5. Lasse Edsvik

    Dynamic Menu with SOThink Menu?

    Lasse Edsvik, Feb 13, 2006, in forum: ASP General
    Replies:
    0
    Views:
    218
    Lasse Edsvik
    Feb 13, 2006
Loading...

Share This Page