|
Posted by dorayme on 04/16/06 03:09
In article <d4f2425tddkvcc1o9in0ag3kf6cfa164kj@4ax.com>,
Nick <dvd@keoFINGERbeer.com> wrote:
> I administer a fairly simple website, http://www.cyhams.org which uses
> Frames. It works pretty well, except that occasionally, for example if
> one visits it after visiting http://news.bbc.co.uk , clicking on a
> link in the lefthand 'contents' opens the subpage in a whole page,
> instead of as part of the page. Any Ideas? (apart from giving up
> Frames altogether!)
> TIA Nick
You need to look at your use of "target" in your code. It looks
wrong to me: <frame name="contents" target="main" ...
I used to use target only in the links themselves and had no
trouble. try removing this from your frameset. Leave the target
for the links in the actual source code of the frame itself.
Your code is bad, validate it, put this at the top of your whole
html doc:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
then go to a validator like http://validator.w3.org/
--
dorayme
[Back to original message]
|