source: ether_ndacc/trunk/web/visus_saoz.jsp @ 820

Last change on this file since 820 was 183, checked in by rboipsl, 13 years ago

ihm avec debut traduction

File size: 2.0 KB
Line 
1<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
3<html><head>
4<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5<link rel="stylesheet" type="text/css" href="resources/css/ndacc.css">
6<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7        <link rel="stylesheet" type="text/css" href="resources/css/etherTypo.css" />
8        <title>Ether: NDACC</title>
9        <meta name="generator" content="TYPO3 4.1 CMS" />
10       
11        <SCRIPT LANGUAGE="JavaScript">
12       
13        function extractUrlParams () {
14
15                var t = location.search.substring(1).split('&');
16
17                var f = [];
18
19                for (var i=0; i<t.length; i++) {
20
21                var x = t[i].split('=');
22
23                f[x[0]]=x[1];
24               
25
26                }
27
28                return f;
29
30        }
31       
32        function loadImage(annee) {
33                var tab;
34                tab=extractUrlParams();
35
36                var station=tab['station'];
37
38                var fichier1;
39                var fichier2;
40
41                if ( annee == 'lt' ) {
42                        fichier1='plot_lt_'+station+'_saoz_o3.jpg';     
43                        fichier2='plot_lt_'+station+'_saoz_no2.jpg';
44                }
45                else {
46
47                        fichier1='plot_'+annee+'_'+station+'_saoz_o3.jpg';     
48                        fichier2='plot_'+annee+'_'+station+'_saoz_no2.jpg';
49                }
50
51                document.getElementById("im1").src="./resources/visu/"+station+"/saoz/"+fichier1;
52                document.getElementById("im2").src="./resources/visu/"+station+"/saoz/"+fichier2;
53               
54        }
55        </SCRIPT>
56</head>
57<body class="plein" onload="loadImage('lt');">
58
59<div style="position: absolute; top: 10px; left: 20px;">
60        <img id="im1" width=700 src=''>
61</div> 
62<div style="position: absolute; top: 300px; left: 20px;">
63        <img id="im2" width=700 src=''> 
64</div>
65
66<div style="position: absolute; top: 10px; left: 730px;" id='calendar'>
67<table cellspacing=2 cellpadding=2>
68<tr>
69<td colspan=6><a class="cielbh1" href="#" onclick="loadImage('lt');">Long term period</a></td>
70</tr>
71 
72<%
73String pp=request.getParameter("station");
74pp="template_saoz_"+pp+".jsp";
75%>
76
77<jsp:include page="<%=pp%>"></jsp:include> 
78
79</table>       
80</div>
81
82
83</body>
84</html>
Note: See TracBrowser for help on using the repository browser.