Results 1 to 7 of 7

Thread: What is wrong?

  1. #1
    Join Date
    Aug 2009
    Posts
    399
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default What is wrong?

    Hi,

    I have ajax script in my website and when I pushed on image which is connected with that script I got that message. I attached it here:[What is wrong with this Thing?]



    Kind regards, Aurimas

  2. #2
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    Try using an image that is saved on your server.

    Looks like you're using an image directly from another site (hotlinking), and that's why it's asking for authentication.

  3. #3
    Join Date
    Aug 2009
    Posts
    399
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default

    Those images are saved on my server...

  4. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    are you electrictoolbox.com?
    -if not-
    are you sure your script is configured correctly?

    What is the script trying to retrieve?

  5. #5
    Join Date
    Aug 2009
    Posts
    399
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default

    I just found something with that website:
    PHP Code:
    function example_ajax_request(page){
      $(
    '#example-placeholder').html('<br/><img src="http://www.electrictoolbox.com/images/ajax-loader.gif" width="220" height="19"/><br/>');
      
    setTimeout(function(){example_ajax_request_go(page);}, 500);

    Its not about ajax... its about GIF loading picture. I will just change the source to my image from my server...

    Thanks for quick help anyway...
    Last edited by auriaks; 12-15-2010 at 02:55 AM.

  6. #6
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    there ya go...

    glad you figured it out :: thumbsup ::

  7. #7
    Join Date
    Dec 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    function example_ajax_request(page){
    $('#example-placeholder').html('<br/><img src="http://www.electrictoolbox.com/images/ajax-loader.gif" width="220" height="19"/><br/>');
    setTimeout(function(){example_ajax_request_go(page);}, 500);
    }


    ?

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
  •