CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2004
    Posts
    23

    Drop down menus - changeing content

    I have 2 drop down menus.

    In the first I have England, Wales Scotland etc.

    In the second I would like content based on whats selected in the first, so if Wales is selected in the first drop down menu, the second won't contain places like London.

    I'm using Dreamweaver.

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Drop down menus - changeing content

    You won't be able to use Dreamweaver for this. Dynamic content will require you to use JavaScript. W3Schools JavaScript Tutorials should get you started down the right path.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Oct 2004
    Posts
    23

    Re: Drop down menus - changeing content

    Thanks, I thought it could be a JavaScript. Looked at W3Schools and can't see anthing along the lines of what I want.

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: Drop down menus - changeing content

    How many items are in the drop-down lists? If it is a lot, coding it by hand is going to be annoying.

    Here is a small example.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured