source: Dev/trunk/d3/examples/sizzle/sizzle.html @ 76

Last change on this file since 76 was 76, checked in by fpvanagthoven, 14 years ago

d3

File size: 548 bytes
Line 
1<!DOCTYPE html>
2<html>
3  <head>
4    <title>Sizzle</title>
5    <script type="text/javascript" src="../../lib/sizzle/sizzle.js"></script>
6    <script type="text/javascript" src="../../d3.js"></script>
7    <style type="text/css">
8
9body {
10  margin: 2em;
11  text-align: center;
12  font: 300 36px helvetica neue;
13}
14
15    </style>
16  </head>
17  <body>
18    Sizzle.js disabled.
19    <script type="text/javascript">
20
21// The :first psuedo-class is a custom Sizzle extension.
22d3.select("body:first")
23    .html("Sizzle.js enabled!");
24
25    </script>
26  </body>
27</html>
Note: See TracBrowser for help on using the repository browser.