Inline Frame

A

AA

I am hoping there's someone out there who will be able to
help. I am designing an electronic library in HTML format
to be published on a CD. On the default page I have an
inline frame with the initial page set to a website.

What I really would like is that when the user inserts the
CD and there is an Internet connection, the initial page
is uploaded directly from the web.

However, if there is no Internet connection then I want a
particular text to be displayed. How can I do this? I am
sure somebody must have written a simple code for this
before. Any help out there?

Pls kindly reply to my email address. Cheers!
 
S

Steve Easton

<imho>

The simplest way would be to have the initial page
open displaying the default "offline" content in the iframe,
which contains a link to the online page that opens in a new
browser window.
The reasons being, if the user leaves the CD based
"domain" to open a page on the server:
1. Cross domain Scripting security issues will prevent
them from getting back to the CD based web.
2. You can't effectively link back to the CD from
the opened web page because of reason 1 above, and
also because you won't know their CD drive letter even if
1 above was not an issue.

3. The additional advantage to this method is that clicking
the link ( on a Windows / Internet Explorer machine )
will launch the browser and logon process even when offline.

</imho>
hth
 
G

Guest

Thanks guys...Seems like a difficult one to solve!

I have used java script to start the CD with loading a temporary page which then loads the website automatically after 10seconds if there is an Internet connection.

The problem now is that if there is no internet connection, I haven't found a way to go back to my initial page...which is what I really would like. David Berry...been looking at the VB script...no joy yet.
 
R

Ronx

Have a look at http://tech.irt.org/articles/js062/index.htm
It's not a solution, but is vaguely related to your problem and may give you
an idea on how to proceed.

--
Ron

Reply only to group - all emails will be deleted unread.


AA said:
Thanks guys...Seems like a difficult one to solve!

I have used java script to start the CD with loading a temporary page
which then loads the website automatically after 10seconds if there is an
Internet connection.
The problem now is that if there is no internet connection, I haven't
found a way to go back to my initial page...which is what I really would
like. David Berry...been looking at the VB script...no joy yet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top