Skip to content

Commit

Permalink
skin: latest incantation
Browse files Browse the repository at this point in the history
  • Loading branch information
presbrey committed Jan 23, 2012
1 parent b2bff3d commit c71dea8
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions skin.html
@@ -1,10 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="https://raw.github.com/linkeddata/tabulator/master/tabbedtab.css" />
<link type="text/css" rel="stylesheet" href="http://linkeddata.github.com/tabulator/tabbedtab.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="https://raw.github.com/linkeddata/tabulator/master/js/mashup/mashlib.js"></script>
<script>
<!--script type="text/javascript" src="/tabulator/js/mashup/mashlib.js"></script-->
<script type="text/javascript" src="http://linkeddata.github.com/tabulator/js/mashup/mashlib.js"></script>
</head>
<body>
<div class="TabulatorOutline" id="DummyUUID">
<table id="outline"></table>
</div>
<script type="text/javascript">
var qs = (function(a) {
if (a == "") return {};
var b = {};
Expand All @@ -15,21 +21,15 @@
}
return b;
})(window.location.search.substr(1).split('&'));
(function(uri){
jQuery(document).ready(function() {
window.document.title = uri;
var kb = tabulator.kb;
var subject = kb.sym(uri);
tabulator.outline.GotoSubject(subject, true, undefined, true, undefined);
if (window.history && window.history.pushState)
window.history.pushState({}, document.title, qs.uri);
});
})(qs.uri);
function load(uri) {
window.document.title = uri;
var kb = tabulator.kb;
var subject = kb.sym(uri);
tabulator.outline.GotoSubject(subject, true, undefined, true, undefined);
if (window.history && window.history.pushState)
window.history.pushState({}, document.title, qs.uri);
}
jQuery(function() { load(qs.uri); });
</script>
</head>
<body>
<div class="TabulatorOutline" id="DummyUUID">
<table id="outline"></table>
</div>
</body>
</html>

0 comments on commit c71dea8

Please sign in to comment.