Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Keep page in frameset

 
Goto page 1, 2
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  last minut  
Author Message
neutje

External


Since: Jul 12, 2003
Posts: 6



(Msg. 1) Posted: Mon May 03, 2004 6:40 am
Post subject: Keep page in frameset
Archived from groups: alt>www>webmaster (more info?)

Hi,

is it possible to let a page stay in the frameset,
so when a single page is loaded, the whole frameset is loaded


greetz,
neutje
www.neutje.be

 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
no_miranda_spa

External


Since: Apr 25, 2004
Posts: 77



(Msg. 2) Posted: Mon May 03, 2004 2:36 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Neut David" <neutje.TakeThisOut@neutje.be> wrote in message
news:c747v9$hb3$1@reader13.wxs.nl...
 > Hi,
 >
 > is it possible to let a page stay in the frameset,
 > so when a single page is loaded, the whole frameset is loaded
 >
 >
 > greetz,
 > neutje
<font color=purple> > <a style='text-decoration: underline;' href="http://www.neutje.be</font" target="_blank">www.neutje.be</font</a>>
 >


Make sure each of your frames has a name; then you can make sure each link
to a page it targeted. This will make sure a page loads inside the right
frame on your page. Example;

<frameset cols="200,*">
<frame name="menu" src="menu.htm"></frame>
<frame name="content" src="welcome.htm"></frame>
</frameset>


.... then inside your menu, links would read:

click me for page 1<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
who

External


Since: Apr 29, 2004
Posts: 1010



(Msg. 3) Posted: Mon May 03, 2004 6:10 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Neut David" <neutje.TakeThisOut@neutje.be> wrote in message
news:c747v9$hb3$1@reader13.wxs.nl...
 > Hi,
 >
 > is it possible to let a page stay in the frameset,
 > so when a single page is loaded, the whole frameset is
loaded
 >
yes<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
sbryce1

External


Since: Jan 24, 2004
Posts: 425



(Msg. 4) Posted: Mon May 03, 2004 6:10 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bill Logan wrote:

 > yes

I was about to tell him "No." Either we understood the question
differently, or one of us doesn't consider a JavaScript-dependent
solution a real solution, or the other one of us knows something that
the first one of us didn't think of.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
spamxxx

External


Since: Apr 27, 2004
Posts: 93



(Msg. 5) Posted: Mon May 03, 2004 6:10 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

While sitting in a puddle Scott Bryce scribbled in the mud:

 > Bill Logan wrote:
 >
  >> yes
 >
 > I was about to tell him "No." Either we understood the question
 > differently, or one of us doesn't consider a JavaScript-dependent
 > solution a real solution, or the other one of us knows something that
 > the first one of us didn't think of.
 >
 >

With talk like that you should go into politics.

--
Duende<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
who

External


Since: Apr 29, 2004
Posts: 1010



(Msg. 6) Posted: Mon May 03, 2004 7:29 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Scott Bryce" <sbryce DeleteThis @scottbryce.com> wrote in message
news:109bh0lqs0omhfe@corp.supernews.com...
 > Bill Logan wrote:
 >
  > > yes
 >
 > I was about to tell him "No." Either we understood the
question
 > differently, or one of us doesn't consider a
JavaScript-dependent
 > solution a real solution, or the other one of us knows
something that
 > the first one of us didn't think of.
Or both of us are going around in circles until we disappear
up the fundamental!

I was not aware JS was involved ?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
sbryce1

External


Since: Jan 24, 2004
Posts: 425



(Msg. 7) Posted: Mon May 03, 2004 7:29 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bill Logan wrote:

 > I was not aware JS was involved ?

If I understood the question, the OP has a particular web page that he
only wants displayed inside of a frameset. He wants some way to insure
that if someone links to that page directly, the entire frameset will
display. This can be done with JavaScript.

It appears that you have a better server-side solution. I have a funny
feeling .htaccess is involved. Having no personal experience with
..htaccess, it is a solution I wouldn't think of.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
neutje

External


Since: Jul 12, 2003
Posts: 6



(Msg. 8) Posted: Mon May 03, 2004 7:29 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

where do i find this javascript?

