-
Notifications
You must be signed in to change notification settings - Fork 0
/
examples.html
35 lines (33 loc) · 956 Bytes
/
examples.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Simple Examples</title>
<meta name="author" content="Alex Dorey">
<script src="jquery-1.4.2.js" type="text/javascript"></script>
<script src="jquery.buildin.js" type="text/javascript"></script>
</head>
<body>
<div></div>
<script type="text/javascript">
<!--
jQuery(function($){
$('div').buildIn(
["h2", {}, "Header Text"],
["p", {}, ["Paragraph text with ", ["a", {href:"http://en.wikipedia.org/wiki/Nested_function"}, "nested"], " element processing."]],
["fieldset", {}, [
["legend", {}, "Advantages:"],
["div", {}]
]]
);
$('fieldset div').buildIn(["ul", {},
["li", {}, "Clean syntax"],
["li", {}, "Happy, fast processing"],
["li", {style:'font-style:italic'}, "And lots more!"]
]);
})
-->
</script>
</body>
</html>