close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

filter list/menu

Thread began 9/09/2009 12:24 pm by CraigR | Last modified 9/10/2009 12:11 pm by Jason Byrnes | 3035 views | 6 replies |

CraigRBeta Tester

filter list/menu

i have 2 list/menus which are linked, and would like to filter the content of list 2 based on what i chose in list 1.

i did this with a little js script a while ago, but i can't find or remember what i did.

grateful for a nod in the right direction

Sign in to reply to this post

Jason ByrnesWebAssist

The Dynamic Dropdowns extesnion can be used to accomplish this. Have a look at the Dynamic Dropdowns getting started guide:
dynamic_dropdowns_gsg.pdf

Sign in to reply to this post

CraigRBeta Tester

Hi Jason,

i looked at this briefly, but the example seemed a bit more complicated than i needed.

i'm sure there was a simpler way, but i'll persevere

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, the example demonstrates some other functionality of dynamic DropDowns that you wont need so much.

For your scenario, you need:

A recordset to populate the Parent list
A recordset to be used by the Create Dynamic Array server behavior.

The Parent list and the child list

Set the Parent List to be dynamic and pull records from the first recordset you create

Add the Populate List From Array behavior to the onChange event of the parent list and target the child list.

Sign in to reply to this post

Dave BuchholzBeta Tester

Craig,

if you don't mind getting your hands dirty with a bit of JavaScript you can do this pretty easily with jQuery I have an example here index.html where I keep little code examples to remind myself how to do stuff !

Just view source and all should be obvious.

Sign in to reply to this post

CraigRBeta Tester

Thanks for the tip Dave, I'll keep the link in my bookmarks.

I have just got the dynamic dropdowns working ok too.

Things are looking up !

Sign in to reply to this post

Jason ByrnesWebAssist

Excellent, glad to hear you have it working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...