gecko-dev/browser/base/content/tabcandy/tabcandy.xhtml

73 lines
1.6 KiB
HTML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
<title>Switch</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<link rel="icon" href="chrome://tabcandy/content/tabcandy.png"/>
<style media="screen" type="text/css">
html {
margin: 0;
padding: 0;
font-family: sans-serif;
}
body {
margin: 20px;
padding: 0;
}
li {
margin-bottom: 5px;
list-style-type: none;
}
ul {
}
a {
text-decoration: none;
}
h1 {
margin-bottom: 10px;
}
</style>
</head>
<body>
<h1>Pick a style:</h1>
<ul id="list">
</ul>
<h1>Development:</h1>
<ul>
<li><a href="doc/index.html">Code Documentation</a></li>
<li><a href="http://code.google.com/p/tabcandy/">Project Home</a></li>
</ul>
<script type="text/javascript;version=1.8" src="js/core/jquery.js"></script>
<script type="text/javascript;version=1.8" src="js/core/utils.js"></script>
<script type="text/javascript;version=1.8">
Utils.getVisualizationNames(function(names) {
var count = names.length;
var a;
for(a = 0; a < count; a++) {
var name = names[a];
var html = '<li><a href="candies/'
+ name
+ '/index.html">'
+ name
+ '</a></li>';
$('#list').append(html);
}
});
</script>
</body>
</html>