equal
deleted
inserted
replaced
3 // our global vars |
3 // our global vars |
4 // the delay between the slide in/out, and a little inertia |
4 // the delay between the slide in/out, and a little inertia |
5 |
5 |
6 var sliders_initted = false; |
6 var sliders_initted = false; |
7 |
7 |
8 function initSliders() |
8 var initSliders = function() |
9 { |
9 { |
10 sliders_initted = true; |
10 sliders_initted = true; |
11 if ( KILL_SWITCH ) |
11 if ( KILL_SWITCH ) |
12 return false; |
12 return false; |
13 // detect whether the user has ie or not, how we get the height is different |
13 // detect whether the user has ie or not, how we get the height is different |
54 |
54 |
55 // store our saved version |
55 // store our saved version |
56 divheights[i] = d; |
56 divheights[i] = d; |
57 } |
57 } |
58 } |
58 } |
|
59 |
|
60 addOnloadHook(initSliders); |
59 |
61 |
60 // this is one of our divs, it just has a DOM reference to the element and the original height |
62 // this is one of our divs, it just has a DOM reference to the element and the original height |
61 function div(_el, _ht) |
63 function div(_el, _ht) |
62 { |
64 { |
63 this.el = _el; |
65 this.el = _el; |