Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Ajax Side Panel script

  1. #11
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,957
    Thanks
    43
    Thanked 3,195 Times in 3,157 Posts
    Blog Entries
    12

    Default

    .

    In the future, please post new questions in a new thread, and:

    Warning: Please include a link to the DD script(s) in question in your post. See this post for more information.


    Just:

    Code:
    ddajaxsidepanel.showhidepanel("http://www.cssdrive.com","show");
    is enough as long as the panel script has loaded and initialized, which it might not have. Assuming you have the scripts and css in the head of your page (Step 1 on the demo page), it still takes until jQuery's document ready before the script initializes. So you can try (this is document ready, different than what you have in your post, and waits until after other document ready code in the head, in this case hopefully the main script's initialization):

    Code:
    jQuery(function(){ddajaxsidepanel.showhidepanel("http://www.cssdrive.com","show");});
    If that's not long enough to wait, then (onload of the window):

    Code:
    jQuery(window).load(function(){ddajaxsidepanel.showhidepanel("http://www.cssdrive.com","show");});
    Whichever you do, the browser cache may need to be cleared and/or the page refreshed to see changes.

    If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  2. The Following User Says Thank You to jscheuer1 For This Useful Post:

    srbo (07-07-2013)

  3. #12
    Join Date
    Jul 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    In the future, please post new questions in a new thread, and:
    Warning: Please include a link to the DD script(s) in question in your post. See this post for more information.
    Sorry, the thread is named "Ajax Side Panel script". I thought thats a good idea to post into this, better than to open a new one. Sorry again.

    But ...
    I tried this
    Code:
    jQuery(window).load(function(){ddajaxsidepanel.showhidepanel("http://www.cssdrive.com","show");});
    and it works perfectly.

    Thanks a lot.

Similar Threads

  1. Replies: 2
    Last Post: 03-22-2013, 01:21 AM
  2. Ajax Side Panel script AND Ultimate Fade-in slideshow (v2.4) not getting along.
    By WebDizzy777 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 12-21-2012, 01:31 AM
  3. Ajax Side Panel script works in everything but IE
    By dennisg in forum Dynamic Drive scripts help
    Replies: 8
    Last Post: 11-03-2012, 05:15 AM
  4. Ajax Side Panel script not working properly on my site with IE 9
    By KSRichard in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-11-2012, 07:36 PM

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
  •