473,500 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Frames as Rodney Dangerfield

They just don't get no respect.

"In the early days of JavaScript, multiframe and multiwindow web
applications were fairly common. Now, web design has turned strongly
against the use of frames (but not inline frames, called <i>iframes)</
i>, and it is less common to see web sites that use interacting
windows." (Flanagan, 5e; footnote, p. 289)

Why?
Jul 5 '08 #1
12 1116
Ma************@gmail.com wrote:
They just don't get no respect.
You are not making sense.
"In the early days of JavaScript, multiframe and multiwindow web
applications were fairly common. Now, web design has turned strongly
against the use of frames (but not inline frames, called <i>iframes)</
i>, and it is less common to see web sites that use interacting
windows." (Flanagan, 5e; footnote, p. 289)

Why?
Evidently, Flanagan rarely knows what he is talking about, if that. The
choice of not using frames or iframes has nothing to do with scripting at
all, as since the first day they were supported the `target' attribute of
`a' elements was supported. It is a matter of accessibility and of CSS
emerging about twelve years ago instead.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Jul 5 '08 #2
Thomas 'PointedEars' Lahn <Po*********@web.dewrites:
Ma************@gmail.com wrote:
>"In the early days of JavaScript, multiframe and multiwindow web
applications were fairly common. Now, web design has turned strongly
against the use of frames (but not inline frames, called <i>iframes)</
i>, and it is less common to see web sites that use interacting
windows." (Flanagan, 5e; footnote, p. 289)

Why?

Evidently, Flanagan rarely knows what he is talking about, if that.
The choice of not using frames or iframes has nothing to do with
scripting at all, as since the first day they were supported the
`target' attribute of `a' elements was supported. It is a matter of
accessibility and of CSS emerging about twelve years ago instead.
You're putting words in Flanagan's mouth. He's absolutely correct that
frames are used a lot less than they used to be and he doesn't talk
about scripting at all in that quote. But you're correct that the main
reason they're not used that much anymore are the accessibility issues
and CSS making inline scrolling elements possible.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
Jul 5 '08 #3
Joost Diepenmaat <jo***@zeekat.nlwrites:
You're putting words in Flanagan's mouth. He's absolutely correct that
frames are used a lot less than they used to be and he doesn't talk
about scripting at all in that quote.
I mean, he's not making any statement relating scripting to frames,
he's just saying that at the time javascript became popular, frames
were too.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
Jul 5 '08 #4
Can someone elaborate on the accessibility issues?

I've just done: http://ClintonBushCharts.org with extensive nested
frames. I've been very pleased with the result. Would I have been
smarter to use CSS instead of frames?

Flanagan is the single book recommended in the JS FAQ. Does[n't] he
deserve this?

I've also read that you should avoid frames as they "break" search
crawlers. As I see it, the issue is using JS v. using <a href...and
isn't really related to frames. Am I missing something on this, too?

Thanks!
Jul 5 '08 #5
Ma************@gmail.com wrote:
Can someone elaborate on the accessibility issues?
You should try a newsgroup where this is on-topic instead.
I've just done: http://ClintonBushCharts.org with extensive nested
frames.
Evidently, you hardly know what frames are, nor how to write HTML. You have
declared HTML 4.01 Frameset and did not use a single `frameset' or `frame'
element in the homepage tag soup^W^W document. In the document you are
referring to you are placing invalid declarations for comments above the
DOCTYPE declaration, triggering Quirks/Compatibility Mode. You are using
CSS lengths in the value for the `rows' and `cols' attributes of `frameset'
elements. And I could go on like this for hours.

<http://validator.w3.org/>

(I really wonder which language standards committees you want to have served
on anyway; hopefully nothing Web-related.)
I've been very pleased with the result.
That must be because you have never tested it with different user agents and
font sizes, for example. So your visitors, among them me, are not pleased
at all. Remember: The worm must be tasty for the fish, not for the
fisherman. But as the for the latter, you don't even make an average
fisherman yet.
Would I have been smarter to use CSS instead of [tables]?
Most definitely.
Flanagan is the single book recommended in the JS FAQ. Does[n't] he
deserve this?
Search the archives.
I've also read that you should avoid frames as they "break" search
crawlers. As I see it, the issue is using JS v. using <a href...and
isn't really related to frames. Am I missing something on this, too?
Obviously, but this is off-topic here as well.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Jul 5 '08 #6
Ma************@gmail.com writes:
Can someone elaborate on the accessibility issues?
The basic problem is that it's hard to navigate frames (and see when
frames are loaded with new content) when you've got a screen reader or
some similar program (or a braille machine). "Normal" visual browsers
show blocks of content in spatial relations, but browsers (or browser
extensions) catering to blind people have a hard time to make frames
easy to use, and it's in general best to have the document's structure
reflect the way you'd want to read it from top to bottom (and frames
subvert this by changing the overall content on the fly).

