Results 1 to 3 of 3

Thread: init Accordion Content script and others $(document).ready(function(){

  1. #1
    Join Date
    Apr 2008
    Location
    France
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default init Accordion Content script and others $(document).ready(function(){

    1) Script Title: Accordion Content script

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

    3) Describe problem: How to use ddaccordion with others scripts that use "$(document).ready(function(){" .

    In my last .js I have the "ddaccordion.init({ ..." , plus some lines as :
    $(document).ready(function(){
    function1();
    function2();
    });

    But it does not work, as, I suppose, there is another $(document).ready(function(){ inside the ddaccordion.js .

    How to make it works ?

    Thanks in advance.

    Christophe

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

    Default

    It shouldn't matter with the latest version (v1.4), since it doesn't call jQuery.noConflict() at the beginning. What version of DD Accordion are you using?

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    christopheL (06-16-2008)

  4. #3
    Join Date
    Apr 2008
    Location
    France
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hello,

    You were right, I was using the v1.3 script.

    Now, with v1.4 it works ! Great !

    Thanks very much.

    Christophe

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
  •