123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <!DOCTYPE html>
- <html lang="fr">
- <head>
- <title>Orrery</title>
- <script language="javascript" type="text/javascript" src="js/d3.min.js"></script>
- <script language="javascript" type="text/javascript" src="js/astro_helper.js"></script>
- <script language="javascript" type="text/javascript" src="js/astronomy.js"></script>
- <style type="text/css">
- body {background-image: url('images/wallpaper.jpg');transform: rotate(90deg); background-repeat: no-repeat;
-
-
- position: absolute;
- top:0px;
- left:0px;
- width: 100%;
- height: 100%; }
- </style>
- </head>
- <body>
- <script language="javascript" type="text/javascript" src="js/orrery.js"></script>
- <script>
- //set planets dimensions
- document.getElementById("piselsun").setAttribute('width','95');
- document.getElementById("piselsun").setAttribute('height','95');
-
- document.getElementById("pisel0").setAttribute('width','25');
- document.getElementById("pisel0").setAttribute('height','35');
-
- document.getElementById("pisel1").setAttribute('width','20');
- document.getElementById("pisel1").setAttribute('height','20');
- document.getElementById("pisel2").setAttribute('width','25');
- document.getElementById("pisel2").setAttribute('height','25');
-
- document.getElementById("pisel3").setAttribute('width','25');
- document.getElementById("pisel3").setAttribute('height','25');
-
- document.getElementById("pisel4").setAttribute('width','45');
- document.getElementById("pisel4").setAttribute('height','45');
-
- document.getElementById("pisel5").setAttribute('width','85');
- document.getElementById("pisel5").setAttribute('height','85');
-
- document.getElementById("pisel6").setAttribute('width','26');
- document.getElementById("pisel6").setAttribute('height','26');
-
- document.getElementById("pisel7").setAttribute('width','26');
- document.getElementById("pisel7").setAttribute('height','26');
-
- </script>
- </body>
- </html>
|