.


:




:

































 

 

 

 


6

10

Java Script

1

1. HTML-, , 9 1945 .

2. HTML-, . , .

:

3. Goods .

name - ();

value - ;

price - .

Array Storeroom, Goods.

add(name, value, price) - ( , name . price);

changePrice(name, newPrice) - name newPrice;

sold(name, value) - , value name ;

toString() - , , .

.

4. ( , , , , , , ).

, .


, , , .

, - .

5. - "", . -, ( , , ..). ( ). - :

.

, , , .

- "" , . , .

, .

6. web-, ( JavaScript) . .

: : = 32 + ( / 5) * 9; = 273,15 + .

6

- " ++: " . (. ). ( ).

, . - .

<HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251"> <TITLE> </TITLE> <style type="text/css"> table {border: black 1 solid; background-color: #d7d7bf} TD.t1 {FONT-WEIGHT: bold; font-style: italic; COLOR: #003399; BACKGROUND-COLOR: #ffffff} TD.t2 {FONT-WEIGHT: bold; font-style: italic; COLOR: #ffffff; BACKGROUND-COLOR: #96bbf9} </style> <script language="JavaScript"> <!-- var Books; function preload() { Books = preload.arguments; } function show() { var N = show.arguments; document.f1.ta1.value=Books[N[0]-1]; if ((N[0] >= 1) && (N[0] <= 4)) {document.f1.cb1.checked=1;} else {document.f1.cb1.checked=0;} } //--> </script> </HEAD> <BODY background="bg.gif" bgcolor=#EEFFEE onload="preload( ' .. ++: . - 5- . - .: -, 2001. - 560 .', ' . - ++, 2- . / . . - .: , .: , 2001. - 560 .', ' .. UML. - 2- ., . . - .: -, 2004. - 432 .', ' Web- / - .. . - : , 2002. - 390 .', ' . - ++. - .: , 1991. - 352 .', ' .. /++. - . - .: , 2001. - 464.', ' .. /++. : / .., ... - .: , 2002. - 240.', ' .., .. Delphi. - : -, 2001. - 656 .', ' HTML 4 / - . - .; .; .: . , 1998. - 384 .', 'JavaScript. : . . / . - : , 2002. - 896 .')"> <table border=0><tr><td> <h3 align=center> :</h3> <TABLE cellspacing=1 cellpadding=2> <TR><TD class=t1 onMouseOver="show(1);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> ++: </TD></TR> <TR><TD class=t1 onMouseOver="show(2);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> - ++</TD></TR> <TR><TD class=t1 onMouseOver="show(3);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> UML</TD></TR> <TR><TD class=t1 onMouseOver="show(4);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> Web-</TD></TR> <TR><TD class=t1 onMouseOver="show(5);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> ++</TD></TR> <TR><TD class=t1 onMouseOver="show(6);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> /++. </TD></TR> <TR><TD class=t1 onMouseOver="show(7);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> /++. : </TD></TR> <TR><TD class=t1 onMouseOver="show(8);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> Delphi</TD></TR> <TR><TD class=t1 onMouseOver="show(9);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> HTML 4</TD></TR> <TR><TD class=t1 onMouseOver="show(10);this.style.background='#FFF88E'" onMouseOut="this.style.background='#ffffff'"> JavaScript. </TD></TR> </TABLE> </td></tr><tr><td> <form name=f1> <tetarea name=ta1 rows=3 cols=80> </tetarea> <input type=checkbox name=cb1> </form> </td></tr></table><hr> </BODY></HTML>

 

7. JAVASCRIPT web- , . : 2 . , . . 20 .

HTML- .



<== | ==>
| 6 . 1. HTML-, ,
:


: 2016-09-03; !; : 600 |


:

:

. .
==> ...

1648 - | 1584 -


© 2015-2024 lektsii.org - -

: 0.009 .