Click here to get back home

NEWBIE: Waccess to "frame"d website

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
NEWBIE: Waccess to "frame"d website stephenbottcher 03-15-2006
Get Chitika Premium
Posted by stephenbottcher on March 15, 2006, 8:46 pm
Please log in for more thread options


Hello,

Apologies first of all: dunno if that is a Newbie question or not and
maybe somebody can help.
I have programmed a couple of my own pages just using a texteditor. I
use very simple language and frames. No fancy gimmicks, no jawa, gifs,
colors, fonts or anything, just simple html language with loads of
pictures embedded and text. (See here e.g. www.stephenbottcher.net)

Now here's my question:
1) Say, frame A has a.htm as its source
2) Say, frame B has b.htm and so on
3) the index.htm contains the frame information and subsequently
calls up a.htm and b.htm into the respecting frames.

Now, somebody could directly access a.htm or b.htm and would not see
any of the other frames and contents. The content would not make
sense.

Question:
By using HTML language, is there a way to figure out whether index.htm
had requested the a.htm page or of the request came through from
somewhere else?

The idea is, if I coulsd detect that somebody wanted to access a page
which without the other frames does not make sense (is out of context)
I would immediately redirect the request to the index.htm and
everybody would be happy.

I hope what I say makes sense to somebody.

Anybody?

Thanks. Stephen


Posted by Lars Eighner on March 15, 2006, 10:17 pm
Please log in for more thread options


In our last episode,
the lovely and talented stephenbottcher@yahoo.co.uk
broadcast on comp.infosystems.www.authoring.html:

> By using HTML language, is there a way to figure out whether index.htm
> had requested the a.htm page or of the request came through from
> somewhere else?

> The idea is, if I coulsd detect that somebody wanted to access a page
> which without the other frames does not make sense (is out of context)
> I would immediately redirect the request to the index.htm and
> everybody would be happy.

No. Frames do not make people happy. Think again.


--
Lars Eighner usenet@larseighner.com http://www.larseighner.com/
"We have no opinion on your Arab - Arab conflicts, such as your dispute with
Kuwait." -- Bush's Ambassador April Glaspie, giving Saddam Hussein
the greenlight to invade Kuwait.

Posted by David Dorward on March 16, 2006, 4:34 am
Please log in for more thread options


stephenbottcher@yahoo.co.uk wrote:
> The idea is, if I coulsd detect that somebody wanted to access a page
> which without the other frames does not make sense (is out of context)
> I would immediately redirect the request to the index.htm and
> everybody would be happy.

I once found a website that did that via Google. Except that it was
page "c" that I followed a link to. Some nasty JavaScript detected that
I wasn't viewing it in the frames and redirected me to the index ...
showing me pages 'a' and 'b'. It took me about 10 minutes to figure out
what had happened (after I spent some time trying to find another
website with the information I needed).

Avoid frames, they have many problems (even Netscape, who invented the
damn things, ripped them off their homepage after six months). There
are better alternatives to everything worthwhile that frames do.

http://www.allmyfaqs.net/faq.pl?Problems_with_using_frames

--
David Dorward
http://dorward.me.uk/


Posted by Richard Lionheart on March 16, 2006, 8:36 pm
Please log in for more thread options


David,

Can you point to some examples of using CSS2 to produce frame effects
like the one I'm trying to get working with the following code (only
top level of each tier included).

Thanks in advance for any pointers you can provide.'

Regards,
Richard

Model Presenter.html
-------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Website Development</title>
</head>
<frameset rows="10%,80%,10%">
<frame src="Toolbar.htm" name="Toolbar">
<frameset cols="10%,10%,80%">
<frame src="Topics.htm" name="Topics"/>
<frame src="Subtopics.htm" name="Subtopics/">
<frame src="Workarea.htm" name="Workarea/">
</frameset>
<frame src="Footer.htm" name="Footer"/>
<NOFRAMES>
<BODY>
<H1>Table of Contents</H1>
<UL>
<LI><A HREF="http://www.htmlhelp.com/reference/html40/">HTML
4.0 Reference</A></LI>
<LI><A HREF="http://www.htmlhelp.com/reference/wilbur/">HTML
3.2 Reference</A></LI>
<LI><A HREF="http://www.htmlhelp.com/reference/css/">CSS
Guide</A></LI>
</UL>
</BODY>
</NOFRAMES>
</frameset>
</html>

Topics
---------
<html>
<body bgcolor="#8F8FBD">
<h3>topics</h3>
<a href="Topic1.htm" target="Subtopics">Topic1</a>
<a href="Topic2.htm" target="Subtopics">Topic2</a>
<a href="Topic3.htm" target="Subtopics">Topic3</a>
</body>
</html>

Topic1
---------
<html>
<body>
<h3>Topic1</h3>
                <a href="Topic1A.htm" target="workarea">Topics1a</a><br>
                <a href="Topic1B.htm" target="workarea">Topics1b</a><br>
                <a href="Topic1C.htm" target="workarea">Topics1c</a>
</body>
</html>

Topic1A
------------
<html>
<body bgcolor="#8F8FBD">
<h3>Topic1a</h3>
suodoku quadsomat stuamcolorum adsoporus
emsoduum wampum nastrovis ebulious epsodor
begulaurum aftosutus begularum arim adorus
</body>
</html>


Posted by David Dorward on March 17, 2006, 3:07 am
Please log in for more thread options


Richard Lionheart wrote:

> Can you point to some examples of using CSS2 to produce frame effects
> like the one I'm trying to get working with the following code (only
> top level of each tier included).

http://www.allmyfaqs.net/faq.pl?Problems_with_using_frames

The section "What are the alternatives to using frames?" (along with Google
of course).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

Similar ThreadsPosted
newbie frame question December 19, 2004, 9:58 pm
NEWBIE: Direct or indirect access to "frame"d webpage March 15, 2006, 8:31 pm
Old Website Opens in New Website's Main Frame November 2, 2006, 10:00 am
Link in a one frame change content of another frame. October 7, 2005, 1:30 pm
What's Wrong with My Frame Set August 29, 2004, 8:49 pm
please help with frame navigation February 12, 2005, 9:16 pm
Frame problems... February 15, 2006, 12:08 am
frame and scrollbar July 1, 2006, 5:55 am
How to make such a frame? August 31, 2007, 5:04 am
How to force a page to be into a frame? October 8, 2005, 5:47 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap