Results 1 to 5 of 5

Thread: dynamic ajax content bug in MSIE?

  1. #1
    Join Date
    Jul 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default dynamic ajax content bug in MSIE?

    1) Script Title: 'Dynamic Ajax Content'

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

    3) Describe problem:

    Hi everyone,

    I'm implementing Dynamic Drive's 'Dynamic Ajax Content' code into a webpage. It works great on every browser except on MSIE 6.0.

    This is the page that is giving me an error:
    http://www.americanbabies.net/v3/news.html

    The error is:
    Error: 'document.getElementByld[...]' is null or not an object

    On other browsers like Safari, the "news" content page automatically loads. On MSIE, it is blank beneath the menu and I receive this error. I must click the "news" link to have the 'news' content appear, even though I installed the script to have this automatically load.

    Any help will be very much appreciated!!

    Thanks,
    Adam

  2. #2
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default

    Sorry, but not to be too harsh or anything. I believe the DD terms of use say that you have to keep credit notice:
    Code:
    /***********************************************
    * Dynamic Ajax Content- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    http://dynamicdrive.com/notice.htm

  3. #3
    Join Date
    Jul 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for the tip, the disclaimer is now inserted.

  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

    This:

    Code:
    <script type="text/javascript">
    ajaxpage('first.html', 'contentarea') 
    </script>
    needs to go after this:

    HTML Code:
    <div id="contentarea"></div>
    - John
    ________________________

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

  5. #5
    Join Date
    Jul 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    again, thank you!

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
  •