"Scott Bryce" <sbryce RemoveThis @scottbryce.com> schreef in bericht
news:109bk60jkq81nd1@corp.supernews.com...
 > Bill Logan wrote:
 >
  > > I was not aware JS was involved ?
 >
 > If I understood the question, the OP has a particular web page that he
 > only wants displayed inside of a frameset. He wants some way to insure
 > that if someone links to that page directly, the entire frameset will
 > display. This can be done with JavaScript.
 >
 > It appears that you have a better server-side solution. I have a funny
 > feeling .htaccess is involved. Having no personal experience with
 > .htaccess, it is a solution I wouldn't think of.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
spamblocked1

External


Since: Sep 19, 2003
Posts: 3499



(Msg. 9) Posted: Mon May 03, 2004 9:33 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Duende wrote:
 > While sitting in a puddle Scott Bryce scribbled in the mud:
 >
  >> Bill Logan wrote:
  >>
   >>> yes
  >>
  >> I was about to tell him "No." Either we understood the question
  >> differently, or one of us doesn't consider a JavaScript-dependent
  >> solution a real solution, or the other one of us knows something that
  >> the first one of us didn't think of.
 >
 > With talk like that you should go into politics.

or systems/business analysis.

--
William Tasso<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
spamblocked1

External


Since: Sep 19, 2003
Posts: 3499



(Msg. 10) Posted: Mon May 03, 2004 9:35 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Neut David wrote:
 > Hi,

Hello

 > is it possible to let a page stay in the frameset,

don't use frames - they make your hair fall out and your tinkie will shrivel
up.

--
William Tasso<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
who

External


Since: Apr 29, 2004
Posts: 1010



(Msg. 11) Posted: Mon May 03, 2004 9:39 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Scott Bryce" <sbryce DeleteThis @scottbryce.com> wrote in message
news:109bk60jkq81nd1@corp.supernews.com...
 > Bill Logan wrote:
 >
  > > I was not aware JS was involved ?
 >
 > If I understood the question, the OP has a particular web
page that he
 > only wants displayed inside of a frameset. He wants some
way to insure
 > that if someone links to that page directly, the entire
frameset will
 > display. This can be done with JavaScript.
 >
 > It appears that you have a better server-side solution. I
have a funny
 > feeling .htaccess is involved. Having no personal
experience with
 > .htaccess, it is a solution I wouldn't think of.

..htaccess is one way - I would be more inclined to use an
alias in the httpd.conf, e.g.
alias pagename.html NameOfFrameSetPage
assuming the NameOfFrameSetPage contains the required
pagename.html in the required frame.

