source: ether_statistics/web/resources/js/windows_js_1.3/samples/rico/index.html @ 569

Last change on this file since 569 was 569, checked in by vmipsl, 12 years ago

Nouveau projet

File size: 3.1 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5<title>Untitled Document</title>
6<SCRIPT type="text/javascript" LANGUAGE="JavaScript"  src="../../javascripts/prototype.js"> </SCRIPT>
7<SCRIPT type="text/javascript" LANGUAGE="JavaScript"  src="../../javascripts/window.js"> </SCRIPT>
8<SCRIPT type="text/javascript" LANGUAGE="JavaScript"  src="rico_change.js"> </SCRIPT>
9<LINK href="../../themes/default.css" rel="stylesheet" type="text/css" />
10<LINK rel="stylesheet" type="text/css" href="rico.css" />
11
12<script language="JavaScript" type="text/javascript">
13//dump multi dimensional array to page
14function dumpArray(trialArray) {
15       
16        var win = new Window('window_id', {className: "dialog", title: "dumpArray",top:100, left:100,  width:400, height:575, zIndex:150, opacity:1, resizable: false, minimizable: true, maximizable: false});
17
18        win.getContent().innerHTML = accordian();
19        win.setDestroyOnClose();
20        win.showCenter(); 
21        win.toFront();
22
23        var myAccordion2 = new Rico.Accordion( $('accordionDiv'), {panelHeight:300} );
24
25}
26function accordian(){
27        var htmlString = '';
28        htmlString += '<div id="accordionDiv">';
29        htmlString += '<div id="help2Panel">';
30        htmlString += '<div id="help2Header" class="accordionTabTitleBar">';
31        htmlString += 'Help +';
32        htmlString += '</div>';
33        htmlString += '<div id="helpContent2" class="accordionTabContentBox">';
34        htmlString += 'Click on the blue title bars below to view ';
35        htmlString += 'additional content';
36        htmlString += '</div>';
37        htmlString += '</div>';
38        htmlString += '<div id="addcomment2Panel">';
39        htmlString += '<div id="addcomment2Header" class="accordionTabTitleBar">';
40        htmlString += 'Add Comment Form';
41        htmlString += '</div>';
42        htmlString += '<div id="addcomment2Content" class="accordionTabContentBox">';
43        htmlString += 'Use the Add a comment tool to add ';
44        htmlString += 'a comment';
45        htmlString += '</div>';
46        htmlString += '</div> ';
47        htmlString += '<div id="disclaimer2Panel">';
48        htmlString += '<div id="disclaimer2Header" class="accordionTabTitleBar">';
49        htmlString += 'Disclaimer-NOTICE-';
50        htmlString += '</div>';
51        htmlString += '<div id="disclaimer2Content" class="accordionTabContentBox">';
52        htmlString += '-NOTICE-<BR/>';
53        htmlString += 'DRAFT preliminary floodplain data is being provided solely for community review and';
54        htmlString += ' comment and is not to be used for flood insurance determination purposes of any kind. ';
55        htmlString += ' This data is currently being modified as a result of comments received by community ';
56        htmlString += ' officials and other mapping partners in Wayne County and may change substantially without ';
57        htmlString += ' notice before the Preliminary maps are published.';
58        htmlString += '</div>';
59        htmlString += '</div>';
60        htmlString += '</div>'; 
61
62return htmlString;
63
64}
65</script>
66
67
68</head>
69
70<body>
71<img src="properties_1.gif" width="160" height="160" onclick="javascript:dumpArray();"/>
72</body>
73</html>
Note: See TracBrowser for help on using the repository browser.