RSS

coffee*sponge: все о кофе

26
points

Этот сайт создан любителями кофе для тех, кто разделит с нами наши пристрастия к хорошему вкусу и красивой сервировке. Благородный напиток, который проходит такой долгий путь к нашему столу, достоин того, чтобы мы про него иногда писали.

coffee*sponge: все о кофе

Comments


невозможно проголосовать!

I Yu

Ошибка в голосовании.
Нажимаю на "+" в баллах, вылезает ошибка:

Строка: 35
Ошибка: Недопустимый вызов или аргумент ф-ции.

В строке:

if(typeof window.jQuery=="undefined"){window.undefined=window.undefined;var jQuery=function(a,c){if(a&&typeof a=="function"&&jQuery.fn.ready&&!a.nodeType&&a[0]==undefined)return jQuery(document).ready(a);a=a||document;if(a.jquery)return jQuery(jQuery.merge(a,[]));if(c&&c.jquery)return jQuery(c).find(a);if(window==this)return new jQuery(a,c);if(typeof a=="string"){var m=/^[^<]*(<.+>)[^>]*$/.exec(a);if(m)a=jQuery.clean([m[1]])}this.set(a.constructor==Array||a.length&&a!=window&&!a.nodeType&&a[0]!=undefined&&a[0].nodeType?jQuery.merge(a,[]):jQuery.find(a,c));var fn=arguments[arguments.length-1];if(fn&&typeof fn=="function")this.each(fn);return this};if(typeof $!="undefined")jQuery._$=$;var $=jQuery;jQuery.fn=jQuery.prototype={jquery:"1.0.4",size:function(){return this.length},get:function(num){return num==undefined?jQuery.merge(this,[]):this[num]},set:function(array){this.length=0;[].push.apply(this,array);return this},each:function(fn,args){return jQuery.each(this,fn,args)},index:function(obj){var pos=-1;this.each(function(i){if(this==obj)pos=i});return pos},attr:function(key,value,type){return key.constructor!=String||value!=undefined?this.each(function(){if(value==undefined)for(var prop in key)jQuery.attr(type?this.style:this,prop,key[prop]);else jQuery.attr(type?this.style:this,key,value)}):jQuery[type||"attr"](this[0],key)},css:function(key,value){return this.attr(key,value,"curCSS")},text:function(e){e=e||this;var t="";for(var j=0;j0:false},domManip:function(args,table,dir,fn){var clone=this.size()>1;var a=jQuery.clean(args);return this.each(function(){var obj=this;if(table&&this.nodeName.toUpperCase()=="TABLE"&&a[0].nodeName.toUpperCase()!="THEAD"){var tbody=this.getElementsByTagName("tbody");if(!tbody.length){obj=document.createElement("tbody");this.appendChild(obj)}else obj=tbody[0]}for(var i=(dir<0?a.length-1:0);i!=(dir<0?dir:a.length);i+=dir){fn.apply(obj,[clone?a[i].cloneNode(true):a[i]])}})},pushStack:function(a,args){var fn=args&&args[args.length-1];var fn2=args&&args[args.length-2];if(fn&&fn.constructor!=Function)fn=null;if(fn2&&fn2.constructor!=Function)fn2=null;if(!fn){if(!this.stack)this.stack=[];this.stack.push(this.get());this.set(a)}else{var old=this.get();this.set(a);if(fn2&&a.length||!fn2)this.each(fn2||fn).set(old);else this.set(old).each(fn)}return this}};jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0],a=1;if(arguments.length==1){target=this;a=0}var prop;while(prop=arguments[a++])for(var i in prop)target[i]=prop[i];return target};jQuery.extend({init:function(){jQuery.initDone=true;jQuery.each(jQuery.macros.axis,function(i,n){jQuery.fn[i]=function(a){var ret=jQuery.map(this,n);if(a&&typeof a=="string")ret=jQuery.filter(a,ret).r;return this.pushStack(ret,arguments)}});jQuery.each(jQuery.macros.to,function(i,n){jQuery.fn[i]=function(){var a=arguments;return this.each(function(){for(var j=0;j",""];else if(!s.indexOf("",""];else if(!s.indexOf("",""];else if(!s.indexOf("",""];div.innerHTML=wrap[1]+s+wrap[2];while(wrap[0]--)div=div.firstChild;arg=div.childNodes}if(arg.length!=undefined&&((jQuery.browser.safari&&typeof arg=='function')||!arg.nodeType))for(var n=0;nm[3]-0",nth:"m[3]-0==i",eq:"m[3]-0==i",first:"i==0",last:"i==r.length-1",even:"i%2==0",odd:"i%2","nth-child":"jQuery.sibling(a,m[3]).cur","first-child":"jQuery.sibling(a,0).cur","last-child":"jQuery.sibling(a,0).last","only-child":"jQuery.sibling(a).length==1",parent:"a.childNodes.length",empty:"!a.childNodes.length",contains:"jQuery.fn.text.apply([a]).indexOf(m[3])>=0",visible:"a.type!='hidden'&&jQuery.css(a,'display')!='none'&&jQuery.css(a,'visibility')!='hidden'",hidden:"a.type=='hidden'||jQuery.css(a,'display')=='none'||jQuery.css(a,'visibility')=='hidden'",enabled:"!a.disabled",disabled:"a.disabled",checked:"a.checked",selected:"a.selected || jQuery.attr(a, 'selected')",text:"a.type=='text'",radio:"a.type=='radio'",checkbox:"a.type=='checkbox'",file:"a.type=='file'",password:"a.type=='password'",submit:"a.type=='submit'",image:"a.type=='image'",reset:"a.type=='reset'",button:"a.type=='button'",input:"/input|select|textarea|button/i.test(a.nodeName)"},".":"jQuery.className.has(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z && !z.indexOf(m[4])","$=":"z && z.substr(z.length - m[4].length,m[4].length)==m[4]","*=":"z && z.indexOf(m[4])>=0","":"z"},"[":"jQuery.find(m[2],a).length"},token:["\\.\\.|/\\.\\.","a.parentNode",">|/","jQuery.sibling(a.firstChild)","\\+","jQuery.sibling(a).next","~",function(a){var s=jQuery.sibling(a);return s.n>=0?s.slice(s.n+1):[]}],find:function(t,context){if(context&&context.nodeType==undefined)context=null;context=context||document;if(t.constructor!=String)return[t];if(!t.indexOf("//")){context=context.documentElement;t=t.substr(2,t.length)}else if(!t.indexOf("/")){context=context.documentElement;t=t.substr(1,t.length);if(t.indexOf("/")>=1)t=t.substr(t.indexOf("/"),t.length)}var ret=[context];var done=[];var last=null;while(t.length>0&&last!=t){var r=[];last=t;t=jQuery.trim(t).replace(/^\/\//i,"");var foundToken=false;for(var i=0;i<\/script>");var script=document.getElementById("__ie_init");if(script)script.onreadystatechange=function(){if(this.readyState!="complete")return;this.parentNode.removeChild(this);jQuery.ready()};script=null}else if(jQuery.browser.safari){jQuery.safariTimer=setInterval(function(){if(document.readyState=="loaded"||document.readyState=="complete"){clearInterval(jQuery.safariTimer);jQuery.safariTimer=null;jQuery.ready()}},10)}jQuery.event.add(window,"load",jQuery.ready)};if(jQuery.browser.msie)jQuery(window).unload(function(){var event=jQuery.event,global=event.global;for(var type in global){var els=global[type],i=els.length;if(i>0)do if(type!='unload')event.remove(els[i-1],type);while(--i)}});jQuery.fn.extend({_show:jQuery.fn.show,show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this._show()},_hide:jQuery.fn.hide,hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this._hide()},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback)},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback)},slideToggle:function(speed,callback){return this.each(function(){var state=jQuery(this).is(":hidden")?"show":"hide";jQuery(this).animate({height:state},speed,callback)})},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback)},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback)},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback)},animate:function(prop,speed,callback){return this.queue(function(){this.curAnim=jQuery.extend({},prop);for(var p in prop){var e=new jQuery.fx(this,jQuery.speed(speed,callback),p);if(prop[p].constructor==Number)e.custom(e.cur(),prop[p]);else e[prop[p]](prop)}})},queue:function(type,fn){if(!fn){fn=type;type="fx"}return this.each(function(){if(!this.queue)this.queue={};if(!this.queue[type])this.queue[type]=[];this.queue[type].push(fn);if(this.queue[type].length==1)fn.apply(this)})}});jQuery.extend({speed:function(s,o){o=o||{};if(o.constructor==Function)o={complete:o};var ss={slow:600,fast:200};o.duration=(s&&s.constructor==Number?s:ss[s])||400;o.oldComplete=o.complete;o.complete=function(){jQuery.dequeue(this,"fx");if(o.oldComplete&&o.oldComplete.constructor==Function)o.oldComplete.apply(this)};return o},queue:{},dequeue:function(elem,type){type=type||"fx";if(elem.queue&&elem.queue[type]){elem.queue[type].shift();var f=elem.queue[type][0];if(f)f.apply(elem)}},fx:function(elem,options,prop){var z=this;z.o={duration:options.duration||400,complete:options.complete,step:options.step};z.el=elem;var y=z.el.style;var oldDisplay=jQuery.css(z.el,'display');y.display="block";y.overflow="hidden";z.a=function(){if(options.step)options.step.apply(elem,[z.now]);if(prop=="opacity")jQuery.attr(y,"opacity",z.now);else if(parseInt(z.now))y[prop]=parseInt(z.now)+"px"};z.max=function(){return parseFloat(jQuery.css(z.el,prop))};z.cur=function(){var r=parseFloat(jQuery.curCSS(z.el,prop));return r&&r>-10000?r:z.max()};z.custom=function(from,to){z.startTime=(new Date()).getTime();z.now=from;z.a();z.timer=setInterval(function(){z.step(from,to)},13)};z.show=function(){if(!z.el.orig)z.el.orig={};z.el.orig[prop]=this.cur();z.o.show=true;z.custom(0,z.el.orig[prop]);if(prop!="opacity")y[prop]="1px"};z.hide=function(){if(!z.el.orig)z.el.orig={};z.el.orig[prop]=this.cur();z.o.hide=true;z.custom(z.el.orig[prop],0)};z.toggle=function(){if(!z.el.orig)z.el.orig={};z.el.orig[prop]=this.cur();if(oldDisplay=='none'){z.o.show=true;if(prop!="opacity")y[prop]="1px";z.custom(0,z.el.orig[prop])}else{z.o.hide=true;z.custom(z.el.orig[prop],0)}};z.step=function(firstNum,lastNum){var t=(new Date()).getTime();if(t>z.o.duration+z.startTime){clearInterval(z.timer);z.timer=null;z.now=lastNum;z.a();z.el.curAnim[prop]=true;var done=true;for(var i in z.el.curAnim)if(z.el.curAnim[i]!==true)done=false;if(done){y.overflow='';y.display=oldDisplay;if(jQuery.css(z.el,'display')=='none')y.display='block';if(z.o.hide)y.display='none';if(z.o.hide||z.o.show)for(var p in z.el.curAnim)if(p=="opacity")jQuery.attr(y,p,z.el.orig[p]);else y[p]=''}if(done&&z.o.complete&&z.o.complete.constructor==Function)z.o.complete.apply(z.el)}else{var p=(t-this.startTime)/z.o.duration;z.now=((-Math.cos(p*Math.PI)/2)+0.5)*(lastNum-firstNum)+firstNum;z.a()}}}});jQuery.fn.extend({loadIfModified:function(url,params,callback){this.load(url,params,callback,1)},load:function(url,params,callback,ifModified){if(url.constructor==Function)return this.bind("load",url);callback=callback||function(){};var type="GET";if(params){if(params.constructor==Function){callback=params;params=null}else{params=jQuery.param(params);type="POST"}}var self=this;jQuery.ajax({url:url,type:type,data:params,ifModified:ifModified,complete:function(res,status){if(status=="success"||!ifModified&&status=="notmodified"){self.html(res.responseText).evalScripts().each(callback,[res.responseText,status,res])}else callback.apply(self,[res.responseText,status,res])}});return this},serialize:function(){return jQuery.param(this)},evalScripts:function(){return this.find('script').each(function(){if(this.src)jQuery.getScript(this.src);else{jQuery.globalEval(this.text||this.textContent||this.innerHTML||"")}}).end()}});if(jQuery.browser.msie&&typeof XMLHttpRequest=="undefined")XMLHttpRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP")};new function(){var e="ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(",");for(var i=0;i-1)?"&":"?")+s.data}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");var requestDone=false;var xml=new XMLHttpRequest();xml.open(s.type,s.url,s.async);if(s.data)xml.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xml.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xml.setRequestHeader("X-Requested-With","XMLHttpRequest");if(xml.overrideMimeType)xml.setRequestHeader("Connection","close");if(s.beforeSend)s.beforeSend(xml);if(s.global)jQuery.event.trigger("ajaxSend",[xml,s]);var onreadystatechange=function(isTimeout){if(xml&&(xml.readyState==4||isTimeout=="timeout")){requestDone=true;var status=jQuery.httpSuccess(xml)&&isTimeout!="timeout"?s.ifModified&&jQuery.httpNotModified(xml,s.url)?"notmodified":"success":"error";if(status!="error"){var modRes;try{modRes=xml.getResponseHeader("Last-Modified")}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;var data=jQuery.httpData(xml,s.dataType);if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xml,s])}else{if(s.error)s.error(xml,status);if(s.global)jQuery.event.trigger("ajaxError",[xml,s])}if(s.global)jQuery.event.trigger("ajaxComplete",[xml,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");if(s.complete)s.complete(xml,status);xml.onreadystatechange=function(){};xml=null}};xml.onreadystatechange=onreadystatechange;if(s.timeout>0)setTimeout(function(){if(xml){xml.abort();if(!requestDone)onreadystatechange("timeout");xml=null}},s.timeout);xml.send(s.data);return xml},active:0,httpSuccess:function(r){try{return!r.status&&location.protocol=="file:"||(r.status>=200&&r.status<300)||r.status==304||jQuery.browser.safari&&r.status==undefined}catch(e){}return false},httpNotModified:function(xml,url){try{var xmlRes=xml.getResponseHeader("Last-Modified");return xml.status==304||xmlRes==jQuery.lastModified[url]||jQuery.browser.safari&&xml.status==undefined}catch(e){}return false},httpData:function(r,type){var ct=r.getResponseHeader("content-type");var data=!type&&ct&&ct.indexOf("xml")>=0;data=type=="xml"||data?r.responseXML:r.responseText;if(type=="script"){jQuery.globalEval(data)}if(type=="json")eval("data = "+data);if(type=="html")jQuery("").html(data).evalScripts();return data},param:function(a){var s=[];if(a.constructor==Array||a.jquery){for(var i=0;i


Wed, 10/15/2008 - 13:35 |I Yu

Желаю победы!

Людмила

Желаю победы!


Sat, 09/27/2008 - 15:51 |Людмила

Partners

Blog Awards Partner