Not that javascript and/or iframes are much better in this regard. The
main problem seems to be that replacing/switching parts of a page is a
technique that's hard to make accessible to all users. Especially
users that can only read about one line of text at a time. It may be
better for those users to have a system that's based on "primitive"
full-page reloads. Provided they can navigate quickly to the sections
they're interested in (and leave out all the unnessary iframe / frame
/ div replacement / ajax stuff).
I've just done: http://ClintonBushCharts.org with extensive nested
frames. I've been very pleased with the result. Would I have been
smarter to use CSS instead of frames?
It would be nice if it worked with javascript disabled. Especially
since it looks like most of the scripting does the equivalent of the
<a target="..."attribute.
Flanagan is the single book recommended in the JS FAQ. Does[n't] he
deserve this?
Flanagan's book is only the best book that handles most browser
scripting. It's far from infallible, and contains some information
that's IMO pretty misleading, when you get down to the details. But I
think PointedEar's comment was uncalled for.
I've also read that you should avoid frames as they "break" search
crawlers. As I see it, the issue is using JS v. using <a href...and
isn't really related to frames. Am I missing something on this, too?
Any search crawler worth its salt should handle frames. The main
problem as I hinted above is accessibility for people with visual
handicaps.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
Jul 5 '08 #7
Ma************@gmail.com meinte:
Can someone elaborate on the accessibility issues?

I've just done: http://ClintonBushCharts.org with extensive nested
frames. I've been very pleased with the result. Would I have been
smarter to use CSS instead of frames?
There's not a single frame on this page.

and - perhaps more important -

Where's the JS relevance?
Flanagan is the single book recommended in the JS FAQ. Does[n't] he
deserve this?
Why should this be relevant for a pure markup question?
I've also read that you should avoid frames as they "break" search
crawlers. As I see it, the issue is using JS v. using <a href...and
isn't really related to frames. Am I missing something on this, too?
More adequate newsgroups exists for this topic.

Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Jul 5 '08 #8
Gregor Kofler meinte:
There's not a single frame on this page.
Ah I see - the following pages have framesets. But the markup... atrocious.

Gregor
--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum
Jul 5 '08 #9
To all my apologies for not starting this way:

If you use frames you stop having "the global namespace" and you start
having multiple global namespaces (which means the word "global" is,
at best, somewhat misleading). Therefore, the question of use/non-use
of frames has a critical impact on your JavaScript.

OFF TOPIC

I am one of a large class of people who wish to use the WWW to
communicate with others but who are not, and do not aspire to be,
professional web developers. W3C consistently ignores us.

And the validator ignores the spec. "White space (spaces, newlines,
tabs, and comments) may appear before or after each section." ( 7.1
http://www.w3.org/TR/REC-html40/struct/global.html ).

Jul 7 '08 #10
On Jul 7, 4:00 pm, MartinRineh...@gmail.com wrote:
To all my apologies for not starting this way:

If you use frames you stop having "the global namespace"
The term 'namespace' has no technical meaning in javascript (it does
not appear at all in the language's specification), and so there is no
"the global namespace" as such.

(For those who would like to argue that the term 'namespace' is
sufficiently unambiguously defined and used that it can be used in
relation to javascript even if no specified meaning exists for
javascript, consider how very different differing approaches to
namespaces are (think XML namespaces)).
and you start having multiple global namespaces
You start to have multiple global objects.
(which means the
word "global" is, at best, somewhat misleading).
That probably depends on where you observe from.
Therefore, the question of use/non-use of frames
has a critical impact on your JavaScript.
Certainly using frames can add a layer of complexity to scripts.
OFF TOPIC

I am one of a large class of people who wish to
use the WWW to communicate with others but who are
not, and do not aspire to be, professional web
developers. W3C consistently ignores us.
Does something make you think that the W3C pays any attention to
people who are "professional web developers"?
And the validator ignores the spec. "White space (spaces,
newlines, tabs, and comments) may appear before or after
each section."
( 7.1http://www.w3.org/TR/REC-html40/struct/global.html).
If that were true then you would be in a position to demonstrate its
truth. Otherwise nobody will be in a position to correct your
misconceptions and you will then just be wasting bandwidth.
Jul 7 '08 #11
One other note on frames (vs. iframes).

You can't float content from one frame over another, so if you have a
calendar widget or similar, it will always be trapped within a frame.
If you were to use iframes instead, this limitation is removed.

Jul 15 '08 #12
we*********@gmail.com wrote:
One other note on frames (vs. iframes).

You can't float content from one frame over another, so if you have a
calendar widget or similar, it will always be trapped within a frame.
If you were to use iframes instead, this limitation is removed.
It is not.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Jul 15 '08 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

40
2869
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
34
4098
by: s c o t t | last post by:
I know Jakob Neilsen and a bunch of other usability advocates and critics usually frown on usage frames. However, most people probably seem to have at least version 5 of IE or newer and I am...
7
2290
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
95
5628
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
25
43174
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
7
2969
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
3
2410
by: Nish | last post by:
Is HTML frame is an old technology? Will the modern web application are developed using the HTML frames? Does all the browsers support them? Thank you for your suggestion, Nish
56
3760
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content....
14
7033
by: Mark | last post by:
Hi Guys, I am very new to ASP.NET world. I need to create three frames. One at the top, one on the left and another on the right side. I don't know how to do it. So please help me with it. ...
0
7136
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7235
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5491
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4614
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3110
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1431
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
675
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
317
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.