Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:59
"Status" does not work.
Poster: Maestro
Dated: Wednesday December 29 2004 - 17:30:57 GMT
Please take a look at the code at line 142 below.
You can test the code here.
"Status" does not work.
Is this a bug, or am I doing something wrong?
Thank you.
-Tim Hall
Code:
1
2 /*
3 Milonic DHTML Menu - JavaScript Website Navigation System.
4 Copyright 2004 (c) Milonic Solutions Limited. All Rights Reserved.
5 Version 5+ Data File structure is the property of Milonic Solutions Ltd and must only be used in Milonic DHTML Products
6 This is a commercial software product, please visit http://www.milonic.com/ for more information.
7 See http://www.milonic.com/license.php for Commercial License Agreement
8 All Copyright statements must always remain in place in all files at all times
9 ******* PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE *******
10 */
11
12 buildAllMenus=1;
13 retainClickValue=1;
14 _menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
15 _menuOpenDelay=500 // The time delay before menus open on mouse over
16 _subOffsetTop=-5 // Sub menu top offset
17 _subOffsetLeft=5 // Sub menu left offset
18
19 // DEFINE any custom functions nex..
20 /*
21 See: http://www.milonic.com/forum/viewtopic.php?p=14348#14348 for a full explanation
22 */
23 function mm_changeItemProperty(menuName, itemName, codeRef, newValue, updateDisplay)
24 {
25 menuName = menuName.toLowerCase();
26 for (i=0; i<_mi.length; i++)
27 if (_mi[i][1].replace(/\ \;/ig,' ') == itemName && _m[_mi[i][0]][1] == menuName) break;
28 if (i == _mi.length) return;
29 _mi[i][codeRef] = newValue;
30 if (updateDisplay) BDMenu(_mi[i][0]);
31 }
32
33 /*
34 See: http://www.milonic.com/forum/viewtopic.php?t=4853&highlight=type+form for a full explanation
35 */
36 function mm_changeMenuProperty(menuName, propertyRef, newValue)
37 {
38 var menuNum = getMenuByName(menuName);
39 _m[menuNum][propertyRef] = newValue;
40 BDMenu(menuNum);
41 }
42
43
44 // DEFINE the styles used by the various menues & sub menues
45
46 with(TopMainMenuStyle=new mm_style()){
47 openonclick=1;
48 closeonclick=1;
49 onbgcolor="#4F8EB6";
50 oncolor="#ffffff";
51 offbgcolor="none";
52 offcolor="#fff";
53 separatorcolor="#2D729D";
54 separatorsize="1";
55 padding=5;
56 fontsize="75%";
57 fontstyle="normal";
58 fontfamily="Verdana, Tahoma, Arial";
59 pagebgimage="images/inverseTopNav_bg.jpg";
60 headercolor="#FBDFB4";
61 headerbgcolor="none";
62 }
63
64 with(TopSubTwoHeaderStyle=new mm_style()){
65 openonclick=1;
66 closeonclick=1;
67 fontsize="75%";
68 fontstyle="normal";
69 fontfamily="Verdana, Tahoma, Arial";
70 bgimage="images/trans_BlueGrey.png";
71 align="right";
72 valign="middle";
73 bordercolor="#FFFFFF";
74 borderwidth="1px";
75 borderstyle="solid";
76 padding="2px";
77 }
78
79
80 with(TopPDFsByDepartmentStyle=new mm_style()){
81 openonclick=1;
82 closeonclick=1;
83 onbgcolor="#ccffcc";
84 oncolor="#000000";
85 offbgcolor="#cccccc";
86 offcolor="#99061C";
87 bordercolor="#292B4A";
88 borderstyle="solid";
89 borderwidth=1;
90 padding=5;
91 fontsize="12px";
92 fontstyle="normal";
93 fontweight="normal";
94 fontfamily="Verdana, Tahoma, Arial";
95 headercolor="#FFFFFF";
96 headerbgcolor="#292B4A";
97 imagepadding="0 20 0 10";
98 }
99
100
101 /* These are variants of the TopMainMenuStyle */
102 TopSubOneMainMenuStyle=new copyOf(TopMainMenuStyle);
103 TopSubOneMainMenuStyle.bgimage="images/trans_BlueGrey.png";
104 TopSubOneMainMenuStyle.pagebgimage="images/inverseSubOneNav_bg.png";
105 TopSubOneMainMenuStyle.pageborder='1px solid #ffffff';;
106 TopSubOneMainMenuStyle.padding=10;
107
108 /* These are variants of the TopMainMenuStyle - One layer down */
109 TopSubTwoMainMenuStyle=new copyOf(TopSubOneMainMenuStyle);
110 TopSubTwoMainMenuStyle.padding=5;
111 TopSubTwoMainMenuStyle.bgimage="images/normalSubTwoNav_bg.gif";
112 TopSubTwoMainMenuStyle.overbgimage="images/overSubTwoNav_bg.gif";
113 TopSubTwoMainMenuStyle.pagebgimage="images/inverseSubTwoNav_bg.gif";
114 TopSubTwoMainMenuStyle.onbgcolor="none";
115 TopSubTwoMainMenuStyle.separatoralign="left";
116 TopSubTwoMainMenuStyle.separatorwidth="221";
117 TopSubTwoMainMenuStyle.pageborder="none";
118 TopSubTwoMainMenuStyle.oncolor="#2847AA";
119
120 /* These are variants of the TopMainMenuStyle - Two layers down */
121 TopSubThreeMainMenuStyle=new copyOf(TopSubOneMainMenuStyle);
122 TopSubThreeMainMenuStyle.openonclick=1;
123 TopSubThreeMainMenuStyle.align="center";
124 TopSubThreeMainMenuStyle.offcolor="#FBDFB4";
125 TopSubThreeMainMenuStyle.offbgcolor="#292B4A";
126 TopSubThreeMainMenuStyle.oncolor="gold";
127 TopSubThreeMainMenuStyle.onbgcolor="#292B4A";
128 TopSubThreeMainMenuStyle.bgimage="none";
129 TopSubThreeMainMenuStyle.bordercolor="#292B4A";
130 TopSubThreeMainMenuStyle.borderstyle="solid";
131 TopSubThreeMainMenuStyle.borderwidth=0;
132 TopSubThreeMainMenuStyle.imagepadding="0 15 0 15";
133
134
135 // "Main Menue" - the items shown in the top navigation bar
136 with(milonic=new menuname("Main Menu")){
137 style=TopMainMenuStyle;
138 top=62;
139 left=300;
140 alwaysvisible=1;
141 orientation="horizontal";
142 aI("text=Home;url=#;status=Back To Home Page;");
143 aI("text=Departments;showmenu=TopDepartments;");
144 aI("text=Library;showmenu=TopLibrary;");
145 aI("text=Search;showmenu=TopSearch;");
146 aI("text=My City;showmenu=TopMyCity;");
147 }
148
149 // Sub to "Main Menue" are the five main departments
150 with(milonic=new menuname("TopDepartments")){
151 style=TopSubOneMainMenuStyle;
152 top=92;
153 screenposition="left";
154 left="offset=10";
155 orientation="horizontal";
156 menuwidth=580;
157 aI("text=City Clerk;showmenu=TopCityClerk;");
158 aI("text=City Council;showmenu=TopCityCouncil;");
159 aI("text=Community Development;showmenu=TopCommunityDevelopment;");
160 aI("text=Police Dept;showmenu=TopPoliceDept;");
161 aI("text=Finance;showmenu=TopFinance;");
162 }
163
164
165 // Categories belonging to "City Clerk" department
166 with(milonic=new menuname("TopCityClerk")){
167 style=TopSubTwoMainMenuStyle;
168 screenposition="left";
169 left="offset=11";
170 top="131";
171 itemwidth=580;
172 aI("text=Municipal Code;url=#;");
173 aI("text=Town Hall Use;url=#;");
174 aI("text=Consultants & Contractors: <br> City Insurance;url=#;");
175 aI("text=Requests for Proposals & Bids;url=#;");
176 aI("text=Encroachments;url=#;");
177 aI("text=City Elections;url=#;");
178 aI("text=FPPC & County Website Links;url=#;");
179 }
180
181
182 // Categories belonging to "City Council" department
183 with(milonic=new menuname("TopCityCouncil")){
184 style=TopSubTwoMainMenuStyle;
185 screenposition="left";
186 left="offset=11";
187 top="131";
188 itemwidth=580;
189 aI("text=Agendas & Minutes;url=#;");
190 aI("text=Council Members;url=#;");
191 aI("text=City Council: <br> Calendar of Events;url=#;");
192 aI("text=How to's;url=#;");
193 aI("text=FAQ;url=#;");
194 }
195
196
197 // Categories belonging to "Community Development" department
198 with(milonic=new menuname("TopCommunityDevelopment")){
199 style=TopSubTwoMainMenuStyle;
200 screenposition="left";
201 left="offset=11";
202 top="131";
203 itemwidth=580;
204 aI("text=Planning Commission;url=#;");
205 aI("text=Public Hearing Notices;url=#;");
206 aI("text=Land Use & Development;url=#;");
207 aI("text=Citywide Design Guidelines;url=#;");
208 aI("text=General Plan;url=#;");
209 aI("text=Mayor's \"Well Done Award\";url=#;");
210 aI("text=Planning Permit Brochures;url=#;");
211 aI("text=Editable Planning Application;url=#;");
212 aI("text=GP Planning Page;url=#;");
213 aI("text=FAQ;url=#;");
214 }
215
216
217 // Categories belonging to "Police" department
218 with(milonic=new menuname("TopPoliceDept")){
219 style=TopSubTwoMainMenuStyle;
220 screenposition="left";
221 left="offset=11";
222 top="131";
223 itemwidth=580;
224 aI("text=Mission Statement;url=#;");
225 aI("text=Meet the Officers;url=#;");
226 aI("text=COPPS Projects & Info;url=#;");
227 aI("text=Code of Ethics;url=#;");
228 aI("text=PAL Activities<br> and Board Members;url=/default2.html;");
229 aI("text=Local Missing Persons;url=#;");
230 aI("text=The Tipster Program;url=#;");
231 aI("text=The Police Cadets Program;url=#;");
232 aI("text=Job Opportunities;url=#;");
233 aI("text=Schedule of Fees;url=#;");
234 aI("text=Fingerprinting;url=#;");
235 aI("text=Schedule of Upcomming Events;url=#;");
236 aI("text=Gang Awareness;url=#;");
237 aI("text=Graffiti Program;url=#;");
238 aI("text=Office Hours;url=#;");
239 aI("text=Frequently Requested Forms;url=#;");
240 aI("text=Links;url=#;");
241 aI("text=FAQ;url=#;");
242 }
243
244
245 // Categories belonging to "Finance" department
246 with(milonic=new menuname("TopFinance")){
247 style=TopSubTwoMainMenuStyle;
248 screenposition="left";
249 left="offset=11";
250 top="131";
251 itemwidth=580;
252 aI("text=City Treasurer;url=#;");
253 aI("text=Fiscal Responsibilities<br> and Mandates;url=#;");
254 aI("text=Frequently Requested Forms;url=#;");
255 aI("text=Documents;url=#;");
256 aI("text=FAQ;url=#;");
257 }
258
259 /* NEXT: the Documents "Library" */
260 // Can be dynamically generated from the PDF Searchable DB
261 // Grouped by Department or Category
262 with(milonic=new menuname("TopLibrary")){
263 style=TopSubTwoMainMenuStyle;
264 screenposition="left";
265 left="offset=11";
266 top="91";
267 itemwidth=580;
268 aI("text=Draw from an extensive library of usefull city forms and documents.<br>All in downloadable (PDF) format;type=header;itemheight=38;bgimage=images/trans_BlueGrey.png;onbgcolor=none;pagebgimage=none;headerborder=1px solid #FFFFFF;rawcss=font-variant:small-caps;align=center;margin=10;");
269 aI("text=Organized<br> by General Category;showmenu=TopPDFsByCategoryOne;");
270 aI("text=Organized<br> by Department of Origin;showmenu=TopPDFsByDepartment;");
271 aI("text=Document Search Tool;url=#;");
272 aI("text=FAQ;url=#;");
273 }
274
275
276 // PDFs by Category#1 - 2B Dynamic byLasso
277 with(milonic=new menuname("TopPDFsByCategoryOne")){
278 style=TopSubThreeMainMenuStyle;
279 top=133;
280 left=232;
281 itemwidth=167;
282 itemheight=40;
283 orientation="horizontal";
284 aI("text=DOCUMENTS;showmenu=TopPDFsByCategoryDocksTwo;fontsize=75%;padding=2;image=images/pdf.gif;imageposition=left;");
285 aI("text=FORMS;showmenu=TopPDFsByCategoryFormsTwo;fontsize=75%;padding=2;image=images/pdf.gif;imageposition=right;");
286 }
287
288 // PDFs by Category Docs#2 - 2B Dynamic byLasso
289 with(milonic=new menuname("TopPDFsByCategoryDocksTwo")){
290 style=TopSubThreeMainMenuStyle;
291 top=173;
292 left=232;
293 itemwidth=147;
294 itemheight=40;
295 orientation="horizontal";
296 aI("text=<font size=-2>by</font><br>Department;align=right;showmenu=TopPDFsByCategoryDocsThreeByDept;fontsize=75%;rawcss=padding-right:15px;");
297 aI("text=<font size=-2>by</font><br>Need;align=left;showmenu=TopPDFsByCategoryDocsThreeByNeed;fontsize=75%;rawcss=padding-left:1px;");
298 }
299
300 // PDFs by Category Forms#2 - 2B Dynamic byLasso
301 with(milonic=new menuname("TopPDFsByCategoryFormsTwo")){
302 style=TopSubThreeMainMenuStyle;
303 top=173;
304 left=232;
305 itemwidth=147;
306 itemheight=40;
307 orientation="horizontal";
308 aI("text=<font size=-2>by</font><br>Department;align=right;showmenu=TopPDFsByCategoryFormsThreeByDept;fontsize=75%;rawcss=padding-right:15px;");
309 aI("text=<font size=-2>by</font><br>Need;align=left;showmenu=TopPDFsByCategoryFormsThreeByNeed;fontsize=75%;rawcss=padding-left:1px;");
310 }
311
312 // PDFs by Category Docs#3 byDept - 2B Dynamic byLasso
313 with(milonic=new menuname("TopPDFsByCategoryDocsThreeByDept")){
314 style=TopPDFsByDepartmentStyle;
315 top=213;
316 left=232;
317 itemwidth=333;
318 overflow="scroll";
319 aI("type=header;text=<font color=gold>City Clerk</font>;rawcss=font-variant:small-caps;align=center;");
320 aI("text=Town Hall Use;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
321 aI("text=City Insurance Requirements;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
322
323 aI("type=header;text=<font color=gold>City Council</font>;rawcss=font-variant:small-caps;align=center;");
324 aI("text=City Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
325 aI("text=City Council Minutes (most recent);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
326 aI("text=City Council Minutes (archived);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
327 aI("text=How to put an item on the Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
328 aI("text=CDC Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
329 aI("text=F & A Commitee Agendas and Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
330 aI("text=Public Safety Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
331 aI("text=Public Works Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
332 aI("text=CDAB Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
333
334 aI("type=header;text=<font color=gold>Police Department</font>;rawcss=font-variant:small-caps;align=center;");
335 aI("text=Press Releases;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
336 aI("text=CHP 555 short;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
337 aI("text=Info Only Report;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
338 }
339
340 // PDFs by Category Docs#3 byNeed - 2B Dynamic byLasso
341 with(milonic=new menuname("TopPDFsByCategoryDocsThreeByNeed")){
342 style=TopPDFsByDepartmentStyle;
343 top=213;
344 left=232;
345 itemwidth=333;
346 overflow="scroll";
347 aI("type=header;text=<font color=gold>Proceedures & Policies</font>;rawcss=font-variant:small-caps;align=center;");
348 aI("text=Town Hall Use;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
349 aI("text=City Insurance Requirements;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
350 aI("text=How to put an item on the Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
351
352 aI("type=header;text=<font color=gold>Agendas, Minutes & Public Records</font>;rawcss=font-variant:small-caps;align=center;");
353 aI("text=City Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
354 aI("text=City Council Minutes (most recent);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
355 aI("text=City Council Minutes (archived);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
356 aI("text=CDC Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
357 aI("text=F & A Commitee Agendas and Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
358 aI("text=Public Safety Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
359 aI("text=Public Works Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
360 aI("text=CDAB Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
361 aI("text=Press Releases;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
362
363 aI("type=header;text=<font color=gold>Miscellaneous</font>;rawcss=font-variant:small-caps;align=center;");
364 aI("text=CHP 555 short;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
365 aI("text=Police Info Only Report;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
366 }
367
368 // PDFs by Category Forms#3 byDept - 2B Dynamic byLasso
369 with(milonic=new menuname("TopPDFsByCategoryFormsThreeByDept")){
370 style=TopPDFsByDepartmentStyle;
371 top=213;
372 left=232;
373 itemwidth=333;
374 overflow="scroll";
375 aI("type=header;text=<font color=gold>City Clerk</font>;rawcss=font-variant:small-caps;align=center;");
376 aI("text=Public Records Request;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
377 aI("text=Encroachment Permit Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
378
379 aI("type=header;text=<font color=gold>City Council</font>;rawcss=font-variant:small-caps;align=center;");
380 aI("text=Speaker Card Forms;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
381
382 aI("type=header;text=<font color=gold>Police Department</font>;rawcss=font-variant:small-caps;align=center;");
383 aI("text=Cadet Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
384 aI("text=Job Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
385 aI("text=Parking Ticket Appeal;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
386 }
387
388 // PDFs by Category Forms#3 byNeed - 2B Dynamic byLasso
389 with(milonic=new menuname("TopPDFsByCategoryFormsThreeByNeed")){
390 style=TopPDFsByDepartmentStyle;
391 top=213;
392 left=232;
393 itemwidth=333;
394 overflow="scroll";
395 aI("type=header;text=<font color=gold>Permits & Applications</font>;rawcss=font-variant:small-caps;align=center;");
396 aI("text=Encroachment Permit Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
397 aI("text=Cadet Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
398 aI("text=Job Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
399
400 aI("type=header;text=<font color=gold>Request & Appeal Forms</font>;rawcss=font-variant:small-caps;align=center;");
401 aI("text=Public Records Request;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
402 aI("text=Parking Ticket Appeal;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
403
404 aI("type=header;text=<font color=gold>Miscellaneous</font>;rawcss=font-variant:small-caps;align=center;");
405 aI("text=Speaker Card Forms;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
406 }
407
408
409
410 // PDFs by Department - 2B Dynamic byLasso
411 with(milonic=new menuname("TopPDFsByDepartment")){
412 style=TopPDFsByDepartmentStyle;
413 top=133;
414 left=232;
415 itemwidth=340;
416 overflow="scroll";
417 aI("type=header;text=from the <font color=gold> City Clerk</font>;image=images/pdf.gif;rawcss=font-variant:small-caps;");
418 aI("text=Public Records Request;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
419 aI("text=Town Hall Use;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
420 aI("text=City Insurance Requirements;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
421 aI("text=Encroachment Permit Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
422
423 aI("type=header;text=from the <font color=gold> City Council</font>;image=images/pdf.gif;rawcss=font-variant:small-caps;");
424 aI("text=City Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
425 aI("text=City Council Minutes (most recent);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
426 aI("text=City Council Minutes (archived);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
427 aI("text=Speaker Card Forms;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
428 aI("text=How to put an item on the Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
429 aI("text=CDC Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
430 aI("text=F & A Commitee Agendas and Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
431 aI("text=Public Safety Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
432 aI("text=Public Works Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
433 aI("text=CDAB Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
434
435 aI("type=header;text=from the <font color=gold> Police Department</font>;image=images/pdf.gif;rawcss=font-variant:small-caps;");
436 aI("text=Cadet Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
437 aI("text=Job Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
438 aI("text=Press Releases;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
439 aI("text=CHP 555 short;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
440 aI("text=Info Only Report;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
441 aI("text=Parking Ticket Appeal;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
442 }
443
444
445 // Simple search
446 with(milonic=new menuname("TopSearch")){
447 style=TopSubTwoHeaderStyle;
448 screenposition="left";
449 left="offset=10";
450 top="91";
451 itemwidth=579;
452 aI("type=header;rawcss=font-variant:small-caps;text=<form name=form1 action=#><font color=#FBDFB4>Do a simple search of this site... </font><input style=background-color:#EBE689 type=text name=simplesearch> <input type=submit value=search></form>;");
453 }
454
455 // Example, using TopMyCity of form when "type=header"
456 with(milonic=new menuname("TopMyCity")){
457 style=TopSubTwoHeaderStyle;
458 screenposition="left";
459 left="offset=10";
460 top="91";
461 itemwidth=579;
462 //aI("type=header;rawcss=font-variant:small-caps;text=<form name=form2 action=http://pdaoutlet.biz/cgi-bin/mail.cgi><input type=hidden name=flavor value=subscribe><input type=hidden name=list value=pda><font color=#FBDFB4>Our Newsletter... </font><input style=background-color:#EBE689 type=text name=email> <input type=submit value=Subscribe></form>;");
463 }
464
465 drawMenus();
466
2 /*
3 Milonic DHTML Menu - JavaScript Website Navigation System.
4 Copyright 2004 (c) Milonic Solutions Limited. All Rights Reserved.
5 Version 5+ Data File structure is the property of Milonic Solutions Ltd and must only be used in Milonic DHTML Products
6 This is a commercial software product, please visit http://www.milonic.com/ for more information.
7 See http://www.milonic.com/license.php for Commercial License Agreement
8 All Copyright statements must always remain in place in all files at all times
9 ******* PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE *******
10 */
11
12 buildAllMenus=1;
13 retainClickValue=1;
14 _menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
15 _menuOpenDelay=500 // The time delay before menus open on mouse over
16 _subOffsetTop=-5 // Sub menu top offset
17 _subOffsetLeft=5 // Sub menu left offset
18
19 // DEFINE any custom functions nex..
20 /*
21 See: http://www.milonic.com/forum/viewtopic.php?p=14348#14348 for a full explanation
22 */
23 function mm_changeItemProperty(menuName, itemName, codeRef, newValue, updateDisplay)
24 {
25 menuName = menuName.toLowerCase();
26 for (i=0; i<_mi.length; i++)
27 if (_mi[i][1].replace(/\ \;/ig,' ') == itemName && _m[_mi[i][0]][1] == menuName) break;
28 if (i == _mi.length) return;
29 _mi[i][codeRef] = newValue;
30 if (updateDisplay) BDMenu(_mi[i][0]);
31 }
32
33 /*
34 See: http://www.milonic.com/forum/viewtopic.php?t=4853&highlight=type+form for a full explanation
35 */
36 function mm_changeMenuProperty(menuName, propertyRef, newValue)
37 {
38 var menuNum = getMenuByName(menuName);
39 _m[menuNum][propertyRef] = newValue;
40 BDMenu(menuNum);
41 }
42
43
44 // DEFINE the styles used by the various menues & sub menues
45
46 with(TopMainMenuStyle=new mm_style()){
47 openonclick=1;
48 closeonclick=1;
49 onbgcolor="#4F8EB6";
50 oncolor="#ffffff";
51 offbgcolor="none";
52 offcolor="#fff";
53 separatorcolor="#2D729D";
54 separatorsize="1";
55 padding=5;
56 fontsize="75%";
57 fontstyle="normal";
58 fontfamily="Verdana, Tahoma, Arial";
59 pagebgimage="images/inverseTopNav_bg.jpg";
60 headercolor="#FBDFB4";
61 headerbgcolor="none";
62 }
63
64 with(TopSubTwoHeaderStyle=new mm_style()){
65 openonclick=1;
66 closeonclick=1;
67 fontsize="75%";
68 fontstyle="normal";
69 fontfamily="Verdana, Tahoma, Arial";
70 bgimage="images/trans_BlueGrey.png";
71 align="right";
72 valign="middle";
73 bordercolor="#FFFFFF";
74 borderwidth="1px";
75 borderstyle="solid";
76 padding="2px";
77 }
78
79
80 with(TopPDFsByDepartmentStyle=new mm_style()){
81 openonclick=1;
82 closeonclick=1;
83 onbgcolor="#ccffcc";
84 oncolor="#000000";
85 offbgcolor="#cccccc";
86 offcolor="#99061C";
87 bordercolor="#292B4A";
88 borderstyle="solid";
89 borderwidth=1;
90 padding=5;
91 fontsize="12px";
92 fontstyle="normal";
93 fontweight="normal";
94 fontfamily="Verdana, Tahoma, Arial";
95 headercolor="#FFFFFF";
96 headerbgcolor="#292B4A";
97 imagepadding="0 20 0 10";
98 }
99
100
101 /* These are variants of the TopMainMenuStyle */
102 TopSubOneMainMenuStyle=new copyOf(TopMainMenuStyle);
103 TopSubOneMainMenuStyle.bgimage="images/trans_BlueGrey.png";
104 TopSubOneMainMenuStyle.pagebgimage="images/inverseSubOneNav_bg.png";
105 TopSubOneMainMenuStyle.pageborder='1px solid #ffffff';;
106 TopSubOneMainMenuStyle.padding=10;
107
108 /* These are variants of the TopMainMenuStyle - One layer down */
109 TopSubTwoMainMenuStyle=new copyOf(TopSubOneMainMenuStyle);
110 TopSubTwoMainMenuStyle.padding=5;
111 TopSubTwoMainMenuStyle.bgimage="images/normalSubTwoNav_bg.gif";
112 TopSubTwoMainMenuStyle.overbgimage="images/overSubTwoNav_bg.gif";
113 TopSubTwoMainMenuStyle.pagebgimage="images/inverseSubTwoNav_bg.gif";
114 TopSubTwoMainMenuStyle.onbgcolor="none";
115 TopSubTwoMainMenuStyle.separatoralign="left";
116 TopSubTwoMainMenuStyle.separatorwidth="221";
117 TopSubTwoMainMenuStyle.pageborder="none";
118 TopSubTwoMainMenuStyle.oncolor="#2847AA";
119
120 /* These are variants of the TopMainMenuStyle - Two layers down */
121 TopSubThreeMainMenuStyle=new copyOf(TopSubOneMainMenuStyle);
122 TopSubThreeMainMenuStyle.openonclick=1;
123 TopSubThreeMainMenuStyle.align="center";
124 TopSubThreeMainMenuStyle.offcolor="#FBDFB4";
125 TopSubThreeMainMenuStyle.offbgcolor="#292B4A";
126 TopSubThreeMainMenuStyle.oncolor="gold";
127 TopSubThreeMainMenuStyle.onbgcolor="#292B4A";
128 TopSubThreeMainMenuStyle.bgimage="none";
129 TopSubThreeMainMenuStyle.bordercolor="#292B4A";
130 TopSubThreeMainMenuStyle.borderstyle="solid";
131 TopSubThreeMainMenuStyle.borderwidth=0;
132 TopSubThreeMainMenuStyle.imagepadding="0 15 0 15";
133
134
135 // "Main Menue" - the items shown in the top navigation bar
136 with(milonic=new menuname("Main Menu")){
137 style=TopMainMenuStyle;
138 top=62;
139 left=300;
140 alwaysvisible=1;
141 orientation="horizontal";
142 aI("text=Home;url=#;status=Back To Home Page;");
143 aI("text=Departments;showmenu=TopDepartments;");
144 aI("text=Library;showmenu=TopLibrary;");
145 aI("text=Search;showmenu=TopSearch;");
146 aI("text=My City;showmenu=TopMyCity;");
147 }
148
149 // Sub to "Main Menue" are the five main departments
150 with(milonic=new menuname("TopDepartments")){
151 style=TopSubOneMainMenuStyle;
152 top=92;
153 screenposition="left";
154 left="offset=10";
155 orientation="horizontal";
156 menuwidth=580;
157 aI("text=City Clerk;showmenu=TopCityClerk;");
158 aI("text=City Council;showmenu=TopCityCouncil;");
159 aI("text=Community Development;showmenu=TopCommunityDevelopment;");
160 aI("text=Police Dept;showmenu=TopPoliceDept;");
161 aI("text=Finance;showmenu=TopFinance;");
162 }
163
164
165 // Categories belonging to "City Clerk" department
166 with(milonic=new menuname("TopCityClerk")){
167 style=TopSubTwoMainMenuStyle;
168 screenposition="left";
169 left="offset=11";
170 top="131";
171 itemwidth=580;
172 aI("text=Municipal Code;url=#;");
173 aI("text=Town Hall Use;url=#;");
174 aI("text=Consultants & Contractors: <br> City Insurance;url=#;");
175 aI("text=Requests for Proposals & Bids;url=#;");
176 aI("text=Encroachments;url=#;");
177 aI("text=City Elections;url=#;");
178 aI("text=FPPC & County Website Links;url=#;");
179 }
180
181
182 // Categories belonging to "City Council" department
183 with(milonic=new menuname("TopCityCouncil")){
184 style=TopSubTwoMainMenuStyle;
185 screenposition="left";
186 left="offset=11";
187 top="131";
188 itemwidth=580;
189 aI("text=Agendas & Minutes;url=#;");
190 aI("text=Council Members;url=#;");
191 aI("text=City Council: <br> Calendar of Events;url=#;");
192 aI("text=How to's;url=#;");
193 aI("text=FAQ;url=#;");
194 }
195
196
197 // Categories belonging to "Community Development" department
198 with(milonic=new menuname("TopCommunityDevelopment")){
199 style=TopSubTwoMainMenuStyle;
200 screenposition="left";
201 left="offset=11";
202 top="131";
203 itemwidth=580;
204 aI("text=Planning Commission;url=#;");
205 aI("text=Public Hearing Notices;url=#;");
206 aI("text=Land Use & Development;url=#;");
207 aI("text=Citywide Design Guidelines;url=#;");
208 aI("text=General Plan;url=#;");
209 aI("text=Mayor's \"Well Done Award\";url=#;");
210 aI("text=Planning Permit Brochures;url=#;");
211 aI("text=Editable Planning Application;url=#;");
212 aI("text=GP Planning Page;url=#;");
213 aI("text=FAQ;url=#;");
214 }
215
216
217 // Categories belonging to "Police" department
218 with(milonic=new menuname("TopPoliceDept")){
219 style=TopSubTwoMainMenuStyle;
220 screenposition="left";
221 left="offset=11";
222 top="131";
223 itemwidth=580;
224 aI("text=Mission Statement;url=#;");
225 aI("text=Meet the Officers;url=#;");
226 aI("text=COPPS Projects & Info;url=#;");
227 aI("text=Code of Ethics;url=#;");
228 aI("text=PAL Activities<br> and Board Members;url=/default2.html;");
229 aI("text=Local Missing Persons;url=#;");
230 aI("text=The Tipster Program;url=#;");
231 aI("text=The Police Cadets Program;url=#;");
232 aI("text=Job Opportunities;url=#;");
233 aI("text=Schedule of Fees;url=#;");
234 aI("text=Fingerprinting;url=#;");
235 aI("text=Schedule of Upcomming Events;url=#;");
236 aI("text=Gang Awareness;url=#;");
237 aI("text=Graffiti Program;url=#;");
238 aI("text=Office Hours;url=#;");
239 aI("text=Frequently Requested Forms;url=#;");
240 aI("text=Links;url=#;");
241 aI("text=FAQ;url=#;");
242 }
243
244
245 // Categories belonging to "Finance" department
246 with(milonic=new menuname("TopFinance")){
247 style=TopSubTwoMainMenuStyle;
248 screenposition="left";
249 left="offset=11";
250 top="131";
251 itemwidth=580;
252 aI("text=City Treasurer;url=#;");
253 aI("text=Fiscal Responsibilities<br> and Mandates;url=#;");
254 aI("text=Frequently Requested Forms;url=#;");
255 aI("text=Documents;url=#;");
256 aI("text=FAQ;url=#;");
257 }
258
259 /* NEXT: the Documents "Library" */
260 // Can be dynamically generated from the PDF Searchable DB
261 // Grouped by Department or Category
262 with(milonic=new menuname("TopLibrary")){
263 style=TopSubTwoMainMenuStyle;
264 screenposition="left";
265 left="offset=11";
266 top="91";
267 itemwidth=580;
268 aI("text=Draw from an extensive library of usefull city forms and documents.<br>All in downloadable (PDF) format;type=header;itemheight=38;bgimage=images/trans_BlueGrey.png;onbgcolor=none;pagebgimage=none;headerborder=1px solid #FFFFFF;rawcss=font-variant:small-caps;align=center;margin=10;");
269 aI("text=Organized<br> by General Category;showmenu=TopPDFsByCategoryOne;");
270 aI("text=Organized<br> by Department of Origin;showmenu=TopPDFsByDepartment;");
271 aI("text=Document Search Tool;url=#;");
272 aI("text=FAQ;url=#;");
273 }
274
275
276 // PDFs by Category#1 - 2B Dynamic byLasso
277 with(milonic=new menuname("TopPDFsByCategoryOne")){
278 style=TopSubThreeMainMenuStyle;
279 top=133;
280 left=232;
281 itemwidth=167;
282 itemheight=40;
283 orientation="horizontal";
284 aI("text=DOCUMENTS;showmenu=TopPDFsByCategoryDocksTwo;fontsize=75%;padding=2;image=images/pdf.gif;imageposition=left;");
285 aI("text=FORMS;showmenu=TopPDFsByCategoryFormsTwo;fontsize=75%;padding=2;image=images/pdf.gif;imageposition=right;");
286 }
287
288 // PDFs by Category Docs#2 - 2B Dynamic byLasso
289 with(milonic=new menuname("TopPDFsByCategoryDocksTwo")){
290 style=TopSubThreeMainMenuStyle;
291 top=173;
292 left=232;
293 itemwidth=147;
294 itemheight=40;
295 orientation="horizontal";
296 aI("text=<font size=-2>by</font><br>Department;align=right;showmenu=TopPDFsByCategoryDocsThreeByDept;fontsize=75%;rawcss=padding-right:15px;");
297 aI("text=<font size=-2>by</font><br>Need;align=left;showmenu=TopPDFsByCategoryDocsThreeByNeed;fontsize=75%;rawcss=padding-left:1px;");
298 }
299
300 // PDFs by Category Forms#2 - 2B Dynamic byLasso
301 with(milonic=new menuname("TopPDFsByCategoryFormsTwo")){
302 style=TopSubThreeMainMenuStyle;
303 top=173;
304 left=232;
305 itemwidth=147;
306 itemheight=40;
307 orientation="horizontal";
308 aI("text=<font size=-2>by</font><br>Department;align=right;showmenu=TopPDFsByCategoryFormsThreeByDept;fontsize=75%;rawcss=padding-right:15px;");
309 aI("text=<font size=-2>by</font><br>Need;align=left;showmenu=TopPDFsByCategoryFormsThreeByNeed;fontsize=75%;rawcss=padding-left:1px;");
310 }
311
312 // PDFs by Category Docs#3 byDept - 2B Dynamic byLasso
313 with(milonic=new menuname("TopPDFsByCategoryDocsThreeByDept")){
314 style=TopPDFsByDepartmentStyle;
315 top=213;
316 left=232;
317 itemwidth=333;
318 overflow="scroll";
319 aI("type=header;text=<font color=gold>City Clerk</font>;rawcss=font-variant:small-caps;align=center;");
320 aI("text=Town Hall Use;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
321 aI("text=City Insurance Requirements;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
322
323 aI("type=header;text=<font color=gold>City Council</font>;rawcss=font-variant:small-caps;align=center;");
324 aI("text=City Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
325 aI("text=City Council Minutes (most recent);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
326 aI("text=City Council Minutes (archived);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
327 aI("text=How to put an item on the Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
328 aI("text=CDC Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
329 aI("text=F & A Commitee Agendas and Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
330 aI("text=Public Safety Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
331 aI("text=Public Works Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
332 aI("text=CDAB Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
333
334 aI("type=header;text=<font color=gold>Police Department</font>;rawcss=font-variant:small-caps;align=center;");
335 aI("text=Press Releases;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
336 aI("text=CHP 555 short;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
337 aI("text=Info Only Report;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
338 }
339
340 // PDFs by Category Docs#3 byNeed - 2B Dynamic byLasso
341 with(milonic=new menuname("TopPDFsByCategoryDocsThreeByNeed")){
342 style=TopPDFsByDepartmentStyle;
343 top=213;
344 left=232;
345 itemwidth=333;
346 overflow="scroll";
347 aI("type=header;text=<font color=gold>Proceedures & Policies</font>;rawcss=font-variant:small-caps;align=center;");
348 aI("text=Town Hall Use;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
349 aI("text=City Insurance Requirements;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
350 aI("text=How to put an item on the Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
351
352 aI("type=header;text=<font color=gold>Agendas, Minutes & Public Records</font>;rawcss=font-variant:small-caps;align=center;");
353 aI("text=City Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
354 aI("text=City Council Minutes (most recent);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
355 aI("text=City Council Minutes (archived);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
356 aI("text=CDC Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
357 aI("text=F & A Commitee Agendas and Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
358 aI("text=Public Safety Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
359 aI("text=Public Works Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
360 aI("text=CDAB Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
361 aI("text=Press Releases;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
362
363 aI("type=header;text=<font color=gold>Miscellaneous</font>;rawcss=font-variant:small-caps;align=center;");
364 aI("text=CHP 555 short;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
365 aI("text=Police Info Only Report;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
366 }
367
368 // PDFs by Category Forms#3 byDept - 2B Dynamic byLasso
369 with(milonic=new menuname("TopPDFsByCategoryFormsThreeByDept")){
370 style=TopPDFsByDepartmentStyle;
371 top=213;
372 left=232;
373 itemwidth=333;
374 overflow="scroll";
375 aI("type=header;text=<font color=gold>City Clerk</font>;rawcss=font-variant:small-caps;align=center;");
376 aI("text=Public Records Request;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
377 aI("text=Encroachment Permit Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
378
379 aI("type=header;text=<font color=gold>City Council</font>;rawcss=font-variant:small-caps;align=center;");
380 aI("text=Speaker Card Forms;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
381
382 aI("type=header;text=<font color=gold>Police Department</font>;rawcss=font-variant:small-caps;align=center;");
383 aI("text=Cadet Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
384 aI("text=Job Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
385 aI("text=Parking Ticket Appeal;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
386 }
387
388 // PDFs by Category Forms#3 byNeed - 2B Dynamic byLasso
389 with(milonic=new menuname("TopPDFsByCategoryFormsThreeByNeed")){
390 style=TopPDFsByDepartmentStyle;
391 top=213;
392 left=232;
393 itemwidth=333;
394 overflow="scroll";
395 aI("type=header;text=<font color=gold>Permits & Applications</font>;rawcss=font-variant:small-caps;align=center;");
396 aI("text=Encroachment Permit Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
397 aI("text=Cadet Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
398 aI("text=Job Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
399
400 aI("type=header;text=<font color=gold>Request & Appeal Forms</font>;rawcss=font-variant:small-caps;align=center;");
401 aI("text=Public Records Request;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
402 aI("text=Parking Ticket Appeal;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
403
404 aI("type=header;text=<font color=gold>Miscellaneous</font>;rawcss=font-variant:small-caps;align=center;");
405 aI("text=Speaker Card Forms;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
406 }
407
408
409
410 // PDFs by Department - 2B Dynamic byLasso
411 with(milonic=new menuname("TopPDFsByDepartment")){
412 style=TopPDFsByDepartmentStyle;
413 top=133;
414 left=232;
415 itemwidth=340;
416 overflow="scroll";
417 aI("type=header;text=from the <font color=gold> City Clerk</font>;image=images/pdf.gif;rawcss=font-variant:small-caps;");
418 aI("text=Public Records Request;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
419 aI("text=Town Hall Use;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
420 aI("text=City Insurance Requirements;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
421 aI("text=Encroachment Permit Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
422
423 aI("type=header;text=from the <font color=gold> City Council</font>;image=images/pdf.gif;rawcss=font-variant:small-caps;");
424 aI("text=City Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
425 aI("text=City Council Minutes (most recent);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
426 aI("text=City Council Minutes (archived);url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
427 aI("text=Speaker Card Forms;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
428 aI("text=How to put an item on the Council Agenda;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
429 aI("text=CDC Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
430 aI("text=F & A Commitee Agendas and Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
431 aI("text=Public Safety Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
432 aI("text=Public Works Commitee Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
433 aI("text=CDAB Agendas & Minutes;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
434
435 aI("type=header;text=from the <font color=gold> Police Department</font>;image=images/pdf.gif;rawcss=font-variant:small-caps;");
436 aI("text=Cadet Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
437 aI("text=Job Application;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
438 aI("text=Press Releases;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
439 aI("text=CHP 555 short;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
440 aI("text=Info Only Report;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
441 aI("text=Parking Ticket Appeal;url=#;fontsize=75%;padding=2;image=images/blank10x10.gif;");
442 }
443
444
445 // Simple search
446 with(milonic=new menuname("TopSearch")){
447 style=TopSubTwoHeaderStyle;
448 screenposition="left";
449 left="offset=10";
450 top="91";
451 itemwidth=579;
452 aI("type=header;rawcss=font-variant:small-caps;text=<form name=form1 action=#><font color=#FBDFB4>Do a simple search of this site... </font><input style=background-color:#EBE689 type=text name=simplesearch> <input type=submit value=search></form>;");
453 }
454
455 // Example, using TopMyCity of form when "type=header"
456 with(milonic=new menuname("TopMyCity")){
457 style=TopSubTwoHeaderStyle;
458 screenposition="left";
459 left="offset=10";
460 top="91";
461 itemwidth=579;
462 //aI("type=header;rawcss=font-variant:small-caps;text=<form name=form2 action=http://pdaoutlet.biz/cgi-bin/mail.cgi><input type=hidden name=flavor value=subscribe><input type=hidden name=list value=pda><font color=#FBDFB4>Our Newsletter... </font><input style=background-color:#EBE689 type=text name=email> <input type=submit value=Subscribe></form>;");
463 }
464
465 drawMenus();
466
Poster: perldev
Dated: Wednesday December 29 2004 - 19:15:23 GMT
My browser (XP+SP2 IE6) shows the status "Back to Home Page". Nothing is wrong.
Poster: Andy
Dated: Wednesday December 29 2004 - 19:24:00 GMT
It will depend on the browser.
As a security measure, by default, certain browser (Safari and FireFox) disable status changes.
This is probably due to the high number of Phishing attacks currently in circulation.
Not much we can do about it unfortunately
Cheers
Andy