Last change
on this file since 14 was
1,
checked in by lfita, 10 years ago
|
- -- --- Opening of the WRF+LMDZ coupling repository --- -- -
WRF: version v3.3
LMDZ: version v1818
More details in:
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | <!-- Adapted from the example in chapter 18 of |
---|
2 | Danny Goodman's "JavaScript Handbook", IDG Books, 1996. |
---|
3 | |
---|
4 | -John Michalakes |
---|
5 | --> |
---|
6 | <HTML> |
---|
7 | <HEAD> |
---|
8 | <TITLE>Weather Research and Forecast Model</TITLE> |
---|
9 | <SCRIPT LANGUAGE="JavaScript"> |
---|
10 | <!-- begin hiding |
---|
11 | |
---|
12 | // **functions that establish objects and environment** |
---|
13 | // basic array maker |
---|
14 | function makeArray(n) { |
---|
15 | this.length = n |
---|
16 | for ( var i = 1; i <= n ; i++ ) { |
---|
17 | this[i] = 0 |
---|
18 | } |
---|
19 | return this |
---|
20 | } |
---|
21 | |
---|
22 | // object constructor for each outline entry |
---|
23 | // (see object-building calls, below) |
---|
24 | function dbRecord(mother,display,URL,indent){ |
---|
25 | this.mother = mother // is this item a parent? |
---|
26 | this.display = display // text to display |
---|
27 | this.URL = URL // link tied to text |
---|
28 | this.indent = indent // how deeply nested? |
---|
29 | return this |
---|
30 | } |
---|
31 | |
---|
32 | // create object containing outline content and attributes |
---|
33 | // To adapt outline for your use, modify this table. Make sure |
---|
34 | // that the size of the array (db[i]) is reflected in the call |
---|
35 | // to makeArray(i). See the dbRecord() function, above, for the |
---|
36 | // meaning of the four parameters in each array entry. |
---|
Note: See
TracBrowser
for help on using the repository browser.