: , , . , , . , JavaScript; , , . , .

.

, - , . , ; - , , , - . ( , ) " "; .

Web-. "" " Web-, ". , - :

currentWebBrowser.address = "http://www.w3c.org"; currAddr = currentWebBrowser.address + "/ss/";

: < < > ( ). address currentWebBrowser - WWWC. , "/ss/" currAddr. ( , ( ) +.)

: < >. < > (). :

currentWebBrowser.g ();

, . , . , , :

currentWebBrowser.goTo("http://www.w3c.org");

Web-. - . , . , , , .

, JavaScript - , . . . , , .

, , . new.

var currentWebBrowser; currentWebBrowser = new WebBrowser();

currentWebBrowser new . WebBrowser, . A currentWebBrowser

WebBrowser.

delete.

currentWebBrowser.delete();

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

? . , - , JavaScript, . , :

currentWebBrowser = new WebBrowser();

, . , WebBrowser , . . WebBrowser.

function WebBrowser() {

this.address = "http://www.server.ru/my_home_page.htm";

}

WebBrowser - address. , . this, . JavaScript ; address , . :

function WebBrowser(homePage) { this.address = homePage;

}

, .

var currentWebBrowser;

currentWebBrowser = new WebBrowser("http://www.server.ru/home_page.htm");

", ! . ?" .

, , .

function fGoTo(pageAddress) { this.address = pageAddress;

fGoTo. f ( . function ) , .

- , .

function WebBrowser(homePage) {

this.address = homePage;

this.goTo = fGoTo; }

, "" fGoTo WebBrowser. .

var currentWebBrowser;

currentWebBrowser = new WebBrowser("http://www.server.ru/home_jpage.htm");

currentWebBrowser.goTo("http://www.w3c.org");

. . , JavaScript , Web-. .

, , . , , Date, .

var d;

d = new Date () ;

Date. , . , , :

var dayNumber; dayNumber = d.getDay(};

:

var year;

year = d.getFullYear();

Date . 13.1.

, Date . , .

13.1. Date



getDate ( )


getDay ( )

, (0 , 1 , 2 . .)

getFullYear()


getHours ( )


getMilliseconds ( )


getMinutes ( )


getMonth ( )

, ( 0 11)

getSeconds ( )


getTime ( )

, 1 1 970

Math . , . JavaScript . . .

var f;

f = Math.sin(Math.PI);

f sin ().

Number string, , , .

JavaScript . , - . , , :

var s, 1;

s = "JavaScript";

1 = s.length;

s "JavaScript", length .

s string "" length , , 1.

"" :

var a, s;

= 16765247;

s = a.toString();

toString Number, .

, , JavaScript, . "" Web-. - ...

: v=|| +// + The Green PPC . 1000$ PPC. .

::   ::

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