Directions: Difference between revisions
From HLT@INESC-ID
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
== Travel Information == | == Travel Information == | ||
<php> | <php> | ||
print | print "<script src=\"http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAiipWyrjj27U9JMBnqzAhKBRy0aIh4Aw9l5upTCWHrfmyWW9BTxTXBAH2m-5wlu8a5fw-q9XGF9QETg\" type=\"text/javascript\"></script>\n"; | ||
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAiipWyrjj27U9JMBnqzAhKBRy0aIh4Aw9l5upTCWHrfmyWW9BTxTXBAH2m-5wlu8a5fw-q9XGF9QETg" type="text/javascript"></script> | print "<div id=\"map\" style=\"background: red; width: 500px; height: 300px\"></div>\n"; | ||
print "<script type=\"text/javascript\">\n"; | |||
print "//<![CDATA[\n"; | |||
print " | |||
function load() { | function load() { | ||
if (GBrowserIsCompatible()) { | if (GBrowserIsCompatible()) { | ||
var map = new GMap2(document.getElementById("map")); | var map = new GMap2(document.getElementById(\"map\")); | ||
map.setCenter(new GLatLng(37.4419, -122.1419), 13); | map.setCenter(new GLatLng(37.4419, -122.1419), 13); | ||
} | } | ||
} | } | ||
load(); | load(); | ||
"; | |||
print "//]]>\n"; | |||
print "</script> <!-- <body onload=\"load()\" onunload=\"GUnload()\"> -->\n"; | |||
print "<!-- </body> -->\n"; | |||
</php> | </php> |
Revision as of 13:10, 5 July 2006
Address: | INESC-ID Lisboa Spoken Language Systems Lab R. Alves Redol, 9 1000-029 LISBOA, Portugal |
---|---|
Phone: | +351 213 100 268 |
Fax: | +351 213 145 843 |
E-mail: | info@l2f.inesc-id.pt |
Web: | http://www.l2f.inesc-id.pt/ |
Travel Information
<php> print "<script src=\"http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAiipWyrjj27U9JMBnqzAhKBRy0aIh4Aw9l5upTCWHrfmyWW9BTxTXBAH2m-5wlu8a5fw-q9XGF9QETg\" type=\"text/javascript\"></script>\n";
print "
\n";
print "<script type=\"text/javascript\">\n"; print "//<![CDATA[\n"; print "
function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById(\"map\")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } } load();
"; print "//]]>\n"; print "</script> \n"; print "\n"; </php>