Results 1 to 8 of 8

Thread: Animated Collapsible DIV collapse2 has no properties

  1. #1
    Join Date
    Jan 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible DIV collapse2 has no properties

    1) Script Title:
    Animated Collapsible DIV
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...edcollapse.htm
    3) Describe problem: Error: collapse2 has no properties
    Source File: javascript:collapse2.slideit()
    Line: 1


    okay i know this is bull, i ran it on a clean page.. and it worked.. i then inserted on top of my other page where i would be using this..
    http://yournight.com/dev/insindex.php
    and no go.. if only i can get a menu to collapse id be happy

  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

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.


    It looks like you skipped Step 2 though.

    Edit: Ah, the problem appears to be that the Step 2 is in an iframe and the main script's external script tag is on the top page. Both must be on one page, I vote for the page in the iframe.
    Last edited by jscheuer1; 01-06-2008 at 03:25 PM. Reason: add info
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    say again? I have no clue what you mean.. im not using iframe, the pages are being injected using ajax, and php.
    as for the usages terms, its there just in php so it didnt show it, but i put it where you can see it.. and tell you what if you or someone can get these scripts to work in the way that im using them.. i'll drop a nice logo to your site linking you.
    pretty much i want the blue bars in the content part of the page tobe collapsable..

    also wanted to know why the page gets redirected in IE.. i was reading another post about it, but it didnt help. the site breaks with the tab content script inside it.

  4. #4
    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

    IDK, there was an iframe or frame on the page when I checked it the first time. It looks different now. If that was an aberration, then you need to initialize the links on the imported content after they are on the page, not before.

    Please restore the script credit first.

    This is how it looked before (click for larger view):
    Attachment 1512
    Last edited by jscheuer1; 01-06-2008 at 08:21 PM. Reason: add image
    - John
    ________________________

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

  5. #5
    Join Date
    Jan 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i did restore the credits

  6. #6
    Join Date
    Jan 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    IDK, there was an iframe or frame on the page when I checked it the first time. It looks different now. If that was an aberration, then you need to initialize the links on the imported content after they are on the page, not before.

    Please restore the script credit first.

    This is how it looked before (click for larger view):
    Attachment 1512
    okay well i looked and the credits are there, how many time you want me to list the same credits? its on the main page that is doing the loading where the js file is called in..

    anywho, yeah i only put the iframe there for testing purposes.. its been removed.. all the links are being called in with ajax now.. to an internal file to display..

    still crashes in IE though.. anyone know the reason the site is trying to reload in IE? then comes back with a page not found? I guess i can review the httpd logs on the server, to see what page its trying to call back.

  7. #7
    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

    If you were to read the link to the Usage Policy that I already posted, or even what I first posted about it, you would know that the credit must be used on all pages that use the script.

    Frankly, if you cannot follow even such simple instructions, why should I waste my time trying to instruct you as regards a more complex situation like resolving your script problem(s)?
    - John
    ________________________

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

  8. #8
    Join Date
    Jan 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    okay no problem, i'll drop them in on the top of all my pages so there is no conflict.

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
  •