473,408 Members | 1,728 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

FAQ Topic - What is the document object model? (2008-10-23)

-----------------------------------------------------------------------
FAQ Topic - What is the document object model?
-----------------------------------------------------------------------

This is the collection of objects provided by each browser.
Basically, any object in the window hierarchy is part of the
DOM. This means that ` document.writeln() `,
for example, is not an
ECMAScript method but is, in fact, a method provided by the DOM.
The DOM has been standardised by the World Wide Web Consortium
(W3C); however, like all W3C standards, browser support is not
yet complete. Most cross-browser coding problems come from
slightly different implementations of the DOM in the different browsers.

http://jibbering.com/faq/index.html#onlineResources

http://www.w3.org/DOM/faq.html

http://www.w3.org/DOM/
--
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
The FAQ workers are a group of volunteers. The sendings of these
daily posts are proficiently hosted by http://www.pair.com.

Oct 22 '08 #1
8 1417
In comp.lang.javascript message <48***********************@news.sunsite.
dk>, Wed, 22 Oct 2008 23:00:02, FAQ server <ja********@dotinternet.be>
posted.

FAQ <http://jibbering.com/faq/index.htmlis full of links of the form
href='index.html#jScript'

That means that a saved copy of the FAQ has links which refer to
index.html in the directory in which it has been saved.

If those "index.html" were removed throughout, those links would refer
to the appropriate place in the saved FAQ.

The link href="http://www.jibbering.com/faq/index.html" should of
course remain.

--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05.
Web <URL:http://www.merlyn.demon.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Oct 23 '08 #2
Dr J R Stockton wrote:
In comp.lang.javascript message <48***********************@news.sunsite.
dk>, Wed, 22 Oct 2008 23:00:02, FAQ server <ja********@dotinternet.be>
posted.

FAQ <http://jibbering.com/faq/index.htmlis full of links of the form
href='index.html#jScript'
And the "index.html" can be safely removed. And it will work in IE6.

That means that a saved copy of the FAQ has links which refer to
index.html in the directory in which it has been saved.

If those "index.html" were removed throughout, those links would refer
to the appropriate place in the saved FAQ.
Yep.

The link href="http://www.jibbering.com/faq/index.html" should of
course remain.
Yep.

Will apply changes.

Garrett

--
comp.lang.javascript FAQ <URL: http://jibbering.com/faq/ >
Oct 24 '08 #3
Dr J R Stockton wrote:
The link href="http://www.jibbering.com/faq/index.html" should of
course remain.
There is no good reason why. In fact, the "index.html" should be removed
according to W3C recommendations. The default document that is index.html
does not need to be and should not be explicitly referred to (e.g. in case
the technology behind it changes).

Where necessary, server-side redirection should be set up to keep existing
references to the FAQ working while promoting a new URI concept that
provides ways of referencing the FAQ and FAQ sections that are easier to
remember. Consider, for example, <http://jibbering.com/faq/notes/instead
of <http://jibbering.com/faq/faq_notes.html>.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk>
Oct 24 '08 #4
Thomas 'PointedEars' Lahn wrote:
Dr J R Stockton wrote:
>The link href="http://www.jibbering.com/faq/index.html" should of
course remain.

There is no good reason why. In fact, the "index.html" should be removed
according to W3C recommendations. The default document that is index.html
does not need to be and should not be explicitly referred to (e.g. in case
the technology behind it changes).

Where necessary, server-side redirection should be set up to keep existing
references to the FAQ working while promoting a new URI concept that
provides ways of referencing the FAQ and FAQ sections that are easier to
remember. Consider, for example, <http://jibbering.com/faq/notes/instead
of <http://jibbering.com/faq/faq_notes.html>.
404
>
You probably meant to link to:
http://www.jibbering.com/faq/faq_notes/faq_notes.html

The URI is not very memorable.

If any sort of URL rewriting were to be used, the documents' links
(anchors, css, et c) would all need full root <a href="cookies.html"so
to avoid 404.

PointedEars

--
comp.lang.javascript FAQ <URL: http://jibbering.com/faq/ >
Oct 25 '08 #5
In comp.lang.javascript message <49**************@PointedEars.de>, Fri,
24 Oct 2008 20:16:04, Thomas 'PointedEars' Lahn <Po*********@web.de>
posted:
>Dr J R Stockton wrote:
>The link href="http://www.jibbering.com/faq/index.html" should of
course remain.

There is no good reason why.
As is common, you have failed to understand the point, SpitzenOhren.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)
Oct 25 '08 #6
dhtml wrote:
Thomas 'PointedEars' Lahn wrote:
>Dr J R Stockton wrote:
>>The link href="http://www.jibbering.com/faq/index.html" should of
course remain.
There is no good reason why. In fact, the "index.html" should be removed
according to W3C recommendations. The default document that is index.html
does not need to be and should not be explicitly referred to (e.g. in case
the technology behind it changes).

Where necessary, server-side redirection should be set up to keep existing
references to the FAQ working while promoting a new URI concept that
provides ways of referencing the FAQ and FAQ sections that are easier to
remember. Consider, for example, <http://jibbering.com/faq/notes/instead
of <http://jibbering.com/faq/faq_notes.html>.

404
Right, the madness of it is even worse:

<http://jibbering.com/faq/faq_notes/faq_notes.html>
You probably meant to link to:
http://www.jibbering.com/faq/faq_notes/faq_notes.html
Right, the madness goes even further.
The URI is not very memorable.
One of my points exactly.
If any sort of URL rewriting were to be used, the documents' links
(anchors, css, et c) would all need full root <a href="cookies.html"so
to avoid 404.
I am talking about redirection, not rewrite; redirection would by itself not
need any changes in the source code at all (although once established, it
would be wise to use the new URIs instead).
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk>
Oct 26 '08 #7
Dr J R Stockton wrote:
Thomas 'PointedEars' Lahn posted:
>Dr J R Stockton wrote:
>>The link href="http://www.jibbering.com/faq/index.html" should of
course remain.
There is no good reason why.

As is common, you have failed to understand the point, SpitzenOhren.
Maybe you should have found a better wording then, Doc. For the statement
as it is, is a bad recommendation.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk>
Oct 26 '08 #8
Thomas 'PointedEars' Lahn wrote:
dhtml wrote:
>Thomas 'PointedEars' Lahn wrote:
>>Dr J R Stockton wrote:
The link href="http://www.jibbering.com/faq/index.html" should of
course remain.
There is no good reason why. In fact, the "index.html" should be removed
according to W3C recommendations. The default document that is index.html
does not need to be and should not be explicitly referred to (e.g. in case
the technology behind it changes).
Yeah, I don't see why index.html should be there either.
>
I am talking about redirection, not rewrite; redirection would by itself not
need any changes in the source code at all (although once established, it
would be wise to use the new URIs
It might be better to have /faq/notes/ and have the current directory
redirect to that. I don't have access over the faq_notes directory.
--
comp.lang.javascript FAQ <URL: http://jibbering.com/faq/ >
Oct 27 '08 #9

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

Similar topics

2
by: Filippo Bettinaglio | last post by:
Hi, I use, VS2005 C# I have a Windows Forms UserControl hosted within Internet Explorer According to MIcrosoft documentation: ...
0
by: Jarod_24 | last post by:
I've tried the WebBrowser in the System.Windows.Forms namespace, but it dosen't work when you instanciate an object from a class. It needs a Form to live in to work. My application allready has...
9
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - What is the document object model? ----------------------------------------------------------------------- ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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...

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.