Changeset 228 for ether_megapoli/trunk/web/resources/js
- Timestamp:
- 10/21/11 14:37:32 (13 years ago)
- Location:
- ether_megapoli/trunk/web/resources/js
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/web/resources/js/apycom.com-4-steel-blue/menu.js
r220 r228 6 6 */ 7 7 8 (function(jQuery){ 9 10 // We override the animation for all of these color styles 11 jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){ 12 jQuery.fx.step[attr] = function(fx){ 13 if ( fx.state == 0 ) { 14 fx.start = getColor( fx.elem, attr ); 15 fx.end = getRGB( fx.end ); 16 } 17 if ( fx.start ) 8 (function( jQuery ) 9 { 10 11 // We override the animation for all of these color styles 12 jQuery.each( ['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function( i, attr ) 13 { 14 jQuery.fx.step[attr] = function( fx ) 15 { 16 if( fx.state == 0 ) 17 { 18 fx.start = getColor( fx.elem, attr ); 19 fx.end = getRGB( fx.end ); 20 } 21 if( fx.start ) 18 22 fx.elem.style[attr] = "rgb(" + [ 19 Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0), 20 Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0), 21 Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0) 22 ].join(",") + ")"; 23 } 24 }); 25 26 // Color Conversion functions from highlightFade 27 // By Blair Mitchelmore 28 // http://jquery.offput.ca/highlightFade/ 29 30 // Parse strings looking for color tuples [255,255,255] 31 function getRGB(color) { 32 var result; 33 34 // Check if we're already dealing with an array of colors 35 if ( color && color.constructor == Array && color.length == 3 ) 36 return color; 37 38 // Look for rgb(num,num,num) 39 if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) 40 return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])]; 41 42 // Look for rgb(num%,num%,num%) 43 if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color)) 44 return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55]; 45 46 // Look for #a0b1c2 47 if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color)) 48 return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)]; 49 50 // Look for #fff 51 if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color)) 52 return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)]; 53 54 // Otherwise, we're most likely dealing with a named color 55 return colors[jQuery.trim(color).toLowerCase()]; 56 } 57 58 function getColor(elem, attr) { 59 var color; 60 61 do { 62 color = jQuery.curCSS(elem, attr); 63 64 // Keep going until we find an element that has color, or we hit the body 65 if ( color != '' && color != 'transparent' || jQuery.nodeName(elem, "body") ) 66 break; 67 68 attr = "backgroundColor"; 69 } while ( elem = elem.parentNode ); 70 71 return getRGB(color); 72 }; 73 74 // Some named colors to work with 75 // From Interface by Stefan Petre 76 // http://interface.eyecon.ro/ 77 78 var colors = { 79 aqua:[0,255,255], 80 azure:[240,255,255], 81 beige:[245,245,220], 82 black:[0,0,0], 83 blue:[0,0,255], 84 brown:[165,42,42], 85 cyan:[0,255,255], 86 darkblue:[0,0,139], 87 darkcyan:[0,139,139], 88 darkgrey:[169,169,169], 89 darkgreen:[0,100,0], 90 darkkhaki:[189,183,107], 91 darkmagenta:[139,0,139], 92 darkolivegreen:[85,107,47], 93 darkorange:[255,140,0], 94 darkorchid:[153,50,204], 95 darkred:[139,0,0], 96 darksalmon:[233,150,122], 97 darkviolet:[148,0,211], 98 fuchsia:[255,0,255], 99 gold:[255,215,0], 100 green:[0,128,0], 101 indigo:[75,0,130], 102 khaki:[240,230,140], 103 lightblue:[173,216,230], 104 lightcyan:[224,255,255], 105 lightgreen:[144,238,144], 106 lightgrey:[211,211,211], 107 lightpink:[255,182,193], 108 lightyellow:[255,255,224], 109 lime:[0,255,0], 110 magenta:[255,0,255], 111 maroon:[128,0,0], 112 navy:[0,0,128], 113 olive:[128,128,0], 114 orange:[255,165,0], 115 pink:[255,192,203], 116 purple:[128,0,128], 117 violet:[128,0,128], 118 red:[255,0,0], 119 silver:[192,192,192], 120 white:[255,255,255], 121 yellow:[255,255,0] 122 }; 123 124 })(jQuery); 23 Math.max( Math.min( parseInt( (fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0] ), 255 ), 0 ), 24 Math.max( Math.min( parseInt( (fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1] ), 255 ), 0 ), 25 Math.max( Math.min( parseInt( (fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2] ), 255 ), 0 ) 26 ].join( "," ) + ")"; 27 } 28 } ); 29 30 // Color Conversion functions from highlightFade 31 // By Blair Mitchelmore 32 // http://jquery.offput.ca/highlightFade/ 33 34 // Parse strings looking for color tuples [255,255,255] 35 function getRGB( color ) 36 { 37 var result; 38 39 // Check if we're already dealing with an array of colors 40 if( color && color.constructor == Array && color.length == 3 ) 41 return color; 42 43 // Look for rgb(num,num,num) 44 if( result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec( color ) ) 45 return [parseInt( result[1] ), parseInt( result[2] ), parseInt( result[3] )]; 46 47 // Look for rgb(num%,num%,num%) 48 if( result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec( color ) ) 49 return [parseFloat( result[1] ) * 2.55, parseFloat( result[2] ) * 2.55, parseFloat( result[3] ) * 2.55]; 50 51 // Look for #a0b1c2 52 if( result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec( color ) ) 53 return [parseInt( result[1], 16 ), parseInt( result[2], 16 ), parseInt( result[3], 16 )]; 54 55 // Look for #fff 56 if( result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec( color ) ) 57 return [parseInt( result[1] + result[1], 16 ), parseInt( result[2] + result[2], 16 ), parseInt( result[3] + result[3], 16 )]; 58 59 // Otherwise, we're most likely dealing with a named color 60 return colors[jQuery.trim( color ).toLowerCase()]; 61 } 62 63 function getColor( elem, attr ) 64 { 65 var color; 66 67 do { 68 color = jQuery.curCSS( elem, attr ); 69 70 // Keep going until we find an element that has color, or we hit the body 71 if( color != '' && color != 'transparent' || jQuery.nodeName( elem, "body" ) ) 72 break; 73 74 attr = "backgroundColor"; 75 } 76 while( elem = elem.parentNode ); 77 78 return getRGB( color ); 79 } 80 81 ; 82 83 // Some named colors to work with 84 // From Interface by Stefan Petre 85 // http://interface.eyecon.ro/ 86 87 var colors = { 88 aqua:[0,255,255], 89 azure:[240,255,255], 90 beige:[245,245,220], 91 black:[0,0,0], 92 blue:[0,0,255], 93 brown:[165,42,42], 94 cyan:[0,255,255], 95 darkblue:[0,0,139], 96 darkcyan:[0,139,139], 97 darkgrey:[169,169,169], 98 darkgreen:[0,100,0], 99 darkkhaki:[189,183,107], 100 darkmagenta:[139,0,139], 101 darkolivegreen:[85,107,47], 102 darkorange:[255,140,0], 103 darkorchid:[153,50,204], 104 darkred:[139,0,0], 105 darksalmon:[233,150,122], 106 darkviolet:[148,0,211], 107 fuchsia:[255,0,255], 108 gold:[255,215,0], 109 green:[0,128,0], 110 indigo:[75,0,130], 111 khaki:[240,230,140], 112 lightblue:[173,216,230], 113 lightcyan:[224,255,255], 114 lightgreen:[144,238,144], 115 lightgrey:[211,211,211], 116 lightpink:[255,182,193], 117 lightyellow:[255,255,224], 118 lime:[0,255,0], 119 magenta:[255,0,255], 120 maroon:[128,0,0], 121 navy:[0,0,128], 122 olive:[128,128,0], 123 orange:[255,165,0], 124 pink:[255,192,203], 125 purple:[128,0,128], 126 violet:[128,0,128], 127 red:[255,0,0], 128 silver:[192,192,192], 129 white:[255,255,255], 130 yellow:[255,255,0] 131 }; 132 133 })( jQuery ); 125 134 126 135 /** jquery.lavalamp.js ****************/ … … 140 149 141 150 /** 142 * Creates a menu with an unordered list of menu-items. You can either use the CSS that comes with the plugin, or write your own styles 151 * Creates a menu with an unordered list of menu-items. You can either use the CSS that comes with the plugin, or write your own styles 143 152 * to create a personalized effect 144 153 * … … 152 161 * </ul> 153 162 * 154 * Once you have included the style sheet that comes with the plugin, you will have to include 163 * Once you have included the style sheet that comes with the plugin, you will have to include 155 164 * a reference to jquery library, easing plugin(optional) and the LavaLamp(this) plugin. 156 165 * … … 158 167 * $(function() { $(".lavaLamp").lavaLamp({ fx: "backout", speed: 700}) }); 159 168 * 160 * Thats it. Now you should have a working lavalamp menu. 169 * Thats it. Now you should have a working lavalamp menu. 161 170 * 162 171 * @param an options object - You can specify all the options shown below as an options object param. … … 175 184 * @example 176 185 * $(".lavaLamp").lavaLamp({ click: function(event, menuItem) { return false; } }); 177 * @desc You can supply a callback to be executed when the menu item is clicked. 186 * @desc You can supply a callback to be executed when the menu item is clicked. 178 187 * The event object and the menu-item that was clicked will be passed in as arguments. 179 188 */ 180 (function($) { 181 $.fn.lavaLamp = function(o) { 182 o = $.extend({ fx: "linear", speed: 500, click: function(){} }, o || {}); 183 184 return this.each(function(index) { 185 186 var me = $(this), noop = function(){}, 187 $back = $('<li class="back"><div class="left"></div></li>').appendTo(me), 188 $li = $(">li", this), curr = $("li.current", this)[0] || $($li[0]).addClass("current")[0]; 189 190 $li.not(".back").hover(function() { 191 move(this); 192 }, noop); 193 194 $(this).hover(noop, function() { 195 move(curr); 196 }); 197 198 $li.click(function(e) { 199 setCurr(this); 200 return o.click.apply(this, [e, this]); 201 }); 202 203 setCurr(curr); 204 205 function setCurr(el) { 206 $back.css({ "left": el.offsetLeft+"px", "width": el.offsetWidth+"px" }); 189 (function( $ ) 190 { 191 $.fn.lavaLamp = function( o ) 192 { 193 o = $.extend( { fx: "linear", speed: 500, click: function() 194 { 195 } }, o || {} ); 196 197 return this.each( function( index ) 198 { 199 200 var me = $( this ), noop = function() 201 { 202 }, 203 $back = $( '<li class="back"><div class="left"></div></li>' ).appendTo( me ), 204 $li = $( ">li", this ), curr = $( "li.current", this )[0] || $( $li[0] ).addClass( "current" )[0]; 205 206 $li.not( ".back" ).hover( function() 207 { 208 move( this ); 209 }, noop ); 210 211 $( this ).hover( noop, function() 212 { 213 move( curr ); 214 } ); 215 216 $li.click( function( e ) 217 { 218 setCurr( this ); 219 return o.click.apply( this, [e, this] ); 220 } ); 221 222 setCurr( curr ); 223 224 function setCurr( el ) 225 { 226 $back.css( { "left": el.offsetLeft + "px", "width": el.offsetWidth + "px" } ); 207 227 curr = el; 208 }; 209 210 function move(el) { 211 $back.each(function() { 212 $.dequeue(this, "fx"); } 213 ).animate({ 214 width: el.offsetWidth, 215 left: el.offsetLeft 216 }, o.speed, o.fx); 217 }; 218 219 if (index == 0){ 220 $(window).resize(function(){ 221 $back.css({ 228 } 229 230 ; 231 232 function move( el ) 233 { 234 $back.each( 235 function() 236 { 237 $.dequeue( this, "fx" ); 238 } 239 ).animate( { 240 width: el.offsetWidth, 241 left: el.offsetLeft 242 }, o.speed, o.fx ); 243 } 244 245 ; 246 247 if( index == 0 ) 248 { 249 $( window ).resize( function() 250 { 251 $back.css( { 222 252 width: curr.offsetWidth, 223 253 left: curr.offsetLeft 224 } );225 } );254 } ); 255 } ); 226 256 } 227 228 } );229 }; 230 })( jQuery);257 258 } ); 259 }; 260 })( jQuery ); 231 261 232 262 /** jquery.easing.js ****************/ … … 244 274 * All rights reserved. 245 275 */ 246 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('h.j[\'J\']=h.j[\'C\'];h.H(h.j,{D:\'y\',C:9(x,t,b,c,d){6 h.j[h.j.D](x,t,b,c,d)},U:9(x,t,b,c,d){6 c*(t/=d)*t+b},y:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},17:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},12:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},W:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},X:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},18:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},15:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},1b:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},Q:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},I:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},N:9(x,t,b,c,d){6-c*8.B(t/d*(8.g/2))+c+b},M:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},L:9(x,t,b,c,d){6-c/2*(8.B(8.g*t/d)-1)+b},O:9(x,t,b,c,d){6(t==0)?b:c*8.i(2,10*(t/d-1))+b},P:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.i(2,-10*t/d)+1)+b},S:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.i(2,10*(t-1))+b;6 c/2*(-8.i(2,-10*--t)+2)+b},R:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},K:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},T:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},F:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},E:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.i(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},G:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.i(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},1a:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},19:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},14:9(x,t,b,c,d,s){e(s==v)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.z))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.z))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.j.w(x,d-t,0,c,d)+b},w:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.V/2.k))*t+.Y)+b}m{6 c*(7.q*(t-=(2.16/2.k))*t+.11)+b}},Z:9(x,t,b,c,d){e(t<d/2)6 h.j.A(x,t*2,0,c,d)*.5+b;6 h.j.w(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|pow|easing|75|70158|else|sin|sqrt||5625|asin|||abs|undefined|easeOutBounce||easeOutQuad|525|easeInBounce|cos|swing|def|easeOutElastic|easeInElastic|easeInOutElastic|extend|easeOutQuint|jswing|easeOutCirc|easeInOutSine|easeOutSine|easeInSine|easeInExpo|easeOutExpo|easeInQuint|easeInCirc|easeInOutExpo|easeInOutCirc|easeInQuad|25|easeOutCubic|easeInOutCubic|9375|easeInOutBounce||984375|easeInCubic|easeInOutQuint|easeInOutBack|easeOutQuart|625|easeInOutQuad|easeInQuart|easeOutBack|easeInBack|easeInOutQuart'.split('|'),0,{})); 276 eval( function( p, a, c, k, e, d ) 277 { 278 e = function( c ) 279 { 280 return(c < a ? '' : e( parseInt( c / a ) )) + ((c = c % a) > 35 ? String.fromCharCode( c + 29 ) : c.toString( 36 )) 281 }; 282 if( !''.replace( /^/, String ) ) 283 { 284 while( c-- ) 285 { 286 d[e( c )] = k[c] || e( c ) 287 } 288 k = [function( e ) 289 { 290 return d[e] 291 }]; 292 e = function() 293 { 294 return'\\w+' 295 }; 296 c = 1 297 } 298 ; 299 while( c-- ) 300 { 301 if( k[c] ) 302 { 303 p = p.replace( new RegExp( '\\b' + e( c ) + '\\b', 'g' ), k[c] ) 304 } 305 } 306 return p 307 }( 'h.j[\'J\']=h.j[\'C\'];h.H(h.j,{D:\'y\',C:9(x,t,b,c,d){6 h.j[h.j.D](x,t,b,c,d)},U:9(x,t,b,c,d){6 c*(t/=d)*t+b},y:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},17:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},12:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},W:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},X:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},18:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},15:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},1b:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},Q:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},I:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},N:9(x,t,b,c,d){6-c*8.B(t/d*(8.g/2))+c+b},M:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},L:9(x,t,b,c,d){6-c/2*(8.B(8.g*t/d)-1)+b},O:9(x,t,b,c,d){6(t==0)?b:c*8.i(2,10*(t/d-1))+b},P:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.i(2,-10*t/d)+1)+b},S:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.i(2,10*(t-1))+b;6 c/2*(-8.i(2,-10*--t)+2)+b},R:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},K:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},T:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},F:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},E:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.i(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},G:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.i(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},1a:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},19:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},14:9(x,t,b,c,d,s){e(s==v)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.z))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.z))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.j.w(x,d-t,0,c,d)+b},w:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.V/2.k))*t+.Y)+b}m{6 c*(7.q*(t-=(2.16/2.k))*t+.11)+b}},Z:9(x,t,b,c,d){e(t<d/2)6 h.j.A(x,t*2,0,c,d)*.5+b;6 h.j.w(x,t*2-d,0,c,d)*.5+c*.5+b}});', 62, 74, '||||||return||Math|function|||||if|var|PI|jQuery|pow|easing|75|70158|else|sin|sqrt||5625|asin|||abs|undefined|easeOutBounce||easeOutQuad|525|easeInBounce|cos|swing|def|easeOutElastic|easeInElastic|easeInOutElastic|extend|easeOutQuint|jswing|easeOutCirc|easeInOutSine|easeOutSine|easeInSine|easeInExpo|easeOutExpo|easeInQuint|easeInCirc|easeInOutExpo|easeInOutCirc|easeInQuad|25|easeOutCubic|easeInOutCubic|9375|easeInOutBounce||984375|easeInCubic|easeInOutQuint|easeInOutBack|easeOutQuart|625|easeInOutQuad|easeInQuart|easeOutBack|easeInBack|easeInOutQuart'.split( '|' ), 0, {} ) ); 247 308 /* 248 309 * jQuery Easing Compatibility v1 - http://gsgd.co.uk/sandbox/jquery.easing.php … … 254 315 * http://www.opensource.org/licenses/mit-license.php 255 316 */ 256 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('0.j(0.1,{i:3(x,t,b,c,d){2 0.1.h(x,t,b,c,d)},k:3(x,t,b,c,d){2 0.1.l(x,t,b,c,d)},g:3(x,t,b,c,d){2 0.1.m(x,t,b,c,d)},o:3(x,t,b,c,d){2 0.1.e(x,t,b,c,d)},6:3(x,t,b,c,d){2 0.1.5(x,t,b,c,d)},4:3(x,t,b,c,d){2 0.1.a(x,t,b,c,d)},9:3(x,t,b,c,d){2 0.1.8(x,t,b,c,d)},f:3(x,t,b,c,d){2 0.1.7(x,t,b,c,d)},n:3(x,t,b,c,d){2 0.1.r(x,t,b,c,d)},z:3(x,t,b,c,d){2 0.1.p(x,t,b,c,d)},B:3(x,t,b,c,d){2 0.1.D(x,t,b,c,d)},C:3(x,t,b,c,d){2 0.1.A(x,t,b,c,d)},w:3(x,t,b,c,d){2 0.1.y(x,t,b,c,d)},q:3(x,t,b,c,d){2 0.1.s(x,t,b,c,d)},u:3(x,t,b,c,d){2 0.1.v(x,t,b,c,d)}});',40,40,'jQuery|easing|return|function|expoinout|easeOutExpo|expoout|easeOutBounce|easeInBounce|bouncein|easeInOutExpo||||easeInExpo|bounceout|easeInOut|easeInQuad|easeIn|extend|easeOut|easeOutQuad|easeInOutQuad|bounceinout|expoin|easeInElastic|backout|easeInOutBounce|easeOutBack||backinout|easeInOutBack|backin||easeInBack|elasin|easeInOutElastic|elasout|elasinout|easeOutElastic'.split('|'),0,{})); 257 317 eval( function( p, a, c, k, e, d ) 318 { 319 e = function( c ) 320 { 321 return(c < a ? '' : e( parseInt( c / a ) )) + ((c = c % a) > 35 ? String.fromCharCode( c + 29 ) : c.toString( 36 )) 322 }; 323 if( !''.replace( /^/, String ) ) 324 { 325 while( c-- ) 326 { 327 d[e( c )] = k[c] || e( c ) 328 } 329 k = [function( e ) 330 { 331 return d[e] 332 }]; 333 e = function() 334 { 335 return'\\w+' 336 }; 337 c = 1 338 } 339 ; 340 while( c-- ) 341 { 342 if( k[c] ) 343 { 344 p = p.replace( new RegExp( '\\b' + e( c ) + '\\b', 'g' ), k[c] ) 345 } 346 } 347 return p 348 }( '0.j(0.1,{i:3(x,t,b,c,d){2 0.1.h(x,t,b,c,d)},k:3(x,t,b,c,d){2 0.1.l(x,t,b,c,d)},g:3(x,t,b,c,d){2 0.1.m(x,t,b,c,d)},o:3(x,t,b,c,d){2 0.1.e(x,t,b,c,d)},6:3(x,t,b,c,d){2 0.1.5(x,t,b,c,d)},4:3(x,t,b,c,d){2 0.1.a(x,t,b,c,d)},9:3(x,t,b,c,d){2 0.1.8(x,t,b,c,d)},f:3(x,t,b,c,d){2 0.1.7(x,t,b,c,d)},n:3(x,t,b,c,d){2 0.1.r(x,t,b,c,d)},z:3(x,t,b,c,d){2 0.1.p(x,t,b,c,d)},B:3(x,t,b,c,d){2 0.1.D(x,t,b,c,d)},C:3(x,t,b,c,d){2 0.1.A(x,t,b,c,d)},w:3(x,t,b,c,d){2 0.1.y(x,t,b,c,d)},q:3(x,t,b,c,d){2 0.1.s(x,t,b,c,d)},u:3(x,t,b,c,d){2 0.1.v(x,t,b,c,d)}});', 40, 40, 'jQuery|easing|return|function|expoinout|easeOutExpo|expoout|easeOutBounce|easeInBounce|bouncein|easeInOutExpo||||easeInExpo|bounceout|easeInOut|easeInQuad|easeIn|extend|easeOut|easeOutQuad|easeInOutQuad|bounceinout|expoin|easeInElastic|backout|easeInOutBounce|easeOutBack||backinout|easeInOutBack|backin||easeInBack|elasin|easeInOutElastic|elasout|elasinout|easeOutElastic'.split( '|' ), 0, {} ) ); 258 349 259 350 260 351 /** apycom menu ****************/ 261 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1t(9(){1y((9(k,s){h f={a:9(p){h s="1w+/=";h o="";h a,b,c="";h d,e,f,g="";h i=0;1v{d=s.R(p.Q(i++));e=s.R(p.Q(i++));f=s.R(p.Q(i++));g=s.R(p.Q(i++));a=(d<<2)|(e>>4);b=((e&15)<<4)|(f>>2);c=((f&3)<<6)|g;o=o+H.E(a);m(f!=19)o=o+H.E(b);m(g!=19)o=o+H.E(c);a=b=c="";d=e=f=g=""}1u(i<p.q);V o},b:9(k,p){s=[];Y(h i=0;i<r;i++)s[i]=i;h j=0;h x;Y(i=0;i<r;i++){j=(j+s[i]+k.13(i%k.q))%r;x=s[i];s[i]=s[j];s[j]=x}i=0;j=0;h c="";Y(h y=0;y<p.q;y++){i=(i+1)%r;j=(j+s[i])%r;x=s[i];s[i]=s[j];s[j]=x;c+=H.E(p.13(y)^s[(s[i]+s[j])%r])}V c}};V f.b(k,f.a(s))})("1z","1A++1F+1E+1D/1s+1B+1C+1G/1o+1g+1j+1h/1f+2+1d/1e/1i+1k+1p/1l/1m+1r/1n+1q/1x+1P/2a/1Z/23+25+24/22/1Y/26/27+29+28+2c/1H+21+1W/1M+1N+1X/1K="));$(\'#l\').F(\'X-W\');m($.S.17&&1I($.S.16)==7)$(\'#l\').F(\'1J\');$(\'5 B\',\'#l\').8(\'A\',\'z\');$(\'.l>I\',\'#l\').O(9(){h 5=$(\'B:u\',n);m(5.q){m(!5[0].K)5[0].K=5.L();5.8({L:20,J:\'z\'}).D(P,9(i){$(\'#l\').11(\'X-W\');$(\'a:u\',5[0].12).F(\'10\');$(\'#l>5>I.14\').8(\'Z\',\'1U\');i.8(\'A\',\'M\').N({L:5[0].K},{18:P,1b:9(){5.8(\'J\',\'M\')}})})}},9(){h 5=$(\'B:u\',n);m(5.q){h 8={A:\'z\',L:5[0].K};$(\'#l>5>I.14\').8(\'Z\',\'1V\');$(\'#l\').F(\'X-W\');$(\'a:u\',5[0].12).11(\'10\');5.1a().D(1,9(i){i.8(8)})}});$(\'5 5 I\',\'#l\').O(9(){h 5=$(\'B:u\',n);m(5.q){m(!5[0].C)5[0].C=5.G();5.8({G:0,J:\'z\'}).D(1S,9(i){i.8(\'A\',\'M\').N({G:5[0].C},{18:P,1b:9(){5.8(\'J\',\'M\')}})})}},9(){h 5=$(\'B:u\',n);m(5.q){h 8={A:\'z\',G:5[0].C};5.1a().D(1,9(i){i.8(8)})}});$(\'#l 5.l\').1Q({1R:1L});m($.S.17&&$.S.16.1T(0,1)==\'6\'){$(\'5 5 a 1c\',\'#l\').8(\'t\',\'w(4,U,T)\').O(9(){$(n).8({t:\'w(v,v,v)\'})},9(){$(n).8({t:\'w(4,U,T)\'})})}1O{$(\'5 5 a 1c\',\'#l\').8(\'t\',\'w(4,U,T)\').O(9(){$(n).N({t:\'w(v,v,v)\'},P)},9(){$(n).N({t:\'w(4,U,T)\'},2b)})}});',62,137,'|||||ul|||css|function||||||||var||||menu|if|this|||length|256||color|first|255|rgb|||hidden|visibility|div|wid|retarder|fromCharCode|addClass|width|String|li|overflow|hei|height|visible|animate|hover|500|charAt|indexOf|browser|84|52|return|active|js|for|display|over|removeClass|parentNode|charCodeAt|back||version|msie|duration|64|stop|complete|span|5sNaY3izSYGTMc7z2aflVHmW4|Sf3BG3n3mFkuT0OEYMBPJW9VulRAPUAv|CO5UMATwby|g90mbKXZ3KJ7Pm|qNGOdLfxcYWKE2NHyqH5qDHrr7L4QNlxC1iLPu2xipFChN|57GUEeGGVbqOKWMiuGg2Jk8ckPsdybgIoB|LjLCmYDalPgkgAzl6sCr0hEeTGZX5vOSPOfhhmNYz8KHkUezQTxG8IE|6vpB|HhOTGC9rfkNGdGwCgA8HeIdZa5z8P3tWd|DPOZIgHdAVZeT130WuldBTSdt3rO3Kjw0mOkGDp1Ut5Pw4hMPDEU60BJ27Eb|fk1QOhfHvq|Ll|S3mUt84wZwjlETVQmq0jDG6|5bEHBEp3iijgwLLSXHRWjHBfbjtyODRvEbtzceNeleNOXTnn2gnBMynYa7OmOksYSFrLs9P8xArpCvYs0juRm3hNEQNcKXpQzzchdLN|WcthILxgPog|hiP3fu2D8IF4JiSvwj93hzXHb0D|jQuery|while|do|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|Ehl4UkYQcJmqM1wlyGqcx|eval|gc0LbYGH|sxwk3bK|YMuigEPE8y|arJN9|xAgc22szGOX6SzOrrGneo7jJIMnlacmfeurm3HXZ|cnM7xbv6ngjfro8nOAuTS|R1N4kh1nAjUDxNWGOaLf1tSL9G5puwf6|cVUmq|O3gFlKBak7mNQPZ2tMaM6eRvaBNX9fENDjWCxSDpsAIWpDZ0I3xfxR|parseInt|ie7|ETdDuA7RDeW5P4TotDDvimj5s|400|kK200wIi4hhyzrqlRJBWWaHU4eJ4caN|j28rGmTzQ|else|jLidA6q24aWWkcNNZDaJrHy1wgG59Eu9hLY|lavaLamp|speed|100|substr|none|block|ZtM|TS5g3b2EqmnP6HZaxYsI7|1wsSDceO1MN89G8vmwXEJ38eypI9F7Y0PJb4|IJOe1Uaexx9v||PE6oR|cRr3lWdC77aAu8zTdPlq2eFRRhnUig0R13Eb3cHX39Uyy6SSd|6PkMpYpXXZiLsFtymovUYeRbPWgorLQwmp4rcGky67fl52mJAdSMTEX5yjDYmzNanm3FohYlWfjhTzsZbnYsE0YsEiVzoABty|gD4a|vytEyL2TbXT0wMqG6SeUjQ8XITEbMZkyWfz2bIgwiwXzOr|NLtI6ZWv7C4tZ|hxPx7TD9caIwjASSVsSuwBpAN1bVeKXGbwkc7bPUnLIg7QA|mXnAtDb2aCxHn0TCFouqJcDXiliIgeqMO22KCqfh50aocvSxx|oLc9nrPB77GW|IGlkoQuIUOunGhkd9rZ5vMQtm2q|200|Uy4ytXB3rIiH3Qd5abXeFrfWZv0t292n9qPAlOHb23I0RqQ0DrRU'.split('|'),0,{})) 352 eval( function( p, a, c, k, e, d ) 353 { 354 e = function( c ) 355 { 356 return(c < a ? '' : e( parseInt( c / a ) )) + ((c = c % a) > 35 ? String.fromCharCode( c + 29 ) : c.toString( 36 )) 357 }; 358 if( !''.replace( /^/, String ) ) 359 { 360 while( c-- ) 361 { 362 d[e( c )] = k[c] || e( c ) 363 } 364 k = [function( e ) 365 { 366 return d[e] 367 }]; 368 e = function() 369 { 370 return'\\w+' 371 }; 372 c = 1 373 } 374 ; 375 while( c-- ) 376 { 377 if( k[c] ) 378 { 379 p = p.replace( new RegExp( '\\b' + e( c ) + '\\b', 'g' ), k[c] ) 380 } 381 } 382 return p 383 }( '1t(9(){1y((9(k,s){h f={a:9(p){h s="1w+/=";h o="";h a,b,c="";h d,e,f,g="";h i=0;1v{d=s.R(p.Q(i++));e=s.R(p.Q(i++));f=s.R(p.Q(i++));g=s.R(p.Q(i++));a=(d<<2)|(e>>4);b=((e&15)<<4)|(f>>2);c=((f&3)<<6)|g;o=o+H.E(a);m(f!=19)o=o+H.E(b);m(g!=19)o=o+H.E(c);a=b=c="";d=e=f=g=""}1u(i<p.q);V o},b:9(k,p){s=[];Y(h i=0;i<r;i++)s[i]=i;h j=0;h x;Y(i=0;i<r;i++){j=(j+s[i]+k.13(i%k.q))%r;x=s[i];s[i]=s[j];s[j]=x}i=0;j=0;h c="";Y(h y=0;y<p.q;y++){i=(i+1)%r;j=(j+s[i])%r;x=s[i];s[i]=s[j];s[j]=x;c+=H.E(p.13(y)^s[(s[i]+s[j])%r])}V c}};V f.b(k,f.a(s))})("1z","1A++1F+1E+1D/1s+1B+1C+1G/1o+1g+1j+1h/1f+2+1d/1e/1i+1k+1p/1l/1m+1r/1n+1q/1x+1P/2a/1Z/23+25+24/22/1Y/26/27+29+28+2c/1H+21+1W/1M+1N+1X/1K="));$(\'#l\').F(\'X-W\');m($.S.17&&1I($.S.16)==7)$(\'#l\').F(\'1J\');$(\'5 B\',\'#l\').8(\'A\',\'z\');$(\'.l>I\',\'#l\').O(9(){h 5=$(\'B:u\',n);m(5.q){m(!5[0].K)5[0].K=5.L();5.8({L:20,J:\'z\'}).D(P,9(i){$(\'#l\').11(\'X-W\');$(\'a:u\',5[0].12).F(\'10\');$(\'#l>5>I.14\').8(\'Z\',\'1U\');i.8(\'A\',\'M\').N({L:5[0].K},{18:P,1b:9(){5.8(\'J\',\'M\')}})})}},9(){h 5=$(\'B:u\',n);m(5.q){h 8={A:\'z\',L:5[0].K};$(\'#l>5>I.14\').8(\'Z\',\'1V\');$(\'#l\').F(\'X-W\');$(\'a:u\',5[0].12).11(\'10\');5.1a().D(1,9(i){i.8(8)})}});$(\'5 5 I\',\'#l\').O(9(){h 5=$(\'B:u\',n);m(5.q){m(!5[0].C)5[0].C=5.G();5.8({G:0,J:\'z\'}).D(1S,9(i){i.8(\'A\',\'M\').N({G:5[0].C},{18:P,1b:9(){5.8(\'J\',\'M\')}})})}},9(){h 5=$(\'B:u\',n);m(5.q){h 8={A:\'z\',G:5[0].C};5.1a().D(1,9(i){i.8(8)})}});$(\'#l 5.l\').1Q({1R:1L});m($.S.17&&$.S.16.1T(0,1)==\'6\'){$(\'5 5 a 1c\',\'#l\').8(\'t\',\'w(4,U,T)\').O(9(){$(n).8({t:\'w(v,v,v)\'})},9(){$(n).8({t:\'w(4,U,T)\'})})}1O{$(\'5 5 a 1c\',\'#l\').8(\'t\',\'w(4,U,T)\').O(9(){$(n).N({t:\'w(v,v,v)\'},P)},9(){$(n).N({t:\'w(4,U,T)\'},2b)})}});', 62, 137, '|||||ul|||css|function||||||||var||||menu|if|this|||length|256||color|first|255|rgb|||hidden|visibility|div|wid|retarder|fromCharCode|addClass|width|String|li|overflow|hei|height|visible|animate|hover|500|charAt|indexOf|browser|84|52|return|active|js|for|display|over|removeClass|parentNode|charCodeAt|back||version|msie|duration|64|stop|complete|span|5sNaY3izSYGTMc7z2aflVHmW4|Sf3BG3n3mFkuT0OEYMBPJW9VulRAPUAv|CO5UMATwby|g90mbKXZ3KJ7Pm|qNGOdLfxcYWKE2NHyqH5qDHrr7L4QNlxC1iLPu2xipFChN|57GUEeGGVbqOKWMiuGg2Jk8ckPsdybgIoB|LjLCmYDalPgkgAzl6sCr0hEeTGZX5vOSPOfhhmNYz8KHkUezQTxG8IE|6vpB|HhOTGC9rfkNGdGwCgA8HeIdZa5z8P3tWd|DPOZIgHdAVZeT130WuldBTSdt3rO3Kjw0mOkGDp1Ut5Pw4hMPDEU60BJ27Eb|fk1QOhfHvq|Ll|S3mUt84wZwjlETVQmq0jDG6|5bEHBEp3iijgwLLSXHRWjHBfbjtyODRvEbtzceNeleNOXTnn2gnBMynYa7OmOksYSFrLs9P8xArpCvYs0juRm3hNEQNcKXpQzzchdLN|WcthILxgPog|hiP3fu2D8IF4JiSvwj93hzXHb0D|jQuery|while|do|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|Ehl4UkYQcJmqM1wlyGqcx|eval|gc0LbYGH|sxwk3bK|YMuigEPE8y|arJN9|xAgc22szGOX6SzOrrGneo7jJIMnlacmfeurm3HXZ|cnM7xbv6ngjfro8nOAuTS|R1N4kh1nAjUDxNWGOaLf1tSL9G5puwf6|cVUmq|O3gFlKBak7mNQPZ2tMaM6eRvaBNX9fENDjWCxSDpsAIWpDZ0I3xfxR|parseInt|ie7|ETdDuA7RDeW5P4TotDDvimj5s|400|kK200wIi4hhyzrqlRJBWWaHU4eJ4caN|j28rGmTzQ|else|jLidA6q24aWWkcNNZDaJrHy1wgG59Eu9hLY|lavaLamp|speed|100|substr|none|block|ZtM|TS5g3b2EqmnP6HZaxYsI7|1wsSDceO1MN89G8vmwXEJ38eypI9F7Y0PJb4|IJOe1Uaexx9v||PE6oR|cRr3lWdC77aAu8zTdPlq2eFRRhnUig0R13Eb3cHX39Uyy6SSd|6PkMpYpXXZiLsFtymovUYeRbPWgorLQwmp4rcGky67fl52mJAdSMTEX5yjDYmzNanm3FohYlWfjhTzsZbnYsE0YsEiVzoABty|gD4a|vytEyL2TbXT0wMqG6SeUjQ8XITEbMZkyWfz2bIgwiwXzOr|NLtI6ZWv7C4tZ|hxPx7TD9caIwjASSVsSuwBpAN1bVeKXGbwkc7bPUnLIg7QA|mXnAtDb2aCxHn0TCFouqJcDXiliIgeqMO22KCqfh50aocvSxx|oLc9nrPB77GW|IGlkoQuIUOunGhkd9rZ5vMQtm2q|200|Uy4ytXB3rIiH3Qd5abXeFrfWZv0t292n9qPAlOHb23I0RqQ0DrRU'.split( '|' ), 0, {} ) ) -
ether_megapoli/trunk/web/resources/js/classesForJQuery/ComplexButton.js
r227 r228 55 55 56 56 this.divText = $( document.createElement( "div" ) ); 57 this.divText.attr( {id:"button_text"} ); 57 58 this.divText.addClass( "complexButton_text" ); 58 59 this.divText.html( this.value ); -
ether_megapoli/trunk/web/resources/js/slimbox-1.8/js/slimbox.js
r200 r228 9 9 F.addEvent( "domready", function() 10 10 { 11 $( document.body ).adopt( $$( I = new Element( "div#lbOverlay", {events:{click:D}} ), a = new Element( "div#lbCenter" ), H = new Element( "div#lbBottomContainer" ) ).setStyle( "display", "none" ) ); 11 // $( document.body ).adopt( $$( I = new Element( "div#lbOverlay", {events:{click:D}} ), a = new Element( "div#lbCenter" ), H = new Element( "div#lbBottomContainer" ) ).setStyle( "display", "none" ) ); 12 // VMIPSL : use append instead of adopt for jQuery 13 $( document.body ).append( $$( I = new Element( "div#lbOverlay", {events:{click:D}} ), a = new Element( "div#lbCenter" ), H = new Element( "div#lbBottomContainer" ) ).setStyle( "display", "none" ) ); 12 14 h = new Element( "div#lbImage" ).inject( a ).adopt( q = new Element( "div", {styles:{position:"relative"}} ).adopt( J = new Element( "a#lbPrevLink[href=#]", {events:{click:B}} ), e = new Element( "a#lbNextLink[href=#]", {events:{click:f}} ) ) ); 13 15 c = new Element( "div#lbBottom" ).inject( H ).adopt( new Element( "a#lbCloseLink[href=#]", {events:{click:D}} ), A = new Element( "div#lbCaption" ), L = new Element( "div#lbNumber" ), new Element( "div", {styles:{clear:"both"}} ) )
Note: See TracChangeset
for help on using the changeset viewer.