Results 1 to 3 of 3

Thread: Help Combining 2 DD Scripts To Get A Certain Effect

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

    Default Help Combining 2 DD Scripts To Get A Certain Effect

    1) Script Title:
    - Ajax Tabs Content
    - Featured Content Slider

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

    3) Describe problem:
    I'm not the strongest developer in the world so I definitely need some help here. Anything you can offer would be greatly appreciated. Thank you.

    I'm trying to combine these two DD scripts to create AJAX Tabs with content in them that fade or rotate out, but you can still use the "controls" to manually navigate them, too.

    Basically, I'm trying to create a "Carousel" style Feature Content Loader that is not Flash, but works and looks like this:

    http://www.cnet.com/
    http://www.download.com/

    I tried snagging the pieces from their scripts, but it is way too complex and there are too many parts to it.

    Thanks, again, for any help

    -Adam

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    See:

    http://www.dynamicdrive.com/forums/s...ad.php?t=13003

    The content slider doesn't have an onload initialization per se though. It uses this bit of code (from the demo page, essential part highlighted red):

    Code:
    <script type="text/javascript">
    //Define: ContentSlider("slider_ID", [autorotate_miliseconds], [custompaginatelinkstext], [customnextlinktext])
    ContentSlider("slider1")
    //OR ContentSlider("slider1", 3000)
    //OR ContentSlider("slider1", 3000, linktextarray)
    //OR ContentSlider("slider1", 3000, linktextarray, "Foward")
    //OR ContentSlider("slider1", "", linktextarray)
    //OR ContentSlider("slider1", "", "", "Foward")
    </script>
    To initialize the slider once its HTML portion has been written to the page by the Ajax script.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    Default Thank you, but still needing MORE help.

    I kind of understand more. I found this on the DD page for the AJAX Tab Content. Is this relevant?

    Selecting a tab dynamically
    You can dynamically select a tab anywhere on the page by calling the method:

    expandtab(tabcontentid, tabnumber)
    Is there a way that I can use the DD Content Fader with this code to call or cycle through the tabs generated by the AJAX Tabs code? Will that work?

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
  •