-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample64.htm
More file actions
executable file
·80 lines (65 loc) · 2.87 KB
/
example64.htm
File metadata and controls
executable file
·80 lines (65 loc) · 2.87 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Plug-in JavaScript: Example 64</title>
<script src="PJ.js"></script>
<script>Initialize()</script>
</head><body>
<span id='h1'><b>News</b></span><br /><span id='c1'>
» <a href='local.htm'>Local News</a><br/ >
» <a href='world.htm'>World News</a><br/ >
» <a href='entertainment.htm'>Entertainment News</a><br/ >
» <a href='business.htm'>Business News</a><br/ >
» <a href='technology.htm'>Technology News</a><br/ ></span>
<span id='h2'><b>Sport</b></span><br /><span id='c2'>
» <a href='football.htm'>Football</a><br/ >
» <a href='baseball.htm'>Baseball</a><br/ >
» <a href='hockey.htm'>Hockey</a><br/ >
» <a href='soccer.htm'>Soccer</a><br/ ></span>
<span id='h3'><b>Weather</b></span><br /><span id='c3'>
» <a href='movies.htm'>Movies</a><br/ >
» <a href='music.htm'>Music</a><br/ >
» <a href='televison.htm'>Television</a><br/ ></span>
<span id='h4'><b>Links</b></span><br /><span id='c4'>
» <a href='index.htm'>Home Page</a><br/ >
» <a href='articles.htm'>Articles</a><br/ >
» <a href='videos.htm'>Videos</a><br/ >
» <a href='podcasts.htm'>Podcasts</a><br/ ></span>
<!-- Comment out the above HTML and and the first FoldingMenu()
call in the script section below. Then uncomment this
section and the commented out FoldingMenu() call in the
script section to see this menu repurposed to use the
'hover' action.
<span id='h1'><b>News</b></span> |
<span id='h2'><b>Sport</b></span> |
<span id='h3'><b>Weather</b></span> |
<span id='h4'><b>Links</b></span><br />
<span id='c1'>
» <a href='local.htm'>Local News</a>
<a href='world.htm'>World News</a>
<a href='entertainment.htm'>Entertainment News</a>
<a href='business.htm'>Business News</a>
<a href='technology.htm'>Technology News</a></span>
<span id='c2'>
» <a href='football.htm'>Football</a>
<a href='baseball.htm'>Baseball</a>
<a href='hockey.htm'>Hockey</a>
<a href='soccer.htm'>Soccer</a></span>
<span id='c3'>
» <a href='movies.htm'>Movies</a>
<a href='music.htm'>Music</a>
<a href='televison.htm'>Television</a></span>
<span id='c4'>
» <a href='index.htm'>Home Page</a>
<a href='articles.htm'>Articles</a>
<a href='videos.htm'>Videos</a>
<a href='podcasts.htm'>Podcasts</a></span>
-->
<script>
window.onload = function()
{
headings = Array('h1', 'h2', 'h3', 'h4')
contents = Array('c1', 'c2', 'c3', 'c4')
FoldingMenu(headings, contents, 'click', 'inflate', 0, 0, 1, 200, 300, 1)
// FoldingMenu(headings, contents, 'hover', 'inflate', 0, 0, 1, 200, 300, 1)
}
</script>