You are here: Re: frames [lame] « HTML « IT news, forums, messages
Re: frames [lame]

Posted by Jake on 01/12/20 11:29

In message <BF6ABD95.185EE%dorayme@optusnet.com.au>, dorayme
<dorayme@optusnet.com.au> writes
>> From: Jake <jake@gododdin.demon.co.uk>
>>
>> (Sits back and waits for the frames-are-evil fundamentalists to quote
>> the usual bogus arguments)
>>
>
>Jake, in a first move to be rid of frames on my remaining frames
>site, I turned all the *actual* content and navigation pages (as
>distinct from the frameset pages which are in 4.01 Frameset)
>into 4.01 Strict in a CSS overhaul. All was fine but I was then
>surprised to find that my home link on these pages was not W3C
>kosher because this DTD does not support the "target" attribute
>(="_top"). I use this attribute so that the home page (which is
>not a frameset at all) comes up in the whole browser window
>rather than in one of the two frames (simple nav left and
>content right). W3C says to use Transitional for this attribute.
>I could not face going back so I left it and it works still in
>all the browsers I know. But it is an irritation as I like at
>least to have stuff validate. Any thoughts on this? How bad is
>it to be not quite validated in this respect in your opinion?
>
>dorayme
>
Yes, a (minor) problem.

Any pages that I do are validated as 4.01 strict.

However, I do have a small number of pages that use an Iframe and, as I
load the content of the Iframe based on a user decision (i.e. They click
one of a series of links and the Iframe gets filled with the appropriate
content -- usually a series of maps at various resolutions) I validate
those pages as 'transitional'.

The pages work OK in IE6, Firefox, Opera, Mozilla and Netscape ...... so
I'm quite happy with that.

In reality, I could have left the page as 'strict' -- with the one error
being flagged by the validator; I doubt it would have made any
difference.

-----------------------------------------------------------------

I also make a practice of opening all external links in a new window. In
this case I avoid the use of a 'target' on the link by setting "
rel='external' " in the link and using a piece of Javascript to set the
'target' based on 'rel'.

The pages can then be validated as '4.01 strict'.

(Users without Javascript enabled -- about 1% or less -- get to see the
external page in the same window.)

regards.

>

--
Jake (jake@gododdin.demon.co.uk -- just a 'spam trap' mail address)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация