Results 1 to 3 of 3

Thread: Chained Select Menu inside divs

  1. #1
    Join Date
    Dec 2005
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Chained Select Menu inside divs

    1) Script Title: Chained Select Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

    3) Describe problem: The script works fine until I place the form inside a div.
    The div details are:
    <div id="content">
    <h3 class="style7">Training & Development</h3>
    <span class="style3">
    <a href="training_forms.asp">Training & Development Forms</a></br>
    </br>
    <form name="listmenu0">
    chain select form details
    </form>
    </span>
    </div>

    And my css for the div is:
    #content {
    margin: 0 0 20px 160px;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    padding: 0 10px 0 10px;
    line-height: 1.6em;
    text-align: left;
    }

    Is there a reason for this? Can anyone help?
    Live url cannot be supplied as this is for an Intranet.
    Cheers
    Mark

  2. #2
    Join Date
    Dec 2005
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Don't worry (i'm sure it was troubling everyone) I realised that the word "content" is used in the file "chaindmenu.js" and this is also the name of my div.

    I replaced "content" with "cntent" in the js file and it works a treat.

    Thanks
    Mark

  3. #3
    Join Date
    Dec 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you SkinnyBobb for this answer, I've been trying to fix this all day!

Bookmarks

Posting Permissions

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