Jump to content

Accordion menu script (Please help me find one that suits my needs)


Recommended Posts

Can anyone recommend a good accordion menu that I could use to contain <forms> and load .phps into?

 

For example:

 

I have a menu with 4 cathegories.

 

I want to load in a form into cathegory 1, this form contains fields that the user can fill in. When the user is done he/she

can submit the information OR go on to cathegory 2 and fill in additional details OR 3 etc.

 

I'd like to be able to use it in a table.

 

Anyone who can help me with this gets a cooookie!!!!!  :o

It sounds like you need to take a step back, and break the problem domain into smaller sections. Set up four headers for each section, and write some short, descriptive sentences (verb -> noun style) until you've described everything you want to do per section.

Something like this:

Menu:
    - Open menu block.
    - Add static links.
    - Generate dynamic links.
        * Get list from database.
        * Loop through contents.
            - Add to output using template.
        *Finalize and add to output.
    - Close menu block.
    - Return output.

 

Once you've done that, you should find that your problem is suddenly a whole lot easier to solve. Because, from where I'm sitting it sounds like you want to stuff forms inside the actual menu, which doesn't make sense at all.

Well it makes sense if you're trying to do what im doing.

 

Its a CMS for a website im working on, each menu would contain forms that edit a part of the website, i.e. - one menu  is for general settings, one is for css editing and so on.

Then it's not a menu, but hidden block content, we're talking about.

Same way you don't find the story of a book written in the index, but only a listing of what page the different chapters starts on. You use the menu to find the content you're looking for, not to contain it.

 

Reason you're having troubles with this now, is because you are mixing terms and confusing areas of different concern. Something I was trying to get you to understand, in my previous post.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.