Frames not updating
am 19.06.2007 16:54:40 von navin
Hi All,
the page i have created contains 3 frames. frame in left contains the
navigation links and i want to update the frame in center with the
content of the link when clicked.
However, whenever i click on the link, the content opens up in both
of
the left and center frame instead of the center frame.
Below html code is what i am using:
Index
Please help.
thanks in advance,
navin
Re: Frames not updating
am 19.06.2007 17:21:15 von Chaddy2222
navin wrote:
> Hi All,
>
> the page i have created contains 3 frames. frame in left contains the
> navigation links and i want to update the frame in center with the
> content of the link when clicked.
>
>
> However, whenever i click on the link, the content opens up in both
> of
> the left and center frame instead of the center frame.
>
>
> Below html code is what i am using:
Don't post code, post a URL! Or better still read,
http://freewebdesign.awardspace.biz/wdto/old/why-frames-are- bad.php
and then visit, http://www.htmldog.com and learne how to code pages
properly.
--
Regards Chad. http://freewebdesign.awardspace.biz
Re: Frames not updating
am 20.06.2007 02:06:16 von dorayme
In article
<1182266475.510778.33370@e9g2000prf.googlegroups.com>,
Chaddy2222 wrote:
> navin wrote:
> > the page i have created contains 3 frames. frame in left contains the
> > navigation links and i want to update the frame in center with the
> > content of the link when clicked.
> >
> > However, whenever i click on the link, the content opens up in both
> > of the left and center frame instead of the center frame.
> >
> >
> > Below html code is what i am using:
> Don't post code, post a URL! Or better still read,
> http://freewebdesign.awardspace.biz/wdto/old/why-frames-are- bad.php
As Chaddy says, you should post a url. And probably not use
frames.
But I am nostaligic and no one ever seems to ask about them.
You need to ensure that the file that sits behind the left frame
in which you are clicking the link that you want to appear to
your right, that you use target="theNameOfTheRightFrame".
(You are going to have some other trouble with your code for
other reasons, use a validator to check up on what attributes are
kosher.)
Something like this (simplified) should work:
"http://www.w3.org/TR/html4/frameset.dtd">
Shelta Australia
while in the file that sits in the left frame, something like
this:
"http://www.w3.org/TR/html4/loose.dtd">
Some
target="main">See me in right frame
--
dorayme