silverstripe-framework/admin/thirdparty/history-js/demo/navigator.html

24 lines
477 B
HTML
Raw Normal View History

2011-12-13 10:34:25 +01:00
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Navigator Output
</title>
<style>
label { font-weight:bold; }
label:after { content: ":"; margin-right:5px; }
</style>
</head>
<body>
<div id="nav"></div>
<script>
var nav = document.getElementById('nav'), i,v;
for ( i in navigator ) {
var v = navigator[i];
nav.innerHTML += '<div><label>'+i+'</label>'+v+'</div>';
}
</script>
</body>
</html>