Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (30 sloc) 1.35 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html id='docHTML'>
<head>
<title>Tabulator: Async Javascript And Semantic Web</title>
<link rel="stylesheet" href="chrome://tabulator/content/tabbedtab.css" type="text/css" />
<link rel="stylesheet" href="chrome://tabulator/content/mapView.css" type="text/css" />
<script src="js/views/tableutil.js" type="text/javascript"></script>
<script src="js/views/mapView-int.js" type="text/javascript"></script>
</head>
<body>
<iframe id="mapViewFrame" onload="mapLoader()" src="http://dig.csail.mit.edu/2007/tab/maps/mapremote.html" width="100%" height= "100%">
</iframe>
</body>
<script type="text/javascript">
function mapLoader() {
tabulator = Components.classes["@dig.csail.mit.edu/tabulator;1"].getService(Components.interfaces.nsISupports).wrappedJSObject;
//Horrible global vars :(
kb = tabulator.kb;
sf = tabulator.fetcher;
qs = tabulator.qs;
var myMapView = new mapView(document.getElementById('viewArea'));
qs.addListener(myMapView);
//extract the query ID Here!
var q = qs.queries[tabulator.Util.getURIQueryParameters(window.location)['query']];
myMapView.drawQuery(q);
}
//document.onLoad=mapLoader();
</script>
</html>