mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
24 lines
477 B
HTML
24 lines
477 B
HTML
|
<!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>
|