source: TI03-DataExtractor/branches/old_stuff/dx_badc/html/header.html @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/dx_badc/html/header.html@793
Revision 793, 2.3 KB checked in by astephen, 13 years ago (diff)

Put all the old code in the old_stuff branch.

  • Property svn:executable set to *
Line 
1<HTML>
2<HEAD>
3<TITLE>BADC Data Extractor</TITLE>
4
5<link href="/dx_extra/styles/home.css" rel="stylesheet" type="text/css">
6
7<SCRIPT language="Javascript">
8
9function newWindow(file,window,width,height) {
10    msgWindow=open(file,window,'resizable=no,width='+width+',height='+height);
11    if (msgWindow.opener == null) msgWindow.opener = self;
12}
13
14function checkDateOrder(dateField) {
15    // alert("JLJLJ");
16    startDate=new Array(extract_info.start_year_1.selectedIndex, extract_info.start_month_1.selectedIndex, extract_info.start_day_1.value, extract_info.start_hour_1.value);
17    endDate=new Array(extract_info.end_year_1.value, extract_info.end_month_1.value, extract_info.end_day_1.value, extract_info.end_hour_1.value);
18    alert("LJ");
19    for (i=0; i<startDate.length; ++i) {
20        currentStart=startDate[i];
21        currentEnd=endDate[i];
22
23        if (currentStart > currentEnd) {
24
25            if (dateField=="end") {
26                extract_info.start_year_1.value=endDate[0];
27                extract_info.start_month_1.value=endDate[1];
28                extract_info.start_day_1.value=endDate[2];
29                extract_info.start_hour_1.value=endDate[3];
30            } else {
31                extract_info.end_year_1.value=startDate[0];
32                extract_info.end_month_1.value=startDate[1];
33                extract_info.end_day_1.value=startDate[2];
34                extract_info.end_hour_1.value=startDate[3];
35            }
36        }
37    }
38}
39
40</SCRIPT>
41
42</HEAD>
43<BODY text="#000000" bgcolor="#ffffff" link="#191970" vlink="#551A8A" alink="FE0000" topmargin="10" leftmargin="10" marginwidth="10" marginheight="10" >
44
45<table border="1" cellpadding="0" cellspacing="0" width="100%">
46   <tr>
47        <td height="81"> 
48          <table width="100%" height="117%" border="0" cellpadding="2" cellspacing="1">
49        <tr align="center"> 
50             
51          <td width="10%" height="100%" align="left" valign="middle"><img src="/graphics/logos/badc-logo-60.png">
52          </td>
53                          <td width="78%" valign="middle" ><strong><font color="#CC3333" size="+2" face="Courier New,
54Courier, mono">BADC Data Extractor</font></strong></td>
55                         
56          <td width="12%" height="100%" align="left" valign="top"><img src="/graphics/logos/ncas_new_logo.jpg">
57          </td>
58                        </tr>
59         </table>
60   </td></tr>
61</table>
62
Note: See TracBrowser for help on using the repository browser.