That is, if what you think the OP wants is what the OP
wants:-)
If what the OP wants is not what you think the OP wants then
perhaps the OP oughta tell us in a bit more detail Sad(<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
no_miranda_spa

External


Since: Apr 25, 2004
Posts: 77



(Msg. 12) Posted: Mon May 03, 2004 9:39 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Bill Logan" <who DeleteThis @what.com> wrote in message news:4095e8af$1@clear.net.nz...
 >
 > "Scott Bryce" <sbryce DeleteThis @scottbryce.com> wrote in message
 > news:109bk60jkq81nd1@corp.supernews.com...
  > > Bill Logan wrote:
  > >
   > > > I was not aware JS was involved ?
  > >
  > > If I understood the question, the OP has a particular web
 > page that he
  > > only wants displayed inside of a frameset. He wants some
 > way to insure
  > > that if someone links to that page directly, the entire
 > frameset will
  > > display. This can be done with JavaScript.
  > >
  > > It appears that you have a better server-side solution. I
 > have a funny
  > > feeling .htaccess is involved. Having no personal
 > experience with
  > > .htaccess, it is a solution I wouldn't think of.
 >
 > .htaccess is one way - I would be more inclined to use an
 > alias in the httpd.conf, e.g.
 > alias pagename.html NameOfFrameSetPage
 > assuming the NameOfFrameSetPage contains the required
 > pagename.html in the required frame.
 >
 > That is, if what you think the OP wants is what the OP
 > wants:-)
 > If what the OP wants is not what you think the OP wants then
 > perhaps the OP oughta tell us in a bit more detail Sad(


blah complex!<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
sp_bhuisman

External


Since: Jun 27, 2003
Posts: 571



(Msg. 13) Posted: Mon May 03, 2004 9:39 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 3 May 2004 18:39:20 +1200, Bill Logan <who RemoveThis @what.com> wrote:

  >> It appears that you have a better server-side solution. I
 > have a funny
  >> feeling .htaccess is involved. Having no personal
 > experience with
  >> .htaccess, it is a solution I wouldn't think of.
 >
 > .htaccess is one way - I would be more inclined to use an
 > alias in the httpd.conf, e.g.
 > alias pagename.html NameOfFrameSetPage
 > assuming the NameOfFrameSetPage contains the required
 > pagename.html in the required frame.

Because HTML is stateless, how can you tell the difference between a call
to pagename.html from the address bar or external link, and a call to the
same page from the frameset? That sort of Alias would be an endless loop.

I'm actually quite interested in seeing a working httpd.conf solution
which can detect whether or not a page is loading in frames on the client
side. Go ahead, Bill. Let's see your magic.

Grey

--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- <a style='text-decoration: underline;' href="http://www.greywyvern.com" target="_blank">http://www.greywyvern.com</a> - Orca Knowledgebase: Completely CSS styleable
Knowledgebase/FAQ system<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
user318

External


Since: Nov 28, 2003
Posts: 50



(Msg. 14) Posted: Mon May 03, 2004 11:05 pm
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Neut David" <neutje DeleteThis @neutje.be> wrote in news:c747v9$hb3$1@reader13.wxs.nl:

 > Hi,
 >
 > is it possible to let a page stay in the frameset,
 > so when a single page is loaded, the whole frameset is loaded
 >

Set the target attribute in your link to one of these:

"_blank" The browser should load the page in a new, unnamed window.

"_self" The browser should load the document in the same frame.

"_parent" The browser should load the document into the immediate FRAMESET
parent of the current frame. This value is equivalent to _self if the
current frame has no parent.

"_top" The browser should load the document into the full, original window
(thus canceling all other frames). This value is equivalent to _self if the
current frame has no parent.

Hope that helps

--
Content management without scripts or database
News Updater: <a style='text-decoration: underline;' href="http://www.xmlssoftware.com/NUpdater" target="_blank">http://www.xmlssoftware.com/NUpdater</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
sbryce1

External


Since: Jan 24, 2004
Posts: 425



(Msg. 15) Posted: Tue May 04, 2004 1:12 am
Post subject: Re: Keep page in frameset [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Neut David wrote:

 > where do i find this javascript?

I do very little JavaScript anymore. I really don't want to take the
time to work it out. Someone who is JavaScript proficient could probably
write it very quickly off the top of his head. Perhaps you could ask in
a JavaScript newsgroup. It would be a single line in the OnLoad event in
the body tag of the page that must be in the frame. It would be similar
to a break frames script.

Keep in mind that a JavaScript solutions are not bullet proof.


OK, I did a quick Google search and found the code below. I think it
will do what you want. Replace 'index.html' with the page that defines
the frame set.


<script language="Javascript">
<!--
if (top.location == self.location) {

top.location = 'index.html'

}
//-->
</script><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Keep page in frameset 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Link to open a frameset page to a specific url in a frame? - I know I've done this in the past, but dang, I forget how I did it! If you know how its done, I'd sure appreciate it if you would share that info with me. I want to go from a non-frames page to open a frameset and then to open a specific url into the..

New Page won't come up. - I run a site for my group. From the main page, there is a link to the group's history (page name 'history.html') The member writing it sent me an updated version, which I uploaded (replacing the previous version). Many members are telling me they continu...

page expiration - IE6 a user of a web database app I support complains about getting the "This page has expired" page when paging back. So he has to refresh (and process re-run) But It does not happen on my system. I don't get the expiration page. How do I fix...

Best designed web page ever - <http://tinyurl.com/2uppo> Be sure to scroll down to the blue text on the blue background! Anna

Why isn't this page appearing? - The directory exists and the file exists: http://timchuma.com/photos/crybabytote/index.htm For some reason it keeps coming up as a 404 on my computer. This file also won't record any changes I make to it: http://timchuma.com/photos/ The site is hosted...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]