Checking an IFrame's contents

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • toxicpaint
    New Member
    • Sep 2006
    • 58

    Checking an IFrame's contents

    Hi,

    I'm currently building an intranet. I have built a dynamic message viewer that is hosted on an internal server and is blocked to the general public as it's locked down to the subnet.

    I've configured the intranet so that internal people can access it without a username and password - unless they are working from home. They need to log in with a username a password, but the dynamic stuff won't show up because they're off site.

    I'm pulling this data into a IFrame and was wondering if there was any way I could check to see if the iframe has been populated with an error page and reirect it to a prettier page with a padlock on or somthing.

    Thanks,

    Tom
  • mrhoo
    Contributor
    • Jun 2006
    • 428

    #2
    Use the server, Luke.

    javascript is a lovely language, but it is not the only tool in the shed.

    Comment

    • toxicpaint
      New Member
      • Sep 2006
      • 58

      #3
      Originally posted by mrhoo
      Use the server, Luke.

      javascript is a lovely language, but it is not the only tool in the shed.
      Hi Luke,

      I can't use the server as it can only be seen by the subnet. It's completely blocked by a firewall so no-one outside of the subnet can see anything published on it - which is why people will get an error page in the iframe..

      Cheers,

      Tom

      Comment

      Working...