(DOM)

Web- .

- Web-. ? , . , , , , . , , . , .

. , , . (Document Object Model, DOM). Web- Web- .

? . , Web-.

, Web-, , , , , , . , Web-, Web-.

, Web- - (. 12). , . , Web-: , - "" Web- .

, Web- ! , , . , , . , Web- . Web-, .

! - .

, . . ID NAME. ID .html, NAME . , , , , , .

ID? Navigator 4.x -. Navigator ID , NAME. , !..

ID NAME . , . . Internet Explorer :

< , ID NAME>.< >

Navigator 4.x, :

document["< , NAME>"].< >

, .

< ID="para" STYLE="color: #0000FF"> .</>

, para ( ID) , . , Web-.

para.style.color = "#FF0000";

. , style, . , . style . color color.

, align:

para. align = "center";

align ALIGN <>.

, Web-. Navigator 4.x . , .

:

<IMG NAME=" some Image" SRC="image1.gif ">

document ["someImage"] .src = "image2.gif";

, , . src somelmage, SRC

<IMG>.

Web-, document. , , linkColor, LINK <BODY>:

document.linkColor = "#FF0000";

. .html. , . Web-, .

document location, - . . , , - :

address = document.location.href;

:

filename = document.location.pathname;

:

document.location.href = "http://www.othersite.ru/otherpage.htm";

window Web- , . , , :

window.close();

, :

window.status = " Web-!";

window navigator, Web-. . , , , :

version = window.navigator.appVersion; :

programName = window.navigator.appName;

window history, "" Web-. . , "" "" :

window.history.forward();

:

window.history.back();

, . . - , .

: v=|| +// +

::   ::

I. WEB-
1. Web-
2.
3.
4. , ,
5.
6. Web-

II. WEB-
7.
8.
9.
10.
III.
11.
12. Web-
13.
14.
IV.
15.
16.
17.
18.


:: ::

  Web-?
 
+

:: ::



:: ::

 

 

 

 


Copyright © Asentli, 2008-2010