By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,480 Members | 1,231 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,480 IT Pros & Developers. It's quick & easy.

Force index.html

P: n/a
I've found a script that will force-load index.html. It is below:
(thanks to the authors!)

<!-- Hide script from old browsers
// This script copyright 1997, Tom Negrino and Dori Smith.
// This script is from "JavaScript for the WWW, Visual QuickStart
Guide, 2nd Ed."
// For more information, see <http://www.chalcedony.com/java
script/>.
// This script may be used and modified, but the copyright notice
must remain intact.
if (top.location == self.location) {
// change the url below to the url of the
// frameset page...
top.location.href = "index.html";
}
// End -->

This script quite nicely takes you back to my index page. I would like
to know if anyone out there knows how to make it load the page you
wanted. My line of thinking is, if you want to load
http://home.houston.rr.com/harrymanf...7.18.2005.html, it
would load the index page with navframes (I know - don't give me a hard
time about frames! :), then, in the main-frame load
archives/07.18.2005.html.

Any ideas?

Adios,
Clay

Sep 8 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Clay Harryman wrote:
<snip>
(I know - don't give me a hard time about frames! :)

<snip>

And don't give your visitors a hard time about viewing your site without
the frames if they want to.

http://webtips.dan.info/force.html

Stewart.

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS-
PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox. Please keep replies on
the 'group where everyone may benefit.
Sep 8 '05 #2

P: n/a
> "Clay Harryman" <cl**********@houston.rr.com> wrote:
news:11**********************@f14g2000cwb.googlegr oups.com....

I've found a script that will force-load index.html. It is below:
(thanks to the authors!)

<!-- Hide script from old browsers
// This script copyright 1997, Tom Negrino and Dori Smith.
// This script is from "JavaScript for the WWW, Visual QuickStart
Guide, 2nd Ed."
// For more information, see <http://www.chalcedony.com/java
script/>.
// This script may be used and modified, but the copyright notice
must remain intact.
if (top.location == self.location) {
// change the url below to the url of the
// frameset page...
top.location.href = "index.html";
}
// End -->

This script quite nicely takes you back to my index page. I would like
to know if anyone out there knows how to make it load the page you
wanted. My line of thinking is, if you want to load
http://home.houston.rr.com/harrymanf...7.18.2005.html, it
would load the index page with navframes (I know - don't give me a
hard time about frames! :), then, in the main-frame load
archives/07.18.2005.html.

Any ideas?

Adios,
Clay


The following may be an example of what you are looking for.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title></title>
</head>

<body>
<iframe src="http://i.1asphost.com/BootNic/BibleKJVR/1Peter.htm" width="700"
height="400"></iframe>
</body>
</html>
--
BootNic Saturday, September 10, 2005 3:39 PM

When you're having a really bad day and it seems like people are trying to piss you off, remember it
takes 42 muscles to frown but only 4 to extend your finger and flip them off.
*Unknown*

Sep 10 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.