473,666 Members | 2,238 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.hr ef = "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 2268
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**********@h ouston.rr.com> wrote:
news:11******** **************@ f14g2000cwb.goo glegroups.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.hr ef = "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
1781
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 to download only from the index.php. I would that they cann't copy the link from the index.php page and paste it in the url adresse field, but that tey can only clic on the link on the index.php.
3
2707
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 the original page is replaced by the main.htm page (the default page for the 'main' frame)., because the open event of the menu page
7
5244
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 industry and can't send data over a non-secure connection. Thanks. Scott C.
2
2310
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
4117
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 they come in on http. The site is also using an instant refresh on the index.htm page under root to www.waynesavings.com/aboutus/home.htm due to issues with the javascript menus used on the site. The code we're using on the custom 403 page is...
1
1608
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 www.scfmotion.se to get to blogg.scfmotion.se Any php tricks to do this? The tool created a folder called www.scfmotion.se/blogg with 3 files called index.html, rss.xml and rss.xsl. The code for this index.html file is...
1
429
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I force a reload from the server/prevent caching? ----------------------------------------------------------------------- To reload a page, use location.reload(). However, this depends upon the cache headers that your server sends. To change this, you need to alter the server configuration. A quick fix on the client is to change the page URI so...
0
8355
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8866
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7381
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6191
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4193
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4365
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2769
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2006
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1769
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.