|
Posted by Stephen on March 15, 2006, 8:34 pm
Please log in for more thread options
Hello,
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 Mark Parnell on March 15, 2006, 9:11 pm
Please log in for more thread options
Deciding to do something for the good of humanity, Stephen
comp.infosystems.www.authoring.html:
show/hide quoted text
> 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.
Welcome to one of the many problems with frames.
show/hide quoted text
> 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?
No. HTML can't *do* anything. It merely describes the structure of the
content.
show/hide quoted text
> 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.
It can be done with Javascript, but that won't work for anyone with
Javascript disabled/unavailable.
Best solution is to ditch the frames.
--
Mark Parnell
Now implementing http://blinkynet.net/comp/uip5.html
|
|
Posted by David E. Ross on March 16, 2006, 11:47 pm
Please log in for more thread options
Stephen wrote:
show/hide quoted text
> Hello,
>
> 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
After I load your page with frames, I might want to view each frame in a
separate tab within my browser window. This is a capability of my
browser. You want to prevent me from doing this?
--
David E. Ross
show/hide quoted text
<http://www.rossde.com/>
Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
show/hide quoted text
See my <http://www.rossde.com/PGP/>
|
|
Posted by Harlan Messinger on March 17, 2006, 9:36 am
Please log in for more thread options
Stephen wrote:
show/hide quoted text
> Hello,
>
> 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.
Which is one of the reasons why it's best not to use frames.
show/hide quoted text
>
> 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?
Usually, but not reliably.
|
| Similar Threads | Posted | | NEWBIE: Direct or indirect access to "frame"d webpage | March 15, 2006, 8:31 pm |
| HTML and MS Access | February 5, 2005, 6:27 pm |
| Access key that actually follows a link | August 16, 2005, 5:47 am |
| Web page access | October 30, 2005, 10:13 pm |
| Designing specifically for PDA access | April 17, 2008, 2:21 am |
| how to count crawler access? | February 17, 2009, 2:13 pm |
| URL for direct access - Javascript hides it | October 19, 2005, 1:48 am |
| Can't directly access my web page through hyperlink | December 11, 2006, 5:45 pm |
| for tomlin: very brilliant nntp access - ros - (1/1) | March 31, 2007, 7:10 pm |
| How to access the authenticated third party url through weblink? | November 15, 2007, 12:09 am |
|
> any of the other frames and contents. The content would not make
> sense.