Mercurial > hg > digilib-old
comparison client/digitallibrary/navigation.js @ 230:7be74fc07fe1
removed ugly typo
author | luginbue |
---|---|
date | Fri, 09 Jul 2004 02:47:19 +0200 |
parents | 7349d58cd391 |
children |
comparison
equal
deleted
inserted
replaced
229:5309ee93e249 | 230:7be74fc07fe1 |
---|---|
122 } | 122 } |
123 | 123 |
124 } | 124 } |
125 | 125 |
126 // window size | 126 // window size |
127 | |
128 var wwidth, wheight; | 127 var wwidth, wheight; |
129 | |
130 if (self.innerHeight) // all except Explorer | 128 if (self.innerHeight) // all except Explorer |
131 { | 129 { |
132 wwidth = self.innerWidth; | 130 wwidth = self.innerWidth; |
133 wheight = self.innerWeight; | 131 wheight = self.innerHeight; |
134 } | 132 } |
135 else if (document.documentElement && document.documentElement.clientHeight) | 133 else if (document.documentElement && document.documentElement.clientHeight) |
136 // Explorer 6 Strict Mode | 134 // Explorer 6 Strict Mode |
137 { | 135 { |
138 wwidth = document.documentElement.clientWidth; | 136 wwidth = document.documentElement.clientWidth; |
139 wheight = document.doumentElement.clientHeight; | 137 wheight = document.documentElement.clientHeight; |
140 } | 138 } |
141 else if (document.body) // other Explorers | 139 else if (document.body) // other Explorers |
142 { | 140 { |
143 wwidth = document.body.clientWidth; | 141 wwidth = document.body.clientWidth; |
144 wheight = doument.body.clientHeight; | 142 wheight = document.body.clientHeight; |
145 } | 143 } |
146 queryString += "&dw=" + (wwidth-30) + "&dh=" + (whewight-30); | 144 queryString += "&dw=" + (wwidth-30) + "&dh=" + (wheight-30); |
147 | 145 |
148 queryString += "&lv=1"; | 146 queryString += "&lv=1"; |
149 | 147 |
150 queryString = queryString.slice(1); | 148 queryString = queryString.slice(1); |
151 | 149 |