mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
8f5edff379
+ the top level index.html now automatically grabs all the different visualizations and lists them + Added a visualization switcher that can be dropped into any visualization; drop down in the upper left of the window + The Utils routines log(), trace() and error() now take in any number of parameters. If a parameter is an object, its first level is automatically expanded + Fixed lasso in the "original" visualization --HG-- rename : browser/base/content/tabcandy/jquery-ui.js => browser/base/content/tabcandy/app/jquery-ui.js rename : browser/base/content/tabcandy/jquery.js => browser/base/content/tabcandy/core/jquery.js rename : browser/base/content/tabcandy/app/jquery.lasso.js => browser/base/content/tabcandy/shared/jquery.lasso.js rename : content/ian1/index.html => content/candies/ian1/index.html rename : content/ian1/ui.js => content/candies/ian1/js/ui.js rename : content/line/index.html => content/candies/line/index.html rename : content/line/js/jquery.line.js => content/candies/line/js/jquery.line.js rename : content/line/js/jquery.select.js => content/candies/line/js/jquery.select.js rename : content/tab.html => content/candies/original/index.html rename : content/select/index.html => content/candies/select/index.html rename : content/stacks/index.html => content/candies/stacks/index.html rename : content/stacks/js/jquery.select.js => content/candies/stacks/js/jquery.select.js rename : content/stacks/js/ui.js => content/candies/stacks/js/ui.js
66 lines
1.4 KiB
HTML
66 lines
1.4 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>
|
|
|
|
<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">
|
|
|
|
var names = Utils.getVisualizationNames();
|
|
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>
|