473,327 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Force index.html

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
2 2244
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
> "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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Yann.K | last post by:
Hello. I have a directory with many files (and dir). In this directory, i have a inde.php file wich display all the file to download. I would like to force the users who come in this directory...
3
by: Phil | last post by:
how do I force a window, pened alone, to be displayed in its frame set? tried this: if (parent.location.href == self.location.href) { window.location.href = '../'; } the problem is that...
7
by: Scott | last post by:
Is there a way to check if the current (web service)connection is using ssl? I'd like to be able to check for this and return an error if the connection isn't secure. I work in a heavily regulated...
2
by: comp.lang.php | last post by:
class ReportGenerator { function ReportGenerator() {} /** * Generate the HTTP headers necessary for this file type. Can be called statically *
2
by: Sergej Prokoviev | last post by:
We are running our site at www.waynesavings.com on secure hosting (Server 2003, IIS). We are using a custom 403.4 error page (called 403_4.asp, located under root) to redirect all users to https if...
1
by: GarryJones | last post by:
I have an existing website at www.scfmotion.se I have now activated a blogg tool which has placed the blogg section at blogg.scfmotion.se. I want to force users to click on a link on...
1
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I force a reload from the server/prevent caching?...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.