Results 1 to 6 of 6

Thread: Dynamic Ajax Content: Nothing is loaded into my DIV

  1. #1
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax Content: Nothing is loaded into my DIV

    Dynamic Ajax Content
    http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    This was just what I was looking for. I tested the ajaxcars.zip and it worked. I've then implemented the script exactly as described but so far I can't get it to load any content into my DIV.

    The test page is here:

    http://test.egetrae.dk/egogkvalitet.php

    Clicking on the first 8 links should load content into the section below but nothing happens.

    If anyone can help I would be grateful!

    Thanks.

    / Michael Englyst | Bitboy

  2. #2
    Join Date
    Dec 2006
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    1)
    put js file in your host????

    you can see error of javascript with: fire fox >> tools >> java scripte consol

    your error : ajaxpage is not define

    2)

    <a href=javascript:ajaxpage('details/detail-egearterne.htm', 'detaljer'); loadobjs('css/iframestyles.css');>link </a>

    change to :
    <a href='javascript:ajaxpage('details/detail-egearterne.htm', 'detaljer'); ' onclick='loadobjs('css/iframestyles.css');'> Link </a>
    Last edited by navid; 12-15-2006 at 09:39 AM.

  3. #3
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well somehow it still won't load properly. The code I put it looks like this:

    <a href="javascript:ajaxpage('details/detail-egearterne.htm', 'detaljer');'onclick='loadobjs('css/iframestyles.css');">Egearterne</a>

    Still nothing. I checked the original code from the example and it looks allright.
    Last edited by Bitboy; 12-15-2006 at 09:41 AM.

  4. #4
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm having a similar problem with the script.

    http://www.getstarstruck.us/nutshell/ <- is the site I am working on. It works PERFECTLY in Firefox, but it doesn't work in Internet Explorer. Now... The demo works in both, but using the same exact code my page will not work in Internet Explorer and I have no idea what I can do to fix it. I went through and it isn't loading behind anything, got rid of the onload command and it still acts the same when one of the links is clicked. The whole div just disappears.

    Only the first two links work as of right now, haven't completed the others. But in Firefox they load just fine, but they will not run in Internet Explorer 7!

    Can anyone help me figure this out?

  5. #5
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    It works on my machine...
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  6. #6
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    In IE 7? It won't work on mine no matter what I do. The div disappears. It does it to my friend too.

    EDIT: Since you said that, I went back and looked... all of a sudden it's working for us too. I wonder if it was just something with my hosting... Who knows, but it seems to have worked itself out.

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
  •