Blog

Story from us


Duis aute irure dolor reprehenderit

Обзоры гаджетов, техники и высоких технологий

K.options={animSequence:"sync",counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:" 000",overlayOpacity:0.5,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]};K.init=function(){S.appendHTML(document.body,sprintf(K.markup,S.lang));K.body=get("sb-body-inner");container=get("sb-container");overlay=get("sb-overlay");wrapper=get("sb-wrapper");if(!supportsFixed) container.style.position="absolute";if(!supportsOpacity){var el,m,re=/url("(.*.png)")/;each(pngIds,function(i,id){el=get(id);if(el){m=S.getStyle(el,"backgroundImage").match(re);if(m){el.style.backgroundImage="none";el.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+ m[1]+",sizingMethod=scale);";}}});} var timer;addEvent(window,"resize",function(){if(timer){clearTimeout(timer);timer=null;} if(open) timer=setTimeout(K.onWindowResize,10);});} K.onOpen=function(obj,callback){doWindowResize=false;container.style.display="block";setSize();var dims=setDimensions(S.options.initialHeight,S.options.initialWidth);adjustHeight(dims.innerHeight,dims.top);adjustWidth(dims.width,dims.left);if(S.options.showOverlay){overlay.style.backgroundColor=S.options.overlayColor;S.setOpacity(overlay,0);if(!S.options.modal) addEvent(overlay,"click",S.close);overlayOn=true;} if(!supportsFixed){setPosition();addEvent(window,"scroll",setPosition);} toggleTroubleElements();container.style.visibility="visible";if(overlayOn){animate(overlay,"opacity",S.options.overlayOpacity,S.options.fadeDuration,callback);}else{callback();}} K.onLoad=function(changing,callback){toggleLoading(true);while(K.body.firstChild) remove(K.body.firstChild);hideBars(changing,function(){if(!open) return;if(!changing) wrapper.style.visibility="visible";buildBars(callback);});} K.onReady=function(callback){if(!open) return;var player=S.player,dims=setDimensions(player.height,player.width);var wrapped=function(){showBars(callback);} switch(S.options.animSequence){case"hw":adjustHeight(dims.innerHeight,dims.top,true,function(){adjustWidth(dims.width,dims.left,true,wrapped);});break;case"wh":adjustWidth(dims.width,dims.left,true,function(){adjustHeight(dims.innerHeight,dims.top,true,wrapped);});break;default:adjustWidth(dims.width,dims.left,true);adjustHeight(dims.innerHeight,dims.top,true,wrapped);}} K.onShow=function(callback){toggleLoading(false,callback);doWindowResize=true;} K.onClose=function(){if(!supportsFixed) removeEvent(window,"scroll",setPosition);removeEvent(overlay,"click",S.close);wrapper.style.visibility="hidden";var callback=function(){container.style.visibility="hidden";container.style.display="none";toggleTroubleElements(true);} if(overlayOn){animate(overlay,"opacity",0,S.options.fadeDuration,callback);}else{callback();}} K.onPlay=function(){toggleNav("play",false);toggleNav("pause",true);} K.onPause=function(){toggleNav("pause",false);toggleNav("play",true);} K.onWindowResize=function(){if(!doWindowResize) return;setSize();var player=S.player,dims=setDimensions(player.height,player.width);adjustWidth(dims.width,dims.left);adjustHeight(dims.innerHeight,dims.top);if(player.onWindowResize) player.


Самая актуальная информация идеи для бизнеса у нас.







%