Results 1 to 3 of 3

Thread: combine overlapping content script w/ ajax mysql php

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

    Default combine overlapping content script w/ ajax mysql php

    1) Script Title: dropdown/ overlappingcontent script

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

    3) Describe problem: Hello...This script is so great and I'd love to use it. But I need to populate my dropdowns with dynamic content. Can this script be combined w/ ajax to gather dynamic content? Or is there an alternate script you'd recommend?

    Thanks!
    Rachel W.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Sure, try the below modified dropdowncontent.js. Then, for the drop down content you wish for its contents to be fetched via Ajax instead, the anchor link for it would look like this:

    Code:
    <p>Demo #1: <a href="http://www.dynamicdrive.com/forums/" id="searchlink" rel="subcontent" rev="test.htm">Search DD</a></p>
    In other words, throw in a "rev" attribute pointing to the file name on your server. If this attribute is detected, the script will fetch "test.htm" and load it inside the drop down content with ID "subcontent".

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

    Default

    Thanks!

    I will try this solution in the next few days and get back to you.

    -Rachel

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
  •