Benutzer:Sonne7/ISS-Beobachtung
Beobachtung der ISS von der Erde aus
[Bearbeiten | Quelltext bearbeiten]Achtung: Folgendes Script ist so hier leider noch nicht funktional -> ToDo!
Daten vom Script:
Gadget-Größe 320x200, Titel "ISS Position", Rahmen-Daten "#FFFFFF|0px,1px solid #82CAFA|0px,2px solid #BDEDFF|0px,3px solid #E0FFFF"
Original-Aufruf:
<script src="//www.gmodules.com/ig/ifr?url=http://www.astroviewer.net/gadgets/iss/iss-position.xml&synd=open&w=320&h=200&title=ISS+Position&border=%23FFFFFF%7C0px%2C1px+solid+%2382CAFA%7C0px%2C2px+solid+%23BDEDFF%7C0px%2C3px+solid+%23E0FFFF&output=js"></script>
Inhalt vom Script:
<script type="text/JavaScript">
(function(){
var css='<style>table.gadget{background-position:0%;background:transparent
none;border-collapse:collapse;border:0;clear:none;float:none;font-
family:arial,sans-serif;font-style:normal;font-variant:normal;height:auto;letter-
spacing:normal;line-height:normal;margin:0;padding:0;text-indent:0;text-
transform:none;top:auto;vertical-align:middle;white-space:normal;width:auto;word-
spacing:normal;}table.gadget span.title a:hover,table.gadget span.title
a:visited,table.gadget span.title a:active,table.gadget span.title{font-
size:12px;color:#0000cc}table.gadget span.powered a:hover,table.gadget span.powered
a:visited,table.gadget span.powered a:active,table.gadget span.powered{font-
size:10px;color:#0000cc}</style>';
var html='\x3ctable class\x3d\x22gadget\x22 cellspacing\x3d0 cellpadding\x3d0
width\x3d320\x3e\x3ctr\x3e\x3ctd colspan\x3d2 style\x3d\x22vertical-
align:middle;text-align:center;width:100%;height:28px\x22\x3e\x3cspan class\x3d
\x22title\x22\x3e\x3ca href\x3d\x22http://iss.astroviewer.net/\x22 target\x3d
\x22_top\x22\x3eISS Position\x3c/a\x3e\x3c/span\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr
\x3e\x3ctd colspan\x3d\x222\x22\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd colspan
\x3d2\x3e\x3cdiv style\x3d\x22background:white;padding:0px; border:1px solid
#82CAFA;\x22\x3e\x3cdiv style\x3d\x22background:white;padding:0px; border:2px solid
#BDEDFF;\x22\x3e\x3cdiv style\x3d\x22background:white;padding:0px; border:3px solid
#E0FFFF;\x22\x3e\x3ciframe src\x3d\x22http://www.astroviewer.net/gadgets/iss/iss-
position.php?libs\x3dcore\x26libs\x3dcore%3Acore.io\x26container\x3dopen\x26view
\x3dhome\x26lang\x3dall\x26country\x3dALL\x26debug\x3d0\x26nocache
\x3d0\x26sanitize\x3d0\x26v\x3dc3140104e2807109\x26st\x3d%25st%25\x26source
\x3d__LOCATION__\x26parent\x3d__LOCATION__\x22 width\x3d320 height\x3d200 style
\x3d\x22display:block;\x22 frameborder\x3d0 scrolling\x3d\x22no\x22\x3e\x3c/iframe
\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/td\x3e\x3c/tr\x3e\x3ctr\x3e\x3ctd
style\x3d\x22text-align:left;vertical-align:middle;height:28px;\x22\x3e\x3ca href
\x3d\x22http://fusion.google.com/ig/add?synd\x3dopen\x26source\x3dggyp
\x26moduleurl\x3dhttp://www.astroviewer.net/gadgets/iss/iss-position.xml\x22
target\x3d\x22_top\x22\x3e\x3cimg style\x3d\x22border:0;\x22 src\x3d
\x22http://www.gmodules.com/ig/images/plus_google.gif\x22\x3e\x3c/a\x3e\x3c/td\x3e
\x3ctd style\x3d\x22text-align:right;vertical-align:middle;height:28px;\x22\x3e
\x3cspan class\x3d\x22powered\x22\x3e\x3ca href\x3d
\x22http://www.google.com/webmasters/gadgets.html\x22 target\x3d\x22_top
\x22\x3eGadgets\x3c/a\x3e powered by Google\x3c/span\x3e\x3c/td\x3e\x3c/tr\x3e
\x3c/table\x3e';
html=html.replace(/__LOCATION__/g, encodeURIComponent(location.href));
document.write(css+html);
})();
</script>