Repository navigation
Expand file tree
/
Copy pathmenudoc.php
More file actions
155 lines (128 loc) · 5.13 KB
/
Copy pathmenudoc.php
File metadata and controls
155 lines (128 loc) · 5.13 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="menudoc/ddaccordion.js">
/***********************************************
* Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
</script>
<script type="text/javascript">
//Initialize Arrow Side Menu:
ddaccordion.init({
headerclass: "menuheaders", //Shared CSS class name of headers group
contentclass: "menucontents", //Shared CSS class name of contents group
revealtype: "clickgo", //Reveal content when user clicks or onmouseover the header? Valid value: "click", or "mouseover"
mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content.
onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
animatedefault: false, //Should contents open by default be animated into view?
persiststate: true, //persist state of opened contents within browser session?
toggleclass: ["unselected", "selected"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
togglehtml: ["none", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
animatespeed: 500, //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
//do nothing
}
})
</script>
<style type="text/css">
.arrowsidemenu{
width: 180px; /*width of menu*/
border-style: solid solid none solid;
border-color: #94AA74;
border-size: 1px;
border-width: 1px;
}
.arrowsidemenu div a{ /*header bar links*/
font: bold 12px Verdana, Arial, Helvetica, sans-serif;
display: block;
background: transparent url(menudoc/arrowgreen.gif) 100% 0;
height: 24px; /*Set to height of bg image-padding within link (ie: 32px - 4px - 4px)*/
padding: 4px 0 4px 10px;
line-height: 24px; /*Set line-height of bg image-padding within link (ie: 32px - 4px - 4px)*/
text-decoration: none;
}
.arrowsidemenu div a:link, .arrowsidemenu div a:visited{
color: #26370A;
}
.arrowsidemenu div a:hover{
background-position: 100% -32px;
}
.arrowsidemenu div.unselected a{ /*header that's currently not selected*/
color: #6F3700;
}
.arrowsidemenu div.selected a{ /*header that's currently selected*/
color: blue;
background-position: 100% -64px !important;
}
.arrowsidemenu ul{
list-style-type: none;
margin: 0;
padding: 0;
}
.arrowsidemenu ul li{
border-bottom: 1px solid #a1c67b;
}
.arrowsidemenu ul li a{ /*sub menu links*/
display: block;
font: normal 12px Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
color: black;
padding: 5px 0;
padding-left: 10px;
border-left: 10px double #a1c67b;
}
.arrowsidemenu ul li a:hover{
background: #d5e5c1;
}
</style>
<body>
<div class="arrowsidemenu">
<div><a href="#" title="Home">Home</a></div>
<div class="menuheaders"><a href="#" title="CSS">CSS Library</a></div>
<ul class="menucontents">
<li><a href="#">Horizontal CSS Menus</a></li>
<li><a href="#">Vertical CSS Menus</a></li>
<li><a href="#">Image CSS</a></li>
<li><a href="#">Form CSS</a></li>
<li><a href="#">DIVs and containers</a></li>
<li><a href="#">Links & Buttons</a></li>
<li><a href="#">Other</a></li>
<li><a href="#">Browse All</a></li>
</ul>
<div class="menuheaders"><a href="#" title="Forums">Forums</a></div>
<ul class="menucontents">
<li><a href="#">Horizontal CSS Menus</a></li>
<li><a href="#">Vertical CSS Menus</a></li>
<li><a href="#">Image CSS</a></li>
<li><a href="#">Form CSS</a></li>
<li><a href="#">DIVs and containers</a></li>
<li><a href="#">Links & Buttons</a></li>
<li><a href="#">Other</a></li>
<li><a href="#">Browse All</a></li>
</ul>
<div class="menuheaders"><a href="#" title="JavaScript">JavaScript</a></div>
<ul class="menucontents">
<li><a href="#">JavaScript Reference</a></li>
<li><a href="#">Free JavaScripts</a></li>
</ul>
<div class="menuheaders"><a href="#" title="Tools">Webmaster Tools</a></div>
<ul class="menucontents">
<li><a href="#">Horizontal CSS Menus</a></li>
<li><a href="#">Vertical CSS Menus</a></li>
<li><a href="#">Image CSS</a></li>
<li><a href="#">Form CSS</a></li>
<li><a href="#">DIVs and containers</a></li>
<li><a href="#">Links & Buttons</a></li>
<li><a href="#">Other</a></li>
<li><a href="#">Browse All</a></li>
</ul>
</div>
</body>
</html>