DOCTYPE html html head meta charset windows-1251 title title head body

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
<head>
<meta charset="windows-1251">
<title></title>
</head>
<body>
<link type="text/css" rel="stylesheet" href="CSS.css"/>
<script src="java.js"></script>
<div id="planet1" onclick="onclick1()"></div>
<div id="planet2" onclick="onclick2()"></div>
<div id="planet3" onclick="onclick2()"></div>
<div id="planet4" onclick="onclick2()"></div>
<div id="planet5" onclick="onclick2()"></div>
<div id="planet6" onclick="onclick2()"></div>
<div id="planet7" onclick="onclick2()"></div>
<div id="planet8" onclick="onclick2()"></div>
<div id="planet9" onclick="onclick2()"></div>
<div id="planet1_text"></div>
<?php
include_once("form.php");
?>
</body>
</html>
//В java.js
function onclick1(){
alert("2");
}