www.webdeveloper.com
Results 1 to 2 of 2

Thread: Avoid iframe File Not Found Error on Page Load

  1. #1
    Join Date
    Feb 2013
    Posts
    12

    Avoid iframe File Not Found Error on Page Load

    Hi Everyone,
    I have an iframe on one of my pages and the error message, File Not Found, is displayed inside of the iframe as soon as the page loads. However, after the page loads if I click on a link which was coded to display another page in the iframe, the iframe would display the page as it should. My question is how do I make the iframe display something other than the File Not Found Error message when the page loads. Any suggestions will be greatly appreciated, thanks in advance for your help.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,148
    Your description sounds like one of two things are happening: Either the URL in the 'src' attribute of the <iframe> changes when you reload the page so it works the second time, or there's a problem with the document being used in the <iframe>. Without seeing your actual code, there's no way to tell.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles