Revision 4345
Added by daigle about 16 years ago
lib/style/skins/sbclter/include_indexdata2.jsp | ||
---|---|---|
1 |
<%@ page language="java" contentType="text/html" %> |
|
2 |
<% |
|
3 |
// these hashes contain data to be used by sbc's metacat |
|
4 |
// index page. Used ~2005-2007, instead of metacat queries. |
|
5 |
|
|
6 |
// create arrayLists for each research area data packages |
|
7 |
ArrayList hydrology_list = new ArrayList(); |
|
8 |
ArrayList streamchemistry_list = new ArrayList(); |
|
9 |
ArrayList gis_list = new ArrayList(); |
|
10 |
ArrayList biogeochemistry_list = new ArrayList(); // not used |
|
11 |
ArrayList biogeochemistry_core_list = new ArrayList(); |
|
12 |
ArrayList biogeochemistry_campaign_list = new ArrayList(); |
|
13 |
ArrayList biomasspp_phyto_list = new ArrayList(); |
|
14 |
ArrayList biomasspp_kelp_list = new ArrayList(); |
|
15 |
ArrayList population_list = new ArrayList(); |
|
16 |
ArrayList foodweb_list = new ArrayList(); |
|
17 |
|
|
18 |
// DEFINE THE DATA PACKAGES: |
|
19 |
// a.2 hydrology |
|
20 |
Map dp1 = new HashMap(); |
|
21 |
dp1.put("name","NCDC Climate Data"); |
|
22 |
dp1.put("docid","knb-lter-sbc.1"); |
|
23 |
hydrology_list.add(dp1); |
|
24 |
|
|
25 |
Map dp2 = new HashMap(); |
|
26 |
dp2.put("name","High-frequency precipitation in key SBC Watersheds"); |
|
27 |
dp2.put("docid","knb-lter-sbc.2"); |
|
28 |
hydrology_list.add(dp2); |
|
29 |
|
|
30 |
Map dp3 = new HashMap(); |
|
31 |
dp3.put("name","Daily precipitation from Santa Barbara County Flood Control (Public Works Department)"); |
|
32 |
dp3.put("docid","knb-lter-sbc.3"); |
|
33 |
hydrology_list.add(dp3); |
|
34 |
|
|
35 |
//Map dp4 = new HashMap(); |
|
36 |
//dp4.put("name","SBCLTER Stream discharge in key Watersheds"); |
|
37 |
//dp4.put("docid","knb-lter-sbc.4"); |
|
38 |
//hydrology_list.add(dp4); |
|
39 |
|
|
40 |
Map dp5 = new HashMap(); |
|
41 |
dp5.put("name","USGS Stream Discharge (links to source)"); |
|
42 |
dp5.put("docid","knb-lter-sbc.5"); |
|
43 |
hydrology_list.add(dp5); |
|
44 |
|
|
45 |
// a.1 stream chemistry |
|
46 |
Map dp6 = new HashMap(); |
|
47 |
dp6.put("name","Stream Chemistry in the Santa Barbara Coastal Drainage Area"); |
|
48 |
dp6.put("docid","knb-lter-sbc.6"); |
|
49 |
dp6.put("pi", "Melack"); streamchemistry_list.add(dp6); |
|
50 |
|
|
51 |
|
|
52 |
//a.3 watershed characteristics |
|
53 |
Map dp7 = new HashMap(); |
|
54 |
dp7.put("name","Watershed Characteristics: GIS Layers"); |
|
55 |
dp7.put("docid","knb-lter-sbc.7"); |
|
56 |
gis_list.add(dp7); |
|
57 |
|
|
58 |
|
|
59 |
// a.4 biogeochemistry |
|
60 |
Map dp2001 = new HashMap(); |
|
61 |
dp2001.put("name","Moored CTD and ADCP: Arroyo Quemado, 2001-2004 (AQM)"); |
|
62 |
dp2001.put("docid","knb-lter-sbc.2001"); |
|
63 |
dp2001.put("pi", "Washburn, Siegel, Brzezinksi"); |
|
64 |
dp2001.put("queryapp_controller","moorings_all"); |
|
65 |
biogeochemistry_core_list.add(dp2001); |
|
66 |
|
|
67 |
Map dp2005 = new HashMap(); |
|
68 |
dp2005.put("name","Moored CTD and ADCP: Arroyo Quemado, 2004-ongoing (ARQ)"); |
|
69 |
dp2005.put("docid","knb-lter-sbc.2005"); |
|
70 |
dp2005.put("pi", "Washburn, Siegel, Brzezinksi"); |
|
71 |
dp2005.put("queryapp_controller","moorings_all"); |
|
72 |
biogeochemistry_core_list.add(dp2005); |
|
73 |
|
|
74 |
Map dp2002 = new HashMap(); |
|
75 |
dp2002.put("name","Moored CTD and ADCP: Naples, 2001-ongoing"); |
|
76 |
dp2002.put("docid","knb-lter-sbc.2002"); |
|
77 |
dp2002.put("pi", "Washburn, Siegel, Brzezinksi"); |
|
78 |
dp2002.put("queryapp_controller","moorings_all"); |
|
79 |
biogeochemistry_core_list.add(dp2002); |
|
80 |
|
|
81 |
Map dp2003 = new HashMap(); |
|
82 |
dp2003.put("name","Moored CTD and ADCP: Arroyo Burro, intermittent since 2004"); |
|
83 |
dp2003.put("docid","knb-lter-sbc.2003"); |
|
84 |
dp2003.put("pi", "Washburn, Siegel, Brzezinksi"); |
|
85 |
dp2003.put("queryapp_controller","moorings_all"); |
|
86 |
biogeochemistry_campaign_list.add(dp2003); |
|
87 |
|
|
88 |
Map dp2004 = new HashMap(); |
|
89 |
dp2004.put("name","Moored CTD and ADCP: Carpinteria, 2001-ongoing"); |
|
90 |
dp2004.put("docid","knb-lter-sbc.2004"); |
|
91 |
dp2004.put("pi", "Washburn, Siegel, Brzezinksi"); |
|
92 |
dp2004.put("queryapp_controller","moorings_all"); |
|
93 |
biogeochemistry_core_list.add(dp2004); |
|
94 |
|
|
95 |
Map dp9 = new HashMap(); |
|
96 |
dp9.put("name","Ocean: Links to Catalogs of Local Area Imagery"); |
|
97 |
dp9.put("docid","knb-lter-sbc.9"); |
|
98 |
biogeochemistry_core_list.add(dp9); |
|
99 |
|
|
100 |
Map dp10 = new HashMap(); |
|
101 |
dp10.put("name","Ocean: Nearshore Water Profiles: CTD (1m bins, all stations)"); |
|
102 |
dp10.put("docid","knb-lter-sbc.10"); |
|
103 |
dp10.put("queryapp_controller","nearshore_ctd_profiles"); |
|
104 |
biogeochemistry_core_list.add(dp10); |
|
105 |
|
|
106 |
// this one is temporary, so that the query interface for both tables can show |
|
107 |
Map dp10a = new HashMap(); |
|
108 |
dp10a.put("name","Ocean: Nearshore Water Profiles: Rosette bottle samples (+ CTD, all stations)"); |
|
109 |
dp10a.put("docid","knb-lter-sbc.10"); |
|
110 |
dp10a.put("queryapp_controller","nearshore_rosette_profiles"); |
|
111 |
biogeochemistry_core_list.add(dp10a); |
|
112 |
|
|
113 |
|
|
114 |
Map dp13 = new HashMap(); |
|
115 |
dp13.put("name","Reef: Bottom Temperature (all stations)"); |
|
116 |
dp13.put("docid","knb-lter-sbc.13"); |
|
117 |
dp13.put("queryapp_controller","bottom_temperature"); |
|
118 |
biogeochemistry_core_list.add(dp13); |
|
119 |
|
|
120 |
// b.2 primary producton - phytoplankton |
|
121 |
Map dp1006 = new HashMap(); |
|
122 |
dp1006.put("name","Ocean: Cruise in the SB Channel LTER06"); |
|
123 |
dp1006.put("docid","knb-lter-sbc.1006"); |
|
124 |
dp1006.put("pi", "Carlson, Washburn, Siegel, Brzezinksi"); |
|
125 |
biomasspp_phyto_list.add(dp1006); |
|
126 |
|
|
127 |
// b.1 primary producton - kelp |
|
128 |
Map dp21 = new HashMap(); |
|
129 |
dp21.put("name","Reef: Kelp Net Primary Production"); |
|
130 |
dp21.put("docid","knb-lter-sbc.21"); |
|
131 |
dp21.put("pi", "Reed"); |
|
132 |
biomasspp_kelp_list.add(dp21); |
|
133 |
|
|
134 |
|
|
135 |
//c.1 population dynamics |
|
136 |
Map dp15 = new HashMap(); |
|
137 |
dp15.put("name","Cover of sessile organisms, UPC, Annual Summer survey"); |
|
138 |
dp15.put("docid","knb-lter-sbc.15"); |
|
139 |
dp15.put("pi", "Reed"); |
|
140 |
population_list.add(dp15); |
|
141 |
|
|
142 |
Map dp17 = new HashMap(); |
|
143 |
dp17.put("name","Fish Abundance, year-round survey"); |
|
144 |
dp17.put("docid","knb-lter-sbc.17"); |
|
145 |
dp17.put("pi", "Reed"); |
|
146 |
population_list.add(dp17); |
|
147 |
|
|
148 |
Map dp18 = new HashMap(); |
|
149 |
dp18.put("name","Abundance and Size of Giant Kelp (Macrocystis pyrifera), Annual Summer survey"); |
|
150 |
dp18.put("docid","knb-lter-sbc.18"); |
|
151 |
dp18.put("pi", "Reed"); |
|
152 |
population_list.add(dp18); |
|
153 |
|
|
154 |
Map dp19 = new HashMap(); |
|
155 |
dp19.put("name","Invertebrate and algal density, Annual Summer survey"); |
|
156 |
dp19.put("docid","knb-lter-sbc.19"); |
|
157 |
dp19.put("pi", "Reed"); |
|
158 |
population_list.add(dp19); |
|
159 |
|
|
160 |
//c.2 population dynamics |
|
161 |
Map dp14 = new HashMap(); |
|
162 |
dp14.put("name","Reef: Historical Kelp Database of giant kelp (Macrocystis pyrifera) biomass in California and Mexico"); |
|
163 |
dp14.put("docid","knb-lter-sbc.14"); |
|
164 |
dp14.put("pi", "Reed"); |
|
165 |
biomasspp_kelp_list.add(dp14); |
|
166 |
|
|
167 |
//c.2 foodwebs |
|
168 |
Map dp12 = new HashMap(); |
|
169 |
dp12.put("name","Foodweb studies with stable isotopes"); |
|
170 |
dp12.put("docid","knb-lter-sbc.12"); |
|
171 |
dp12.put("pi", "Reed"); |
|
172 |
foodweb_list.add(dp12); |
|
173 |
|
|
174 |
|
|
175 |
pageContext.setAttribute("hydrology_dps", hydrology_list); |
|
176 |
pageContext.setAttribute("streamchemistry_dps", streamchemistry_list); |
|
177 |
pageContext.setAttribute("gis_dps", gis_list); |
|
178 |
pageContext.setAttribute("biogeochemistry_dps", biogeochemistry_list); |
|
179 |
pageContext.setAttribute("biogeochemistry_core_dps", biogeochemistry_core_list); |
|
180 |
pageContext.setAttribute("biogeochemistry_campaign_dps", biogeochemistry_campaign_list); |
|
181 |
pageContext.setAttribute("biomasspp_phyto_dps", biomasspp_phyto_list); |
|
182 |
pageContext.setAttribute("biomasspp_kelp_dps", biomasspp_kelp_list); |
|
183 |
pageContext.setAttribute("population_dps", population_list); |
|
184 |
pageContext.setAttribute("foodweb_dps", foodweb_list); |
|
185 |
|
|
186 |
|
|
187 |
|
|
188 |
|
|
189 |
|
|
190 |
%> |
|
191 |
|
|
192 |
|
|
193 |
<% |
|
194 |
// Create an ArrayList with play data |
|
195 |
// ArrayList dp_list = new ArrayList(); |
|
196 |
// Map dp1 = new HashMap(); |
|
197 |
// dp1.put("name","NCDC Climate Data"); |
|
198 |
// dp1.put("docid","knb-lter-sbc.1"); |
|
199 |
// ArrayList hab_list = new ArrayList(); |
|
200 |
// Map habs = new HashMap(); |
|
201 |
// habs.put("","Watershed"); |
|
202 |
// habs.put("","Beach"); // hab_list.add(habs); |
|
203 |
// dp1.put("habitats",hab_list); |
|
204 |
// dp_list.add(dp1); |
|
205 |
// |
|
206 |
// Map dp12 = new HashMap(); |
|
207 |
// dp12.put("name","Kelp NPP"); |
|
208 |
// dp12.put("docid","knb-lter-sbc.12"); |
|
209 |
// dp_list.add(dp12); |
|
210 |
// |
|
211 |
// Map dp1006 = new HashMap(); |
|
212 |
// dp1006.put("name","Cruise in the SB Channel LTER06"); // dp1006.put("docid","knb-lter-sbc.1006"); |
|
213 |
// dp_list.add(dp1006); |
|
214 |
// |
|
215 |
// pageContext.setAttribute("dataPackages", dp_list); |
|
216 |
%> |
|
217 |
|
|
0 | 218 |
lib/style/skins/sbclter/wz_tooltip.js | ||
---|---|---|
1 |
/* This notice must be untouched at all times. |
|
2 |
|
|
3 |
wz_tooltip.js v. 3.38 |
|
4 |
|
|
5 |
The latest version is available at |
|
6 |
http://www.walterzorn.com |
|
7 |
or http://www.devira.com |
|
8 |
or http://www.walterzorn.de |
|
9 |
|
|
10 |
Copyright (c) 2002-2005 Walter Zorn. All rights reserved. |
|
11 |
Created 1. 12. 2002 by Walter Zorn (Web: http://www.walterzorn.com ) |
|
12 |
Last modified: 9. 12. 2005 |
|
13 |
|
|
14 |
Cross-browser tooltips working even in Opera 5 and 6, |
|
15 |
as well as in NN 4, Gecko-Browsers, IE4+, Opera 7+ and Konqueror. |
|
16 |
No onmouseouts required. |
|
17 |
Appearance of tooltips can be individually configured |
|
18 |
via commands within the onmouseovers. |
|
19 |
|
|
20 |
LICENSE: LGPL |
|
21 |
|
|
22 |
This library is free software; you can redistribute it and/or |
|
23 |
modify it under the terms of the GNU Lesser General Public |
|
24 |
License (LGPL) as published by the Free Software Foundation; either |
|
25 |
version 2.1 of the License, or (at your option) any later version. |
|
26 |
|
|
27 |
This library is distributed in the hope that it will be useful, |
|
28 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
29 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
30 |
|
|
31 |
For more details on the GNU Lesser General Public License, |
|
32 |
see http://www.gnu.org/copyleft/lesser.html |
|
33 |
*/ |
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
//////////////// GLOBAL TOOPTIP CONFIGURATION ///////////////////// |
|
38 |
var ttAbove = false; // tooltip above mousepointer? Alternative: true |
|
39 |
var ttBgColor = "#e6ecff"; |
|
40 |
var ttBgImg = ""; // path to background image; |
|
41 |
var ttBorderColor = "#003399"; |
|
42 |
var ttBorderWidth = 1; |
|
43 |
var ttDelay = 500; // time span until tooltip shows up [milliseconds] |
|
44 |
var ttFontColor = "#000066"; |
|
45 |
var ttFontFace = "arial,helvetica,sans-serif"; |
|
46 |
var ttFontSize = "11px"; |
|
47 |
var ttFontWeight = "normal"; // alternative: "bold"; |
|
48 |
var ttLeft = false; // tooltip on the left of the mouse? Alternative: true |
|
49 |
var ttOffsetX = 12; // horizontal offset of left-top corner from mousepointer |
|
50 |
var ttOffsetY = 15; // vertical offset " |
|
51 |
var ttOpacity = 100; // opacity of tooltip in percent (must be integer between 0 and 100) |
|
52 |
var ttPadding = 3; // spacing between border and content |
|
53 |
var ttShadowColor = ""; |
|
54 |
var ttShadowWidth = 0; |
|
55 |
var ttStatic = false; // tooltip NOT move with the mouse? Alternative: true |
|
56 |
var ttSticky = false; // do NOT hide tooltip on mouseout? Alternative: true |
|
57 |
var ttTemp = 0; // time span after which the tooltip disappears; 0 (zero) means "infinite timespan" |
|
58 |
var ttTextAlign = "left"; |
|
59 |
var ttTitleColor = "#ffffff"; // color of caption text |
|
60 |
var ttWidth = 300; |
|
61 |
//////////////////// END OF TOOLTIP CONFIG //////////////////////// |
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
////////////// TAGS WITH TOOLTIP FUNCTIONALITY //////////////////// |
|
66 |
// List may be extended or shortened: |
|
67 |
var tt_tags = new Array("a","area","b","big","caption","center","code","dd","div","dl","dt","em","h1","h2","h3","h4","h5","h6","i","img","input","li","map","ol","p","pre","s", "select", "small","span","strike","strong","sub","sup","table","td","th","tr","tt","u","var","ul","layer"); |
|
68 |
///////////////////////////////////////////////////////////////////// |
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
///////// DON'T CHANGE ANYTHING BELOW THIS LINE ///////////////////// |
|
73 |
var tt_obj = null, // current tooltip |
|
74 |
tt_ifrm = null, // iframe to cover windowed controls in IE |
|
75 |
tt_objW = 0, tt_objH = 0, // width and height of tt_obj |
|
76 |
tt_objX = 0, tt_objY = 0, |
|
77 |
tt_offX = 0, tt_offY = 0, |
|
78 |
xlim = 0, ylim = 0, // right and bottom borders of visible client area |
|
79 |
tt_sup = false, // true if T_ABOVE cmd |
|
80 |
tt_sticky = false, // tt_obj sticky? |
|
81 |
tt_wait = false, |
|
82 |
tt_act = false, // tooltip visibility flag |
|
83 |
tt_sub = false, // true while tooltip below mousepointer |
|
84 |
tt_u = "undefined", |
|
85 |
tt_mf = null, // stores previous mousemove evthandler |
|
86 |
// Opera: disable href when hovering <a> |
|
87 |
tt_tag = null; // stores hovered dom node, href and previous statusbar txt |
|
88 |
|
|
89 |
|
|
90 |
var tt_db = (document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body? document.body : null, |
|
91 |
tt_n = navigator.userAgent.toLowerCase(), |
|
92 |
tt_nv = navigator.appVersion; |
|
93 |
// Browser flags |
|
94 |
var tt_op = !!(window.opera && document.getElementById), |
|
95 |
tt_op6 = tt_op && !document.defaultView, |
|
96 |
tt_op7 = tt_op && !tt_op6, |
|
97 |
tt_ie = tt_n.indexOf("msie") != -1 && document.all && tt_db && !tt_op, |
|
98 |
tt_ie6 = tt_ie && parseFloat(tt_nv.substring(tt_nv.indexOf("MSIE")+5)) >= 5.5, |
|
99 |
tt_n4 = (document.layers && typeof document.classes != tt_u), |
|
100 |
tt_n6 = (!tt_op && document.defaultView && typeof document.defaultView.getComputedStyle != tt_u), |
|
101 |
tt_w3c = !tt_ie && !tt_n6 && !tt_op && document.getElementById; |
|
102 |
|
|
103 |
function tt_Int(t_x) |
|
104 |
{ |
|
105 |
var t_y; |
|
106 |
return isNaN(t_y = parseInt(t_x))? 0 : t_y; |
|
107 |
} |
|
108 |
function wzReplace(t_x, t_y) |
|
109 |
{ |
|
110 |
var t_ret = "", |
|
111 |
t_str = this, |
|
112 |
t_xI; |
|
113 |
while((t_xI = t_str.indexOf(t_x)) != -1) |
|
114 |
{ |
|
115 |
t_ret += t_str.substring(0, t_xI) + t_y; |
|
116 |
t_str = t_str.substring(t_xI + t_x.length); |
|
117 |
} |
|
118 |
return t_ret+t_str; |
|
119 |
} |
|
120 |
String.prototype.wzReplace = wzReplace; |
|
121 |
function tt_N4Tags(tagtyp, t_d, t_y) |
|
122 |
{ |
|
123 |
t_d = t_d || document; |
|
124 |
t_y = t_y || new Array(); |
|
125 |
var t_x = (tagtyp=="a")? t_d.links : t_d.layers; |
|
126 |
for(var z = t_x.length; z--;) t_y[t_y.length] = t_x[z]; |
|
127 |
for(z = t_d.layers.length; z--;) t_y = tt_N4Tags(tagtyp, t_d.layers[z].document, t_y); |
|
128 |
return t_y; |
|
129 |
} |
|
130 |
function tt_Htm(tt, t_id, txt) |
|
131 |
{ |
|
132 |
var t_bgc = (typeof tt.T_BGCOLOR != tt_u)? tt.T_BGCOLOR : ttBgColor, |
|
133 |
t_bgimg = (typeof tt.T_BGIMG != tt_u)? tt.T_BGIMG : ttBgImg, |
|
134 |
t_bc = (typeof tt.T_BORDERCOLOR != tt_u)? tt.T_BORDERCOLOR : ttBorderColor, |
|
135 |
t_bw = (typeof tt.T_BORDERWIDTH != tt_u)? tt.T_BORDERWIDTH : ttBorderWidth, |
|
136 |
t_ff = (typeof tt.T_FONTFACE != tt_u)? tt.T_FONTFACE : ttFontFace, |
|
137 |
t_fc = (typeof tt.T_FONTCOLOR != tt_u)? tt.T_FONTCOLOR : ttFontColor, |
|
138 |
t_fsz = (typeof tt.T_FONTSIZE != tt_u)? tt.T_FONTSIZE : ttFontSize, |
|
139 |
t_fwght = (typeof tt.T_FONTWEIGHT != tt_u)? tt.T_FONTWEIGHT : ttFontWeight, |
|
140 |
t_opa = (typeof tt.T_OPACITY != tt_u)? tt.T_OPACITY : ttOpacity, |
|
141 |
t_padd = (typeof tt.T_PADDING != tt_u)? tt.T_PADDING : ttPadding, |
|
142 |
t_shc = (typeof tt.T_SHADOWCOLOR != tt_u)? tt.T_SHADOWCOLOR : (ttShadowColor || 0), |
|
143 |
t_shw = (typeof tt.T_SHADOWWIDTH != tt_u)? tt.T_SHADOWWIDTH : (ttShadowWidth || 0), |
|
144 |
t_algn = (typeof tt.T_TEXTALIGN != tt_u)? tt.T_TEXTALIGN : ttTextAlign, |
|
145 |
t_tit = (typeof tt.T_TITLE != tt_u)? tt.T_TITLE : "", |
|
146 |
t_titc = (typeof tt.T_TITLECOLOR != tt_u)? tt.T_TITLECOLOR : ttTitleColor, |
|
147 |
t_w = (typeof tt.T_WIDTH != tt_u)? tt.T_WIDTH : ttWidth; |
|
148 |
if(t_shc || t_shw) |
|
149 |
{ |
|
150 |
t_shc = t_shc || "#cccccc"; |
|
151 |
t_shw = t_shw || 5; |
|
152 |
} |
|
153 |
if(tt_n4 && (t_fsz == "10px" || t_fsz == "11px")) t_fsz = "12px"; |
|
154 |
|
|
155 |
var t_optx = (tt_n4? '' : tt_n6? ('-moz-opacity:'+(t_opa/100.0)) : tt_ie? ('filter:Alpha(opacity='+t_opa+')') : ('opacity:'+(t_opa/100.0))) + ';'; |
|
156 |
var t_y = '<div id="'+t_id+'" style="position:absolute;z-index:1010;'; |
|
157 |
t_y += 'left:0px;top:0px;width:'+(t_w+t_shw)+'px;visibility:'+(tt_n4? 'hide' : 'hidden')+';'+t_optx+'">' + |
|
158 |
'<table border="0" cellpadding="0" cellspacing="0"'+(t_bc? (' bgcolor="'+t_bc+'" style="background:'+t_bc+';"') : '')+' width="'+t_w+'">'; |
|
159 |
if(t_tit) |
|
160 |
{ |
|
161 |
t_y += '<tr><td style="padding-left:3px;padding-right:3px;" align="'+t_algn+'"><font color="'+t_titc+'" face="'+t_ff+'" ' + |
|
162 |
'style="color:'+t_titc+';font-family:'+t_ff+';font-size:'+t_fsz+';"><b>' + |
|
163 |
(tt_n4? ' ' : '')+t_tit+'</b></font></td></tr>'; |
|
164 |
} |
|
165 |
t_y += '<tr><td><table border="0" cellpadding="'+t_padd+'" cellspacing="'+t_bw+'" width="100%">' + |
|
166 |
'<tr><td'+(t_bgc? (' bgcolor="'+t_bgc+'"') : '')+(t_bgimg? ' background="'+t_bgimg+'"' : '')+' style="text-align:'+t_algn+';'; |
|
167 |
if(tt_n6) t_y += 'padding:'+t_padd+'px;'; |
|
168 |
t_y += '" align="'+t_algn+'"><font color="'+t_fc+'" face="'+t_ff+'"' + |
|
169 |
' style="color:'+t_fc+';font-family:'+t_ff+';font-size:'+t_fsz+';font-weight:'+t_fwght+';">'; |
|
170 |
if(t_fwght == 'bold') t_y += '<b>'; |
|
171 |
t_y += txt; |
|
172 |
if(t_fwght == 'bold') t_y += '</b>'; |
|
173 |
t_y += '</font></td></tr></table></td></tr></table>'; |
|
174 |
if(t_shw) |
|
175 |
{ |
|
176 |
var t_spct = Math.round(t_shw*1.3); |
|
177 |
if(tt_n4) |
|
178 |
{ |
|
179 |
t_y += '<layer bgcolor="'+t_shc+'" left="'+t_w+'" top="'+t_spct+'" width="'+t_shw+'" height="0"></layer>' + |
|
180 |
'<layer bgcolor="'+t_shc+'" left="'+t_spct+'" align="bottom" width="'+(t_w-t_spct)+'" height="'+t_shw+'"></layer>'; |
|
181 |
} |
|
182 |
else |
|
183 |
{ |
|
184 |
t_optx = tt_n6? '-moz-opacity:0.85;' : tt_ie? 'filter:Alpha(opacity=85);' : 'opacity:0.85;'; |
|
185 |
t_y += '<div id="'+t_id+'R" style="position:absolute;background:'+t_shc+';left:'+t_w+'px;top:'+t_spct+'px;width:'+t_shw+'px;height:1px;overflow:hidden;'+t_optx+'"></div>' + |
|
186 |
'<div style="position:relative;background:'+t_shc+';left:'+t_spct+'px;top:0px;width:'+(t_w-t_spct)+'px;height:'+t_shw+'px;overflow:hidden;'+t_optx+'"></div>'; |
|
187 |
} |
|
188 |
} |
|
189 |
return(t_y+'</div>' + |
|
190 |
(tt_ie6 ? '<iframe id="TTiEiFrM" src="javascript:false" scrolling="no" frameborder="0" style="filter:Alpha(opacity=0);position:absolute;top:0px;left:0px;display:none;"></iframe>' : '')); |
|
191 |
} |
|
192 |
function tt_EvX(t_e) |
|
193 |
{ |
|
194 |
var t_y = tt_Int(t_e.pageX || t_e.clientX || 0) + |
|
195 |
tt_Int(tt_ie? tt_db.scrollLeft : 0) + |
|
196 |
tt_offX; |
|
197 |
if(t_y > xlim) t_y = xlim; |
|
198 |
var t_scr = tt_Int(window.pageXOffset || (tt_db? tt_db.scrollLeft : 0) || 0); |
|
199 |
if(t_y < t_scr) t_y = t_scr; |
|
200 |
return t_y; |
|
201 |
} |
|
202 |
function tt_EvY(t_e) |
|
203 |
{ |
|
204 |
var t_y = tt_Int(t_e.pageY || t_e.clientY || 0) + |
|
205 |
tt_Int(tt_ie? tt_db.scrollTop : 0); |
|
206 |
if(tt_sup) t_y -= (tt_objH + tt_offY - 15); |
|
207 |
else if(t_y > ylim || !tt_sub && t_y > ylim-24) |
|
208 |
{ |
|
209 |
t_y -= (tt_objH + 5); |
|
210 |
tt_sub = false; |
|
211 |
} |
|
212 |
else |
|
213 |
{ |
|
214 |
t_y += tt_offY; |
|
215 |
tt_sub = true; |
|
216 |
} |
|
217 |
return t_y; |
|
218 |
} |
|
219 |
function tt_ReleasMov() |
|
220 |
{ |
|
221 |
if(document.onmousemove == tt_Move) |
|
222 |
{ |
|
223 |
if(!tt_mf && document.releaseEvents) document.releaseEvents(Event.MOUSEMOVE); |
|
224 |
document.onmousemove = tt_mf; |
|
225 |
} |
|
226 |
} |
|
227 |
function tt_ShowIfrm(t_x) |
|
228 |
{ |
|
229 |
if(!tt_obj || !tt_ifrm) return; |
|
230 |
if(t_x) |
|
231 |
{ |
|
232 |
tt_ifrm.style.width = tt_objW+'px'; |
|
233 |
tt_ifrm.style.height = tt_objH+'px'; |
|
234 |
tt_ifrm.style.display = "block"; |
|
235 |
} |
|
236 |
else tt_ifrm.style.display = "none"; |
|
237 |
} |
|
238 |
function tt_GetDiv(t_id) |
|
239 |
{ |
|
240 |
return( |
|
241 |
tt_n4? (document.layers[t_id] || null) |
|
242 |
: tt_ie? (document.all[t_id] || null) |
|
243 |
: (document.getElementById(t_id) || null) |
|
244 |
); |
|
245 |
} |
|
246 |
function tt_GetDivW() |
|
247 |
{ |
|
248 |
return tt_Int( |
|
249 |
tt_n4? tt_obj.clip.width |
|
250 |
: (tt_obj.style.pixelWidth || tt_obj.offsetWidth) |
|
251 |
); |
|
252 |
} |
|
253 |
function tt_GetDivH() |
|
254 |
{ |
|
255 |
return tt_Int( |
|
256 |
tt_n4? tt_obj.clip.height |
|
257 |
: (tt_obj.style.pixelHeight || tt_obj.offsetHeight) |
|
258 |
); |
|
259 |
} |
|
260 |
|
|
261 |
// Compat with DragDrop Lib: Ensure that z-index of tooltip is lifted beyond toplevel dragdrop element |
|
262 |
function tt_SetDivZ() |
|
263 |
{ |
|
264 |
var t_i = tt_obj.style || tt_obj; |
|
265 |
if(t_i) |
|
266 |
{ |
|
267 |
if(window.dd && dd.z) |
|
268 |
t_i.zIndex = Math.max(dd.z+1, t_i.zIndex); |
|
269 |
if(tt_ifrm) tt_ifrm.style.zIndex = t_i.zIndex-1; |
|
270 |
} |
|
271 |
} |
|
272 |
function tt_SetDivPos(t_x, t_y) |
|
273 |
{ |
|
274 |
var t_i = tt_obj.style || tt_obj; |
|
275 |
var t_px = (tt_op6 || tt_n4)? '' : 'px'; |
|
276 |
t_i.left = (tt_objX = t_x) + t_px; |
|
277 |
t_i.top = (tt_objY = t_y) + t_px; |
|
278 |
if(tt_ifrm) |
|
279 |
{ |
|
280 |
tt_ifrm.style.left = t_i.left; |
|
281 |
tt_ifrm.style.top = t_i.top; |
|
282 |
} |
|
283 |
} |
|
284 |
function tt_ShowDiv(t_x) |
|
285 |
{ |
|
286 |
tt_ShowIfrm(t_x); |
|
287 |
if(tt_n4) tt_obj.visibility = t_x? 'show' : 'hide'; |
|
288 |
else tt_obj.style.visibility = t_x? 'visible' : 'hidden'; |
|
289 |
tt_act = t_x; |
|
290 |
} |
|
291 |
function tt_OpDeHref(t_e) |
|
292 |
{ |
|
293 |
var t_tag; |
|
294 |
if(t_e) |
|
295 |
{ |
|
296 |
t_tag = t_e.target; |
|
297 |
while(t_tag) |
|
298 |
{ |
|
299 |
if(t_tag.hasAttribute("href")) |
|
300 |
{ |
|
301 |
tt_tag = t_tag |
|
302 |
tt_tag.t_href = tt_tag.getAttribute("href"); |
|
303 |
tt_tag.removeAttribute("href"); |
|
304 |
tt_tag.style.cursor = "hand"; |
|
305 |
tt_tag.onmousedown = tt_OpReHref; |
|
306 |
tt_tag.stats = window.status; |
|
307 |
window.status = tt_tag.t_href; |
|
308 |
break; |
|
309 |
} |
|
310 |
t_tag = t_tag.parentElement; |
|
311 |
} |
|
312 |
} |
|
313 |
} |
|
314 |
function tt_OpReHref() |
|
315 |
{ |
|
316 |
if(tt_tag) |
|
317 |
{ |
|
318 |
tt_tag.setAttribute("href", tt_tag.t_href); |
|
319 |
window.status = tt_tag.stats; |
|
320 |
tt_tag = null; |
|
321 |
} |
|
322 |
} |
|
323 |
function tt_Show(t_e, t_id, t_sup, t_delay, t_fix, t_left, t_offx, t_offy, t_static, t_sticky, t_temp) |
|
324 |
{ |
|
325 |
if(tt_obj) tt_Hide(); |
|
326 |
tt_mf = document.onmousemove || null; |
|
327 |
if(window.dd && (window.DRAG && tt_mf == DRAG || window.RESIZE && tt_mf == RESIZE)) return; |
|
328 |
var t_sh, t_h; |
|
329 |
|
|
330 |
tt_obj = tt_GetDiv(t_id); |
|
331 |
if(tt_obj) |
|
332 |
{ |
|
333 |
t_e = t_e || window.event; |
|
334 |
tt_sub = !(tt_sup = t_sup); |
|
335 |
tt_sticky = t_sticky; |
|
336 |
tt_objW = tt_GetDivW(); |
|
337 |
tt_objH = tt_GetDivH(); |
|
338 |
tt_offX = t_left? -(tt_objW+t_offx) : t_offx; |
|
339 |
tt_offY = t_offy; |
|
340 |
if(tt_op7) tt_OpDeHref(t_e); |
|
341 |
if(tt_n4) |
|
342 |
{ |
|
343 |
if(tt_obj.document.layers.length) |
|
344 |
{ |
|
345 |
t_sh = tt_obj.document.layers[0]; |
|
346 |
t_sh.clip.height = tt_objH - Math.round(t_sh.clip.width*1.3); |
|
347 |
} |
|
348 |
} |
|
349 |
else |
|
350 |
{ |
|
351 |
t_sh = tt_GetDiv(t_id+'R'); |
|
352 |
if(t_sh) |
|
353 |
{ |
|
354 |
t_h = tt_objH - tt_Int(t_sh.style.pixelTop || t_sh.style.top || 0); |
|
355 |
if(typeof t_sh.style.pixelHeight != tt_u) t_sh.style.pixelHeight = t_h; |
|
356 |
else t_sh.style.height = t_h+'px'; |
|
357 |
} |
|
358 |
} |
|
359 |
|
|
360 |
xlim = tt_Int((tt_db && tt_db.clientWidth)? tt_db.clientWidth : window.innerWidth) + |
|
361 |
tt_Int(window.pageXOffset || (tt_db? tt_db.scrollLeft : 0) || 0) - |
|
362 |
tt_objW - |
|
363 |
(tt_n4? 21 : 0); |
|
364 |
ylim = tt_Int(window.innerHeight || tt_db.clientHeight) + |
|
365 |
tt_Int(window.pageYOffset || (tt_db? tt_db.scrollTop : 0) || 0) - |
|
366 |
tt_objH - tt_offY; |
|
367 |
|
|
368 |
tt_SetDivZ(); |
|
369 |
if(t_fix) tt_SetDivPos(tt_Int((t_fix = t_fix.split(','))[0]), tt_Int(t_fix[1])); |
|
370 |
else tt_SetDivPos(tt_EvX(t_e), tt_EvY(t_e)); |
|
371 |
|
|
372 |
var t_txt = 'tt_ShowDiv(\'true\');'; |
|
373 |
if(t_sticky) t_txt += '{'+ |
|
374 |
'tt_ReleasMov();'+ |
|
375 |
'window.tt_upFunc = document.onmouseup || null;'+ |
|
376 |
'if(document.captureEvents) document.captureEvents(Event.MOUSEUP);'+ |
|
377 |
'document.onmouseup = new Function("window.setTimeout(\'tt_Hide();\', 10);");'+ |
|
378 |
'}'; |
|
379 |
else if(t_static) t_txt += 'tt_ReleasMov();'; |
|
380 |
if(t_temp > 0) t_txt += 'window.tt_rtm = window.setTimeout(\'tt_sticky = false; tt_Hide();\','+t_temp+');'; |
|
381 |
window.tt_rdl = window.setTimeout(t_txt, t_delay); |
|
382 |
|
|
383 |
if(!t_fix) |
|
384 |
{ |
|
385 |
if(document.captureEvents) document.captureEvents(Event.MOUSEMOVE); |
|
386 |
document.onmousemove = tt_Move; |
|
387 |
} |
|
388 |
} |
|
389 |
} |
|
390 |
var tt_area = false; |
|
391 |
function tt_Move(t_ev) |
|
392 |
{ |
|
393 |
if(!tt_obj) return; |
|
394 |
if(tt_n6 || tt_w3c) |
|
395 |
{ |
|
396 |
if(tt_wait) return; |
|
397 |
tt_wait = true; |
|
398 |
setTimeout('tt_wait = false;', 5); |
|
399 |
} |
|
400 |
var t_e = t_ev || window.event; |
|
401 |
tt_SetDivPos(tt_EvX(t_e), tt_EvY(t_e)); |
|
402 |
if(tt_op6) |
|
403 |
{ |
|
404 |
if(tt_area && t_e.target.tagName != 'AREA') tt_Hide(); |
|
405 |
else if(t_e.target.tagName == 'AREA') tt_area = true; |
|
406 |
} |
|
407 |
} |
|
408 |
function tt_Hide() |
|
409 |
{ |
|
410 |
if(window.tt_obj) |
|
411 |
{ |
|
412 |
if(window.tt_rdl) window.clearTimeout(tt_rdl); |
|
413 |
if(!tt_sticky || !tt_act) |
|
414 |
{ |
|
415 |
if(window.tt_rtm) window.clearTimeout(tt_rtm); |
|
416 |
tt_ShowDiv(false); |
|
417 |
tt_SetDivPos(-tt_objW, -tt_objH); |
|
418 |
tt_obj = null; |
|
419 |
if(typeof window.tt_upFunc != tt_u) document.onmouseup = window.tt_upFunc; |
|
420 |
} |
|
421 |
tt_sticky = false; |
|
422 |
if(tt_op6 && tt_area) tt_area = false; |
|
423 |
tt_ReleasMov(); |
|
424 |
if(tt_op7) tt_OpReHref(); |
|
425 |
} |
|
426 |
} |
|
427 |
function tt_Init() |
|
428 |
{ |
|
429 |
if(!(tt_op || tt_n4 || tt_n6 || tt_ie || tt_w3c)) return; |
|
430 |
|
|
431 |
var htm = tt_n4? '<div style="position:absolute;"></div>' : '', |
|
432 |
tags, |
|
433 |
t_tj, |
|
434 |
over, |
|
435 |
esc = 'return escape('; |
|
436 |
var i = tt_tags.length; while(i--) |
|
437 |
{ |
|
438 |
tags = tt_ie? (document.all.tags(tt_tags[i]) || 1) |
|
439 |
: document.getElementsByTagName? (document.getElementsByTagName(tt_tags[i]) || 1) |
|
440 |
: (!tt_n4 && tt_tags[i]=="a")? document.links |
|
441 |
: 1; |
|
442 |
if(tt_n4 && (tt_tags[i] == "a" || tt_tags[i] == "layer")) tags = tt_N4Tags(tt_tags[i]); |
|
443 |
var j = tags.length; while(j--) |
|
444 |
{ |
|
445 |
if(typeof (t_tj = tags[j]).onmouseover == "function" && t_tj.onmouseover.toString().indexOf(esc) != -1 && !tt_n6 || tt_n6 && (over = t_tj.getAttribute("onmouseover")) && over.indexOf(esc) != -1) |
|
446 |
{ |
|
447 |
if(over) t_tj.onmouseover = new Function(over); |
|
448 |
var txt = unescape(t_tj.onmouseover()); |
|
449 |
htm += tt_Htm( |
|
450 |
t_tj, |
|
451 |
"tOoLtIp"+i+""+j, |
|
452 |
txt.wzReplace("& ","&") |
|
453 |
); |
|
454 |
|
|
455 |
t_tj.onmouseover = new Function('e', |
|
456 |
'tt_Show(e,'+ |
|
457 |
'"tOoLtIp' +i+''+j+ '",'+ |
|
458 |
((typeof t_tj.T_ABOVE != tt_u)? t_tj.T_ABOVE : ttAbove)+','+ |
|
459 |
((typeof t_tj.T_DELAY != tt_u)? t_tj.T_DELAY : ttDelay)+','+ |
|
460 |
((typeof t_tj.T_FIX != tt_u)? '"'+t_tj.T_FIX+'"' : '""')+','+ |
|
461 |
((typeof t_tj.T_LEFT != tt_u)? t_tj.T_LEFT : ttLeft)+','+ |
|
462 |
((typeof t_tj.T_OFFSETX != tt_u)? t_tj.T_OFFSETX : ttOffsetX)+','+ |
|
463 |
((typeof t_tj.T_OFFSETY != tt_u)? t_tj.T_OFFSETY : ttOffsetY)+','+ |
|
464 |
((typeof t_tj.T_STATIC != tt_u)? t_tj.T_STATIC : ttStatic)+','+ |
|
465 |
((typeof t_tj.T_STICKY != tt_u)? t_tj.T_STICKY : ttSticky)+','+ |
|
466 |
((typeof t_tj.T_TEMP != tt_u)? t_tj.T_TEMP : ttTemp)+ |
|
467 |
');' |
|
468 |
); |
|
469 |
t_tj.onmouseout = tt_Hide; |
|
470 |
if(t_tj.alt) t_tj.alt = ""; |
|
471 |
if(t_tj.title) t_tj.title = ""; |
|
472 |
} |
|
473 |
} |
|
474 |
} |
|
475 |
document.write(htm); |
|
476 |
if(document.getElementById) tt_ifrm = document.getElementById("TTiEiFrM"); |
|
477 |
} |
|
478 |
tt_Init(); |
|
0 | 479 |
lib/style/skins/sbclter/sbc_pageheader.htmlf | ||
---|---|---|
1 |
|
|
2 |
|
|
3 |
<!--begin the page header area--> |
|
4 |
<!-- |
|
5 |
these div's must have closing elements for the css to work. Don't |
|
6 |
reduce them to <div id="blah" /> |
|
7 |
--> |
|
8 |
|
|
9 |
<!-- begin supra-header area. the blue band above all --> |
|
10 |
<!-- <div id="supra-header"> |
|
11 |
<a href="http://lternet.edu">US LTER Network (http://lternet.edu)</a> |
|
12 |
</div> --> |
|
13 |
|
|
14 |
|
|
15 |
<div id="header"> |
|
16 |
|
|
17 |
<!--begin the left logo area--> |
|
18 |
<div id="left_logo"></div> |
|
19 |
<!--end the left logo area--> |
|
20 |
<!--begin the banner area--> |
|
21 |
<div id="banner"> |
|
22 |
<div class="header-title"> |
|
23 |
Santa Barbara Coastal |
|
24 |
</div> |
|
25 |
<div class="header-subtitle"> |
|
26 |
Long-Term Ecological Research |
|
27 |
</div> |
|
28 |
</div> |
|
29 |
<!--end the banner area--> |
|
30 |
<!--begin the right logo area--> |
|
31 |
<div id="right_logo"></div> |
|
32 |
<!--end the right logo area--> |
|
33 |
|
|
34 |
<!-- this should be in header --> |
|
35 |
<div class="header-menu"> |
|
36 |
|
|
37 |
|
|
38 |
<script language="JavaScript" type="text/javascript" SRC="http://sbc.lternet.edu/navigation.js"> |
|
39 |
</script> |
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
<!-- |
|
45 |
<a class="menu" href="http://sbc.lternet.edu/index.html">Home</a> | |
|
46 |
<a class="menu" href="http://sbc.lternet.edu/sites/index.html">Site</a> | |
|
47 |
<a class="menu" href="http://sbc.lternet.edu/people/index.html">People</a> | |
|
48 |
<a class="menu" href="http://sbc.lternet.edu/research/index.html">Research</a> | |
|
49 |
|
|
50 |
3C |
|
51 |
<a class="menu" href="http://sbc.lternet.edu/data/index.html">Data</a> | |
|
52 |
<a class="menu" href="http://sbc.lternet.edu/education/index.html">Education</a> | |
|
53 |
<a class="menu" href="http://sbc.lternet.edu/affiliates/index.html">Affiliates</a> |
|
54 |
--> |
|
55 |
|
|
56 |
</div> |
|
57 |
|
|
58 |
</div> |
|
59 |
<!--end the header area--> |
|
60 |
|
|
0 | 61 |
lib/style/skins/sbclter/sbclter.css | ||
---|---|---|
1 |
/* '$RCSfile: pisco.css,v $' */ |
|
2 |
/* Purpose: Default style sheet for PISCO project web pages */ |
|
3 |
/* Using this stylesheet rather than placing styles directly */ |
|
4 |
/* into PISCO web documents allows us to globally change the */ |
|
5 |
/* formatting styles of the entire site in one easy place. */ |
|
6 |
/* Versioning information for this document can be found at */ |
|
7 |
/* cvs.piscoweb.org. */ |
|
8 |
/* Copyright: 2000 Regents of the University of California and the */ |
|
9 |
/* Partnership for Interdisciplinary Studies of Coastal Oceans */ |
|
10 |
/* Authors: Chris Jones, James Woods */ |
|
11 |
/* */ |
|
12 |
/* '$Author: cjones $' */ |
|
13 |
/* '$Date: 2004/10/05 23:50:43 $' */ |
|
14 |
/* '$Revision: 1.1 $' */ |
|
15 |
/* */ |
|
16 |
|
|
17 |
|
|
18 |
/* Color Scheme: |
|
19 |
* dark blue: #003366 |
|
20 |
* aqua blue: #0066CC |
|
21 |
* aqua green: #006666 |
|
22 |
* white: #FFFFFF |
|
23 |
* dark tan(kelp color): #666600 |
|
24 |
* light tan: #CCCC99 |
|
25 |
*/ |
|
26 |
|
|
27 |
|
|
28 |
/* |
|
29 |
* import eml css: |
|
30 |
*/ |
|
31 |
|
|
32 |
body { |
|
33 |
width: 100%; |
|
34 |
min-width: 800px; |
|
35 |
/* width:expression(document.body.clientWidth < 800? "800px": "auto"); */ /* hack for ie min width */ |
|
36 |
|
|
37 |
margin: 0px 10px 10px 10px; |
|
38 |
background-color: #ffffff; |
|
39 |
padding: 0px; |
|
40 |
border: 0px; |
|
41 |
/* background-image: url('@systemidserver@@style-skins-path@/@default-style@/images/bg.gif'); |
|
42 |
/* background-position: top left; /* No NN4 */ |
|
43 |
/* background-repeat: repeat-y; /* No NN4 */ |
|
44 |
|
|
45 |
font-style: normal; |
|
46 |
font-weight: normal; |
|
47 |
font-size: 100%; |
|
48 |
font-family: Verdana, Arial, Helvetica, sans-serif; |
|
49 |
text-decoration: none; |
|
50 |
} |
|
51 |
|
|
52 |
body>div img { |
|
53 |
padding: 0px 0px 0px 0px; |
|
54 |
} |
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
#header { |
|
61 |
width: 100%; |
|
62 |
min-width: 800px; |
|
63 |
width:expression(document.documentElement.clientWidth < 800? "800px": "auto"); /* hack for ie min width */ |
|
64 |
/* position: absolute; |
|
65 |
top: 0px; |
|
66 |
left: 10px; |
|
67 |
right: 10px; */ |
|
68 |
/* margin: 0px 10px 0px 10px; /* T R B L */ |
|
69 |
padding: 0px; |
|
70 |
border: 0px; |
|
71 |
background-color: #ffffff; |
|
72 |
/* background-image: url('@systemidserver@@style-skins-path@/@default-style@/images/data_catalog_header_bg.jpg'); */ |
|
73 |
|
|
74 |
height: 60px; /* begin hack for ie5win */ |
|
75 |
width: 100%; |
|
76 |
voice-family: "\"}\""; |
|
77 |
voice-family: inherit; |
|
78 |
height: 60px; |
|
79 |
} |
|
80 |
|
|
81 |
html>body #header { |
|
82 |
height: 60px; |
|
83 |
width: auto; |
|
84 |
min-width: 800px; /* end hack for ie5win */ |
|
85 |
} |
|
86 |
|
|
87 |
|
|
88 |
/* div "content" should be sibling to div "header" */ |
|
89 |
/* top margin required to clear sibling (logo is 100px tall)*/ |
|
90 |
|
|
91 |
#content { |
|
92 |
margin: 105px 0px 0px 0px ; |
|
93 |
background-color: #ffffff; |
|
94 |
border: 0px; |
|
95 |
/* margin: 0px 0px 0px 0px; |
|
96 |
*/ |
|
97 |
} |
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
/* these elements positioned to be in header below */ |
|
102 |
|
|
103 |
#left_logo { |
|
104 |
position: absolute; |
|
105 |
top: 5px; |
|
106 |
z-index: 2; /* stack on top of header menu */ |
|
107 |
left: 10px; /* we want the logo on the left */ |
|
108 |
margin: 0px 0px 0px 0px; /* T R B L */ |
|
109 |
padding: 0px; |
|
110 |
border: 0px; |
|
111 |
background-image: url('@systemidserver@@style-skins-path@/@default-style@/images/sbclter-logo.gif'); |
|
112 |
background-position: top left; /* No NN4 */ |
|
113 |
background-repeat: no-repeat; /* No NN4 */ |
|
114 |
width: 99px; /* begin hack for 1e5win */ |
|
115 |
height: 100px; |
|
116 |
voice-family: "\"}\""; |
|
117 |
voice-family: inherit; |
|
118 |
width: 99px; |
|
119 |
height: 100px; |
|
120 |
} |
|
121 |
|
|
122 |
html>body #left_logo { |
|
123 |
width: 99px; |
|
124 |
height: 100px; /* end hack for ie5win */ |
|
125 |
} |
|
126 |
|
|
127 |
#right_logo { |
|
128 |
position: absolute; |
|
129 |
top: 0px; |
|
130 |
right: 10px; /* we want the logo near the right */ |
|
131 |
margin: 0px 0px 0px 0px; /* T R B L */ |
|
132 |
padding: 0px; |
|
133 |
border: 0px; |
|
134 |
background-image: url('@systemidserver@@style-skins-path@/@default-style@/images/sbclter-coastal-header.jpg'); |
|
135 |
background-position: top right; /* No NN4 */ |
|
136 |
background-repeat: no-repeat; /* No NN4 */ |
|
137 |
height: 60px; /* begin hack for 1e5win */ |
|
138 |
width: 223px; |
|
139 |
voice-family: "\"}\""; |
|
140 |
voice-family: inherit; |
|
141 |
height: 60px; |
|
142 |
width: 223px; |
|
143 |
} |
|
144 |
|
|
145 |
html>body #right_logo { |
|
146 |
width: 223px; |
|
147 |
height: 60px; /* end hack for ie5win */ |
|
148 |
} |
|
149 |
|
|
150 |
/* banner holds the title and subtitle */ |
|
151 |
#banner { |
|
152 |
margin: 0px 0px 0px 110px; /* T R B L */ |
|
153 |
padding: 0px; |
|
154 |
border: 0px; |
|
155 |
background-color: #ffffff; |
|
156 |
/* background-image: url('@systemidserver@@style-skins-path@/@default-style@/images/data_catalog_header_search.jpg') */ |
|
157 |
background-position: top left; /* No NN4 */ |
|
158 |
background-repeat: no-repeat; /* No NN4 */ |
|
159 |
/* height: 60px; /* begin hack for ie5win */ |
|
160 |
voice-family: "\"}\""; |
|
161 |
voice-family: inherit; |
|
162 |
/* height: 60px; |
|
163 |
*/ |
|
164 |
} |
|
165 |
|
|
166 |
html>body #banner { |
|
167 |
/* height: 60px; /* end hack for ie5win */ |
|
168 |
} |
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
/* Header Sub-Title Classes |
|
173 |
* title and subtitle in the left portion of the banner */ |
|
174 |
|
|
175 |
div.header-title { |
|
176 |
position: absolute; |
|
177 |
top: 5px; |
|
178 |
left: 110px; |
|
179 |
color: #003366; |
|
180 |
/* padding: 1px 4px 1px 100px; |
|
181 |
*/ |
|
182 |
font-size: 26px; |
|
183 |
font-family: serif; |
|
184 |
font-style: normal; |
|
185 |
font-weight: 800; |
|
186 |
} |
|
187 |
|
|
188 |
|
|
189 |
div.header-subtitle { |
|
190 |
position: absolute; |
|
191 |
top: 40px; |
|
192 |
left: 115px; |
|
193 |
color: #006666; |
|
194 |
/* padding: 1px 4px 1px 110px; */ |
|
195 |
font-size: 12px; |
|
196 |
} |
|
197 |
|
|
198 |
div.header-menu { |
|
199 |
position: absolute; |
|
200 |
top: 60px; |
|
201 |
width: 100%; |
|
202 |
z-index: 1; /* put menu underneath logos */ |
|
203 |
border-top: 1px solid #006666; |
|
204 |
border-bottom: 1px solid #006666; |
|
205 |
color: #666600; |
|
206 |
background-color: #CCCC99; |
|
207 |
padding: 2px 2px 2px 110px; |
|
208 |
font-size: 14px; |
|
209 |
} |
|
210 |
|
|
211 |
|
|
212 |
|
|
213 |
|
|
214 |
/* header doesnt currently accomodate this class */ |
|
215 |
div.header-submenu { |
|
216 |
color: #003366; |
|
217 |
background-color: #FFFFFF; |
|
218 |
padding: 2px 10px 2px 110px; |
|
219 |
font-size: 14px; |
|
220 |
} |
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
#left_sidebar { |
|
226 |
position: absolute; |
|
227 |
top: 0px; |
|
228 |
left: 0px; |
|
229 |
margin: 0px; |
|
230 |
padding: 0px; |
|
231 |
border: 0px; |
|
232 |
background-color: #003366; |
|
233 |
width: 10px; /* begin hack for 1e5win */ |
|
234 |
voice-family: "\"}\""; |
|
235 |
voice-family: inherit; |
|
236 |
width: 10px; |
|
237 |
} |
|
238 |
|
|
239 |
html>body #left_sidebar { |
|
240 |
width: 10px; /* end hack for ie5win */ |
|
241 |
} |
|
242 |
|
|
243 |
#right_sidebar { |
|
244 |
position: absolute; |
|
245 |
top: 0px; |
|
246 |
right: 0px; |
|
247 |
margin: 0px; |
|
248 |
padding: 0px; |
|
249 |
border: 0px; |
|
250 |
background-color: #003366; |
|
251 |
width: 10px; /* begin hack for 1e5win */ |
|
252 |
voice-family: "\"}\""; |
|
253 |
voice-family: inherit; |
|
254 |
width: 10px; |
|
255 |
} |
|
256 |
|
|
257 |
html>body #right_sidebar { |
|
258 |
width: 10px; /* end hack for ie5win */ |
|
259 |
} |
|
260 |
|
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
|
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
272 |
/* these classes to be children of div "content" */ |
|
273 |
|
|
274 |
|
|
275 |
/* for the skip-to box */ |
|
276 |
|
|
277 |
div.skipto-box { |
|
278 |
vertical-align: middle; |
|
279 |
text-align: center; |
|
280 |
color: #003366; |
|
281 |
background-color: #CCCC99; |
|
282 |
/* turned off float, placed with a table cell */ |
|
283 |
/*float: left; */ |
|
284 |
padding: 6px; |
|
285 |
/* set border for NN4 only change in advanced.css */ |
|
286 |
border: 0.1px solid #006666; |
|
287 |
margin: 8px; |
|
288 |
/* width: 50%; */ |
|
289 |
width: 300px; |
|
290 |
/* height: 20px; */ |
|
291 |
font-size: 12px; |
|
292 |
} |
|
293 |
|
|
294 |
div.r-box { |
|
295 |
vertical-align: middle; |
|
296 |
text-align: center; |
|
297 |
color: #003366; |
|
298 |
background-color: #CCCC99; |
|
299 |
float: right; |
|
300 |
padding: 6px 6px; |
|
301 |
/* set border for NN4 only change in advanced.css */ |
|
302 |
border: 0.1px solid #006666; |
|
303 |
margin: 0px; |
|
304 |
width: 50%; |
|
305 |
/* height: auto; */ |
|
306 |
font-size: 12px; |
|
307 |
/* clear: both; */ |
|
308 |
} |
|
309 |
|
|
310 |
|
|
311 |
div.content-area { |
|
312 |
/* for padding area within parent area */ |
|
313 |
background-color: #FFFFFF; |
|
314 |
color: #003366; |
|
315 |
text-align: left; |
|
316 |
padding: 30px 40px 15px 40px; |
|
317 |
/*padding: 0px 0px 0px 0px; */ |
|
318 |
|
|
319 |
} |
|
320 |
|
|
321 |
div.content-area-dense { |
|
322 |
/* for padding area within parent area */ |
|
323 |
background-color: #FFFFFF; |
|
324 |
color: #003366; |
|
325 |
text-align: left; |
|
326 |
/* padding: 30px 40px 15px 40px; */ |
|
327 |
padding: 0px 0px 0px 0px; |
|
328 |
|
|
329 |
} |
|
330 |
|
|
331 |
|
|
332 |
|
|
333 |
div.hanging-paragraph { |
|
334 |
margin-left: 20px; |
|
335 |
text-indent: -20px; |
|
336 |
|
|
337 |
} |
|
338 |
|
|
339 |
div.smaller-font { |
|
340 |
font-size: smaller; |
|
341 |
} |
|
342 |
|
|
343 |
div.bottom-padding { |
|
344 |
/* padding: 0px 0px 10px 0px; */ |
|
345 |
padding-bottom: 10px; |
|
346 |
} |
|
347 |
|
|
348 |
div.left-padding { |
|
349 |
padding-left: 10px; |
|
350 |
} |
|
351 |
|
|
352 |
#search-box { |
|
353 |
/* background and text style set by table .group */ |
|
354 |
position: relative; |
|
355 |
margin-left: 50%; |
|
356 |
/* top: 110px; */ |
|
357 |
} |
|
358 |
|
|
359 |
|
|
360 |
#search-box_right { |
|
361 |
text-align: right; |
|
362 |
} |
|
363 |
|
|
364 |
#loginbox { |
|
365 |
border: 0px; |
|
366 |
position: absolute; |
|
367 |
top: 55px; |
|
368 |
right: 65px; |
|
369 |
} |
|
370 |
|
|
371 |
#footer { |
|
372 |
position: absolute; |
|
373 |
right: 10px; |
|
374 |
bottom: 0; |
|
375 |
left: 167px; |
|
376 |
margin: 0px 10px 10px 177px; |
|
377 |
} |
|
378 |
|
|
379 |
#debug { |
|
380 |
position: absolute; |
|
381 |
right: 20px; |
|
382 |
bottom: 0; |
|
383 |
left: 167px; |
|
384 |
margin: 0px 10px 10px 177px; |
|
385 |
} |
|
386 |
|
|
387 |
p,ul,ol,dl,li,dt { |
|
388 |
color: #003366; |
|
389 |
font-style: normal; |
|
390 |
font-weight: normal; |
|
391 |
font-family: Arial, Helvetica, sans-serif; |
|
392 |
text-decoration: none; |
|
393 |
} |
|
394 |
|
|
395 |
p ol,p ul, p dl, ol ul { |
|
396 |
color: #003366; |
|
397 |
font-style: normal; |
|
398 |
font-weight: normal; |
|
399 |
font-family: Arial, Helvetica, sans-serif; |
|
400 |
text-decoration: none; |
|
401 |
} |
|
402 |
|
|
403 |
ul,ol { |
|
404 |
padding: 0px; |
|
405 |
/* margin: 0px 0px 0px 15px; */ |
|
406 |
} |
|
407 |
|
|
408 |
|
|
409 |
|
|
410 |
.ol-lower-alpha { |
|
411 |
list-style-type: lower-alpha; |
|
412 |
margin-top: 2px; |
|
413 |
|
|
414 |
} |
|
415 |
|
|
416 |
|
|
417 |
.ul-bulleted-list { |
|
418 |
list-style-type: disc; |
|
419 |
margin-top: 2px; |
|
420 |
margin-bottom: 10px; |
|
421 |
margin-left: 15px; |
|
422 |
} |
|
423 |
|
|
424 |
/* add a little space before items in a list ?*/ |
|
425 |
/* ol li { margin-top : 5px; } */ |
|
426 |
/* ul li { margin-top : 5px; } */ |
|
427 |
|
|
428 |
|
|
429 |
|
|
430 |
|
|
431 |
div { |
|
432 |
color: #003366; |
|
433 |
font-style: normal; |
|
434 |
font-weight: normal; |
|
435 |
font-family: Arial, Helvetica, sans-serif; |
|
436 |
text-decoration: none; |
|
437 |
} |
|
438 |
|
|
439 |
|
|
440 |
/* NN 4.xx needs the font weight reset for b and strong tags */ |
|
441 |
strong, b { |
|
442 |
font-weight: 800; |
|
443 |
} |
|
444 |
|
|
445 |
/* to emphasize words, use it inline with a <span> class*/ |
|
446 |
big { |
|
447 |
font-size: larger; |
|
448 |
} |
|
449 |
|
|
450 |
/* to shrink words, use it inline with a <span> class*/ |
|
451 |
small { |
|
452 |
font-size: smaller; |
|
453 |
} |
|
454 |
|
|
455 |
/* for pre-formated text: adds a small padding around it |
|
456 |
* font is set to the default style, |
|
457 |
* but could be changed for different effect |
|
458 |
*/ |
|
459 |
pre { |
|
460 |
color: #003366; |
|
461 |
padding: 10px; |
|
462 |
font-style: normal; |
|
463 |
font-weight: normal; |
|
464 |
font-family: Arial, Helvetica, sans-serif; |
|
465 |
text-decoration: none; |
|
466 |
} |
|
467 |
|
|
468 |
/* for creating block quotes. |
|
469 |
* set off with a slight indent to the left & right margins |
|
470 |
* font is set to default style, |
|
471 |
* but could be changed for different effect |
|
472 |
*/ |
|
473 |
blockquote { |
|
474 |
color: #003366; |
|
475 |
padding: 0; |
|
476 |
font-style: normal; |
|
477 |
font-weight: normal; |
|
478 |
font-family: Arial, Helvetica, sans-serif; |
|
479 |
text-decoration: none; |
|
480 |
} |
|
481 |
|
|
482 |
/* Headings Tags : |
|
483 |
* Headings are used to break up straight text. |
|
484 |
* They are used to present topics, or subsections, chapters, etc. |
|
485 |
* There are 6 headings tag which can be styled as we wish. |
|
486 |
* All of our headings will be rendered in the same font and color as the |
|
487 |
* default settings. |
|
488 |
*/ |
|
489 |
|
|
490 |
/* h1: very large font, set bold */ |
|
491 |
h1 { |
|
492 |
color: #003366; |
|
493 |
background-color: #ffffff; |
|
494 |
padding: 0; |
|
495 |
font-size: 2.25em; |
|
496 |
font-style: normal; |
|
497 |
font-weight: bold; |
|
498 |
font-family: Arial, Helvetica, sans-serif; |
|
499 |
text-decoration: none; |
|
500 |
} |
|
501 |
|
|
502 |
/* large font, set bold */ |
|
503 |
h2 { |
|
504 |
color: #003366; |
|
505 |
background-color: #ffffff; |
|
506 |
padding: 0; |
|
507 |
font-size: 2em; |
|
508 |
font-style: normal; |
|
509 |
font-weight: bold; |
|
510 |
font-family: Arial, Helvetica, sans-serif; |
|
511 |
text-decoration: none; |
|
512 |
} |
|
513 |
|
|
514 |
/* slightly larger font, set bold */ |
|
515 |
h3 { |
|
516 |
color: #003366; |
|
517 |
background-color: #ffffff; |
|
518 |
padding: 0; |
|
519 |
font-size: 1.75em; |
|
520 |
font-style: normal; |
|
521 |
font-weight: 700; |
|
522 |
font-family: Arial, Helvetica, sans-serif; |
|
523 |
text-decoration: none; |
|
524 |
/* margin-bottom: 0px; */ |
|
525 |
} |
|
526 |
|
|
527 |
|
|
528 |
/* an italic header w border */ |
|
529 |
/* |
|
530 |
h3 { |
|
531 |
border-bottom: #94c1d4 solid 1px; |
|
532 |
color: #003366; |
|
533 |
padding: 0; |
|
534 |
font-size: 1.75em; |
|
535 |
margin: 3px; |
|
536 |
text-align: left; |
|
537 |
font-style: italic; |
|
538 |
font-weight: 200; |
|
539 |
} |
|
540 |
*/ |
|
541 |
|
|
542 |
|
|
543 |
|
|
544 |
/* slightly larger, no bold */ |
|
545 |
/* make margins around h4 all the same, and a little larger than h5 */ |
|
546 |
h4 { |
|
547 |
color: #003366; |
|
548 |
padding: 0; |
|
549 |
font-size: 1.75em; |
|
550 |
font-style: normal; |
|
551 |
font-weight: 400; |
|
552 |
font-family: Arial, Helvetica, sans-serif; |
|
553 |
text-decoration: none; |
|
554 |
margin-top: 10px; |
|
555 |
margin-bottom: 0px; |
|
556 |
|
|
557 |
} |
|
558 |
|
|
559 |
/* slightly smaller font */ |
|
560 |
/* moz-net-fox and ie have different default margins for h5 - make them uniform */ |
|
561 |
h5 { |
|
562 |
color: #003366; |
|
563 |
padding: 0; |
|
564 |
font-size: 1.25em; |
|
565 |
font-style: normal; |
|
566 |
font-weight: 400; |
|
567 |
font-family: Arial, Helvetica, sans-serif; |
|
568 |
text-decoration: none; |
|
569 |
margin-bottom: 0px; |
|
570 |
margin-top: 7px; |
|
571 |
|
|
572 |
|
|
573 |
} |
|
574 |
|
|
575 |
/* very small font */ |
|
576 |
h6 { |
|
577 |
color: #003366; |
|
578 |
background-color: #FFFFFF; |
|
579 |
padding: 0; |
|
580 |
font-size: 0.5em; |
|
581 |
font-style: normal; |
|
582 |
font-weight: normal; |
|
583 |
font-family: Arial, Helvetica, sans-serif; |
|
584 |
text-decoration: none; |
|
585 |
} |
|
586 |
|
|
587 |
|
|
588 |
|
|
589 |
/* Old style hr command - will be depreciated |
|
590 |
* Netscape 4.x does not like this |
|
591 |
* should use new style below |
|
592 |
* used anywhere? remove? |
|
593 |
*/ |
|
594 |
hr { |
|
595 |
border-top: #003366 0px solid; |
|
596 |
width: 450px; |
|
597 |
height: 2px; |
|
598 |
color: #003366; |
|
599 |
background-color: #003366; |
|
600 |
/*border-width: none; |
|
601 |
border-color: #003366; */ |
|
602 |
} |
|
603 |
|
|
604 |
/* New horizontal rule. Netscape 4.x should render this fine. |
|
605 |
* apply this class to a <div> tag for the desired effect. |
|
606 |
* the rule is 1px wide, blue with a slight margin on the left and right. |
|
607 |
*/ |
|
608 |
.rule { |
|
609 |
border-top-width: 2px; |
|
610 |
border-top-style: solid; |
|
611 |
border-color: #003366; |
|
612 |
margin: 4px 4px |
|
613 |
} |
|
614 |
|
|
615 |
/* Default link properties |
|
616 |
* currently set the links to the dark tan |
|
617 |
* with no additional decorations |
|
618 |
* except underline on hover |
|
619 |
*/ |
|
620 |
a:link { |
|
621 |
color: #666600; |
|
622 |
background: transparent; |
|
623 |
/* background-color: #FFFFFF; */ |
|
624 |
text-decoration: none; |
|
625 |
} |
|
626 |
a:visited { |
|
627 |
color: #666600; |
|
628 |
background: transparent; |
|
629 |
/* background-color: #FFFFFF; */ |
|
630 |
text-decoration: none; |
|
631 |
} |
|
632 |
a:hover { |
|
633 |
color: #666600; |
|
634 |
background: transparent; |
|
635 |
/* background-color: #FFFFFF; */ |
|
636 |
text-decoration: underline; |
|
637 |
} |
|
638 |
a:active { |
|
639 |
color: #666600; |
|
640 |
background: transparent; |
|
641 |
/* background-color: #FFFFFF; */ |
|
642 |
text-decoration: none; |
|
643 |
} |
|
644 |
|
|
645 |
/* Menu Link properties |
|
646 |
* the Menu is currently identical to the dafault |
|
647 |
* but this may change so it is defined here |
|
648 |
*/ |
|
649 |
a.menu:link { |
|
650 |
color: #666600; |
|
651 |
background: transparent; |
|
652 |
/*background-color: #CCCC9A;*/ |
|
653 |
text-decoration: none; |
|
654 |
} |
|
655 |
a.menu:visited { |
|
656 |
color: #666600; |
|
657 |
background: transparent; |
|
658 |
/*background-color: #CCCC9A;*/ |
|
659 |
text-decoration: none; |
|
660 |
} |
|
661 |
a.menu:hover { |
|
662 |
color: #666600; |
|
663 |
background: transparent; |
|
664 |
/* background-color: #CCCC9A;*/ |
|
665 |
text-decoration: underline; |
|
666 |
} |
|
667 |
a.menu:active { |
|
668 |
color: #666600; |
|
669 |
background: transparent; |
|
670 |
/* background-color: #CCCC9A; */ |
|
671 |
text-decoration: none; |
|
672 |
} |
|
673 |
|
|
674 |
/* SubMenu Link Properties |
|
675 |
* Set the color to dark tan with underline on hover |
|
676 |
*/ |
|
677 |
a.submenu:link { |
|
678 |
color: #666600; |
|
679 |
/* color: #003366; */ |
|
680 |
background: transparent; |
|
681 |
/*background-color: #CCCC9A;*/ |
|
682 |
text-decoration: none; |
|
683 |
} |
|
684 |
a.submenu:visited { |
|
685 |
color: #666600; |
|
686 |
/* color: #003366; */ |
|
687 |
background: transparent; |
|
688 |
/*background-color: #CCCC9A;*/ |
|
689 |
text-decoration: none; |
|
690 |
} |
|
691 |
a.submenu:hover { |
|
692 |
color: #666600; |
|
693 |
/* color: #003366; */ |
|
694 |
background: transparent; |
|
695 |
/* background-color: #CCCC9A;*/ |
|
696 |
text-decoration: underline; |
|
697 |
} |
|
698 |
a.submenu:active { |
|
699 |
color: #666600; |
|
700 |
/* color: #003366; */ |
|
701 |
background: transparent; |
|
702 |
/* background-color: #CCCC9A; */ |
|
703 |
text-decoration: none; |
|
704 |
} |
|
705 |
|
Also available in: Unified diff
Added top level files for sbclter skin