Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Problem with Frames website

Reply
Thread Tools

Problem with Frames website

 
 
Nick
Guest
Posts: n/a
 
      04-15-2006
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
 
Reply With Quote
 
 
 
 
Neredbojias
Guest
Posts: n/a
 
      04-15-2006
To further the education of mankind, Nick <>
declaimed:

> 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


Yes, it did that for me, too, and (surprisingly) in both IE and Firefox.

I don't know specifically what's wrong but the markup is archaic and in
some cases invalid by modern standards. There is no DTD, putting browsers
in "Quirks".

The best way to fix it is to use a strict doctype, update the page to
currently-acceptable markup under that doctype, and then validate the
result at the w3c.

--
Neredbojias
Infinity can have limits.
 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      04-16-2006
In article <>,
Nick <> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
having a problem with scrolling frames as if no frames surfunbear@yahoo.com HTML 0 03-08-2006 09:54 PM
Frames and borders around specific frames meyousikmann@yahoo.com HTML 1 02-10-2006 11:12 PM
Frames or not Frames... Ale HTML 17 08-05-2005 12:10 AM
Link needed to go from a non-frames page to a Frames page, and load a particular frame. How? - Newbe Philip HTML 3 06-28-2004 03:06 PM
From Frames to no frames? Powerslave2112 HTML 2 01-20-2004 10:30 PM



Advertisments