File: example.html

package info (click to toggle)
jquery-simpletreemenu 1.5.0-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 92 kB
  • ctags: 15
  • sloc: makefile: 10
file content (42 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (3)
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
36
37
38
39
40
41
42
<!DOCTYPE html>

<html>

<head>
	<title>Simple Tree Menu Example</title>
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script src="jquery-simpleTreeMenu.js"></script>
	<link href="jquery-simpleTreeMenu.css" rel="stylesheet" type="text/css" />
</head>

<body>
	
	<h1>Simple Tree Menu Examples</h1>
	
	<div style="width:200px">
		<ul id="demoTree">
			<li><a href="">Hello</a></li>
			<li>
				<span>Fred</span>
				<ul>
					<li><a href="">Foo</a></li>
					<li>
						<span>Bar</span>
						<ul>
							<li><a href="example.html">Spic</a></li>
							<li><a href="">Span</a></li>
						</ul>
					</li>
				</ul>
			</li>
		</ul>
	</div>
	
</body>

<script type="text/javascript">
	$('#demoTree').simpleTreeMenu();
	$('#demoTree').simpleTreeMenu('searchForUrl');
</script>

</html>