stones
عدد المساهمات : 7462 معدل النشاط : 16426 السُمعة : 414
| موضوع: رد: طلب التعديل على كود انبثاق الصور و الرسائل و الفيديوهات 16/7/2014, 11:02 am | |
| مرحبا اخي هذا كود تالف وجربته ولم يشتغل اطلاقا فكيف نعدل عليه ============ الكود الصحيح على الرابط هذا نحاول التعديل عليه لاكن لانعدك بشي - الكود:
-
http://goo.gl/YKre3 تفضل الكود حجمه كبير جدا اذا لم تعرف تضع رابط الفديو والصورة بلاير اخبرني - الكود:
-
<a style="position: relative" class="fancy-ytbaudai fancybox.iframe" href="http://www.youtube.com/v/'+b+'&hl=vi_VN&autoplay=1"><span class="iconPlayer"></span></a><e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div class="fancybox-wrap"><a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player onupdate.player":d,"oncancel.player="" beforeclose.player":g,"beforeload.player":c}),d(),a.trigger("onplaystart")},next:function(){a.current&&a.jumpto(a.current.index+1)},prev:function(){a.current&&a.jumpto(a.current.index-1)},jumpto:function(b){a.current&&(b="parseInt(b,10),1<a.group.length&&a.current.loop&&(b"><e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var f="e(b.target).get(0);if(0===f.clientHeight||f.scrollHeight===f.clientHeight)b.preventDefault(),a[0<c?" prev":"next"]()}))},trigger:function(b){var"="" c,d="a[-1<e.inArray(b,[" oncancel","beforeload","afterload"])?"coming":"current"];if(d){e.isfunction(d[b])&&(c="d[b].apply(d,Array.prototype.slice.call(arguments,1)));if(!1===c)return!1;d.helpers&&e.each(d.helpers,function(c,f){if(f&&" undefined"!="=typeof" ""="" a.helpers[c]&&e.isfunction(a.helpers[c][b]))a.helpers[c][b](f,d)});e.event.trigger(b+".fb")}},isimage:function(a){return="" a&&a.match(="" \.(jpg|gif|png|bmp|jpeg)(.*)?$="" i)},isswf:function(a){return="" \.(swf)(.*)?$="" i)},_start:function(b){var="" c="{},d=a.group[b]||null,g,f,k;if(" object"="==typeof" "="" d&&(d.nodetype||d="" instanceof="" e))g="!0,e.metadata&&(c=e(d).metadata());c=e.extend(!0,{},a.opts,{index:b,element:d},e.isPlainObject(d)?d:c);e.each([" href","title","content","type"],function(b,f){c[f]="a.opts[f]||g&&e(d).attr(f)||c[f]||null});if(" number"="==typeof" c.margin)c.margin="[c.margin,c.margin,c.margin,c.margin];c.modal&&e.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{css:{cursor:" auto"},closeclick:!1}}});a.coming="c;if(!1===a.trigger(" beforeload"))a.coming="null;else{f=c.type;b=c.href;if(!f)g&&(k=e(d).data(" fancybox-type"),!k&&d.classname&&(f="(k=d.className.match(/fancybox\.(\w+)/))?k[1]:null)),!f&&b&&(a.isImage(b)?f="image":a.isSWF(b)?f="swf":b.match(/^#/)&&(f="inline")),f||(f=g?"inline":"html"),c.type=f;"inline"===f||"html"===f?(c.content=c.content||("inline"===f&&b?e(b):d),c.content.length||(f=null)):(c.href=b||d,c.href||(f=null));c.group=a.group;"image"===f?a._loadImage():"ajax"===f?a._loadAjax():f?a._afterLoad():a._error("type")}},_error:function(b){e.extend(a.coming,{type:"html",autoSize:!0,minHeight:"0",hasError:b,content:a.coming.tpl.error});a._afterLoad()},_loadImage:function(){a.imgPreload=new"""" image;a.imgpreload.onload="function(){this.onload=this.onerror=null;a.coming.width=this.width;a.coming.height=this.height;a._afterLoad()};a.imgPreload.onerror=function(){this.onload=this.onerror=null;a._error(" image")};a.imgpreload.src="a.coming.href;a.imgPreload.complete||a.showLoading()},_loadAjax:function(){a.showLoading();a.ajaxLoad=e.ajax(e.extend({},a.coming.ajax,{url:a.coming.href,error:function(b,c){" abort"!="=c?a._error(" ajax",b):a.hideloading()},success:function(b,c){if("success"="==c)a.coming.content=b,a._afterLoad()}}))},_preload:function(){var"""" b="a.group,c=a.current.index,d=function(b){if(b&&a.isImage(b))(new" image).src="b};1<b.length&&(d(e(b[c+1]||b[0]).attr(" href")),d(e(b[c-1]||b[b.length-1]).attr("href")))},_afterload:function(){a.hideloading();!a.coming||!1="==a.trigger(" afterload",a.current)?a.coming="!1:(a.isOpened?(e(" .fancybox-item").remove(),a.wrap.stop(!0).removeclass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.prevmethod]()):(e(".fancybox-wrap").stop().trigger("onreset").remove(),a.trigger("afterclose")),a.unbindevents(),a.isopen="!1,a.current=a.coming,a.coming=!1,a.wrap=e(a.current.tpl.wrap).addClass("fancybox-tmp"""" "+a.current.wrapcss).appendto("body"),a.outer="e(" .fancybox-outer",a.wrap).css("padding",a.current.padding+"px"),a.inner="e(" .fancybox-inner",a.wrap),a._setcontent(),a.trigger("beforeshow"),a._setdimension(),a.wrap.hide().removeclass("fancybox-tmp"),a.bindevents(),a._preload(),a.transitions[a.isopened?a.current.nextmethod:a.current.openmethod]())},_setcontent:function(){var""="" b,c,d="a.current,g=d.type;switch(g){case" inline":case"ajax":case"html":b="d.content;" inline"="==g&&b" e&&(b="b.show().detach(),b.parent().hasClass(" fancybox-inner")&&b.parents(".fancybox-wrap").trigger("onreset").remove(),e(a.wrap).bind("onreset",function(){b.appendto("body").hide()}));if(d.autosize)c="e('<div" class="fancybox-tmp"><e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var b="a.wrap,c=a.outer,d=a.inner,g=a.current,f=a.getViewport(),k=g.margin,i=2*g.padding,h=g.width+i,j=g.height+i,l=g.width/g.height,o=g.maxWidth,m=g.maxHeight,n=g.minWidth,p=g.minHeight;f.w-=k[1]+k[3];f.h-=k[0]+k[2];-1<h.toString().indexOf(" %")&&(h="f.w*parseFloat(h)/100);-1<j.toString().indexOf(" %")&&(j="f.h*parseFloat(j)/100);g.fitToView&&(o=Math.min(f.w,o),m=Math.min(f.h,m));n=Math.min(h,n);p=Math.min(h,p);o=Math.max(n,o);m=Math.max(p,m);g.aspectRatio?(h" ""=""><n&&(h=n,j=(h-i) l+i),j<p&&(j="p,h=(j-i)*l+i)):(h=Math.max(n,Math.min(h,o)),j=Math.max(p,Math.min(j,m)));h=Math.round(h);j=Math.round(j);e(b.add(c).add(d)).width(" auto").height("auto");d.width(h-i).height(j-i);b.width(h);k="b.height();if(h" "=""><n&&(h=n,j=(h-i) l+i)):h-="10,d.width(h-i).height(j-i),b.width(h),k=b.height();g.dim={width:h,height:k};g.canGrow=g.autoSize&&j"><m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else if((h=""><a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var b="a.current.element,c={},d=50,g=50,f;b&&b.nodeName&&e(b).is(" :visible")?(f="e(b).find(" img:first"),f.length?(c="f.offset(),d=f.outerWidth(),g=f.outerHeight()):c=e(b).offset()):(b=a.getViewport(),c.top=b.y+0.5*(b.h-g),c.left=b.x+0.5*(b.w-d));return" ""="" c="{top:Math.ceil(c.top)+" px",left:math.ceil(c.left)+"px",width:math.ceil(d)+"px",height:math.ceil(g)+"px"}},step:function(b,c){var"="" d,e,f;if("width"="==c.prop||" height"="==c.prop)e=f=Math.ceil(b-2*a.current.padding),"><c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div id="fancybox-overlay"><f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function e(a){var="" b="a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type=" mousewheel";b.wheeldelta&&(f="b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void" "="" 0&&b.axis="==b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void" 0&&(g="b.wheelDeltaY/120);b.wheelDeltaX!==void" 0&&(e="-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var" c="[" dommousescroll","mousewheel"];if(d.event.fixhooks)for(var"="" h="c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var" a="c.length;a;)this.addEventListener(c[--a],e,false);else" this.onmousewheel="e},teardown:function(){if(this.removeEventListener)for(var" a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return="" this.unbind("mousewheel",a)}})})(jquery);var="" copyrightnoticeen="Copyright © by audai mousa. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script" ;var="" copyrightnoticevi="Bản quyền © 1weeb. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mم này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông bلo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi" ;$("img[src*="imageshack.us" ]").each(function(){$(this).replacewith('<img="" src="http://a.'+$(this).attr(" src").slice($(this).attr("src").indexof("imageshack"))+'"=""></f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function></c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div></a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var></m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else></n&&(h=n,j=(h-i)></n&&(h=n,j=(h-i)></e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var></e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var></a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player></e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div> <p style="" align="center"> <a style="position: relative" class="fancy-ytbaudai fancybox.iframe" href="//www.youtube.com/embed/ET8MsvqQJvo?list='+d+'&hl=vi_VN&autoplay=1" target="_blank"><img class="not-fancyImg" src="http://i39.servimg.com/u/f39/18/42/00/55/16-07-10.png" /><span class="iconPlayer"></span></a> </p><e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div class="fancybox-wrap"><a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player onupdate.player":d,"oncancel.player="" beforeclose.player":g,"beforeload.player":c}),d(),a.trigger("onplaystart")},next:function(){a.current&&a.jumpto(a.current.index+1)},prev:function(){a.current&&a.jumpto(a.current.index-1)},jumpto:function(b){a.current&&(b="parseInt(b,10),1<a.group.length&&a.current.loop&&(b"><e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var f="e(b.target).get(0);if(0===f.clientHeight||f.scrollHeight===f.clientHeight)b.preventDefault(),a[0<c?" prev":"next"]()}))},trigger:function(b){var"="" c,d="a[-1<e.inArray(b,[" oncancel","beforeload","afterload"])?"coming":"current"];if(d){e.isfunction(d[b])&&(c="d[b].apply(d,Array.prototype.slice.call(arguments,1)));if(!1===c)return!1;d.helpers&&e.each(d.helpers,function(c,f){if(f&&" undefined"!="=typeof" ""="" a.helpers[c]&&e.isfunction(a.helpers[c][b]))a.helpers[c][b](f,d)});e.event.trigger(b+".fb")}},isimage:function(a){return="" a&&a.match(="" \.(jpg|gif|png|bmp|jpeg)(.*)?$="" i)},isswf:function(a){return="" \.(swf)(.*)?$="" i)},_start:function(b){var="" c="{},d=a.group[b]||null,g,f,k;if(" object"="==typeof" "="" d&&(d.nodetype||d="" instanceof="" e))g="!0,e.metadata&&(c=e(d).metadata());c=e.extend(!0,{},a.opts,{index:b,element:d},e.isPlainObject(d)?d:c);e.each([" href","title","content","type"],function(b,f){c[f]="a.opts[f]||g&&e(d).attr(f)||c[f]||null});if(" number"="==typeof" c.margin)c.margin="[c.margin,c.margin,c.margin,c.margin];c.modal&&e.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{css:{cursor:" auto"},closeclick:!1}}});a.coming="c;if(!1===a.trigger(" beforeload"))a.coming="null;else{f=c.type;b=c.href;if(!f)g&&(k=e(d).data(" fancybox-type"),!k&&d.classname&&(f="(k=d.className.match(/fancybox\.(\w+)/))?k[1]:null)),!f&&b&&(a.isImage(b)?f="image":a.isSWF(b)?f="swf":b.match(/^#/)&&(f="inline")),f||(f=g?"inline":"html"),c.type=f;"inline"===f||"html"===f?(c.content=c.content||("inline"===f&&b?e(b):d),c.content.length||(f=null)):(c.href=b||d,c.href||(f=null));c.group=a.group;"image"===f?a._loadImage():"ajax"===f?a._loadAjax():f?a._afterLoad():a._error("type")}},_error:function(b){e.extend(a.coming,{type:"html",autoSize:!0,minHeight:"0",hasError:b,content:a.coming.tpl.error});a._afterLoad()},_loadImage:function(){a.imgPreload=new"""" image;a.imgpreload.onload="function(){this.onload=this.onerror=null;a.coming.width=this.width;a.coming.height=this.height;a._afterLoad()};a.imgPreload.onerror=function(){this.onload=this.onerror=null;a._error(" image")};a.imgpreload.src="a.coming.href;a.imgPreload.complete||a.showLoading()},_loadAjax:function(){a.showLoading();a.ajaxLoad=e.ajax(e.extend({},a.coming.ajax,{url:a.coming.href,error:function(b,c){" abort"!="=c?a._error(" ajax",b):a.hideloading()},success:function(b,c){if("success"="==c)a.coming.content=b,a._afterLoad()}}))},_preload:function(){var"""" b="a.group,c=a.current.index,d=function(b){if(b&&a.isImage(b))(new" image).src="b};1<b.length&&(d(e(b[c+1]||b[0]).attr(" href")),d(e(b[c-1]||b[b.length-1]).attr("href")))},_afterload:function(){a.hideloading();!a.coming||!1="==a.trigger(" afterload",a.current)?a.coming="!1:(a.isOpened?(e(" .fancybox-item").remove(),a.wrap.stop(!0).removeclass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.prevmethod]()):(e(".fancybox-wrap").stop().trigger("onreset").remove(),a.trigger("afterclose")),a.unbindevents(),a.isopen="!1,a.current=a.coming,a.coming=!1,a.wrap=e(a.current.tpl.wrap).addClass("fancybox-tmp"""" "+a.current.wrapcss).appendto("body"),a.outer="e(" .fancybox-outer",a.wrap).css("padding",a.current.padding+"px"),a.inner="e(" .fancybox-inner",a.wrap),a._setcontent(),a.trigger("beforeshow"),a._setdimension(),a.wrap.hide().removeclass("fancybox-tmp"),a.bindevents(),a._preload(),a.transitions[a.isopened?a.current.nextmethod:a.current.openmethod]())},_setcontent:function(){var""="" b,c,d="a.current,g=d.type;switch(g){case" inline":case"ajax":case"html":b="d.content;" inline"="==g&&b" e&&(b="b.show().detach(),b.parent().hasClass(" fancybox-inner")&&b.parents(".fancybox-wrap").trigger("onreset").remove(),e(a.wrap).bind("onreset",function(){b.appendto("body").hide()}));if(d.autosize)c="e('<div" class="fancybox-tmp"><e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var b="a.wrap,c=a.outer,d=a.inner,g=a.current,f=a.getViewport(),k=g.margin,i=2*g.padding,h=g.width+i,j=g.height+i,l=g.width/g.height,o=g.maxWidth,m=g.maxHeight,n=g.minWidth,p=g.minHeight;f.w-=k[1]+k[3];f.h-=k[0]+k[2];-1<h.toString().indexOf(" %")&&(h="f.w*parseFloat(h)/100);-1<j.toString().indexOf(" %")&&(j="f.h*parseFloat(j)/100);g.fitToView&&(o=Math.min(f.w,o),m=Math.min(f.h,m));n=Math.min(h,n);p=Math.min(h,p);o=Math.max(n,o);m=Math.max(p,m);g.aspectRatio?(h" ""=""><n&&(h=n,j=(h-i) l+i),j<p&&(j="p,h=(j-i)*l+i)):(h=Math.max(n,Math.min(h,o)),j=Math.max(p,Math.min(j,m)));h=Math.round(h);j=Math.round(j);e(b.add(c).add(d)).width(" auto").height("auto");d.width(h-i).height(j-i);b.width(h);k="b.height();if(h" "=""><n&&(h=n,j=(h-i) l+i)):h-="10,d.width(h-i).height(j-i),b.width(h),k=b.height();g.dim={width:h,height:k};g.canGrow=g.autoSize&&j"><m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else if((h=""><a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var b="a.current.element,c={},d=50,g=50,f;b&&b.nodeName&&e(b).is(" :visible")?(f="e(b).find(" img:first"),f.length?(c="f.offset(),d=f.outerWidth(),g=f.outerHeight()):c=e(b).offset()):(b=a.getViewport(),c.top=b.y+0.5*(b.h-g),c.left=b.x+0.5*(b.w-d));return" ""="" c="{top:Math.ceil(c.top)+" px",left:math.ceil(c.left)+"px",width:math.ceil(d)+"px",height:math.ceil(g)+"px"}},step:function(b,c){var"="" d,e,f;if("width"="==c.prop||" height"="==c.prop)e=f=Math.ceil(b-2*a.current.padding),"><c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div id="fancybox-overlay"><f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function e(a){var="" b="a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type=" mousewheel";b.wheeldelta&&(f="b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void" "="" 0&&b.axis="==b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void" 0&&(g="b.wheelDeltaY/120);b.wheelDeltaX!==void" 0&&(e="-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var" c="[" dommousescroll","mousewheel"];if(d.event.fixhooks)for(var"="" h="c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var" a="c.length;a;)this.addEventListener(c[--a],e,false);else" this.onmousewheel="e},teardown:function(){if(this.removeEventListener)for(var" a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return="" this.unbind("mousewheel",a)}})})(jquery);var="" copyrightnoticeen="Copyright © by audai mousa. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script" ;var="" copyrightnoticevi="Bản quyền © 1weeb. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mم này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông bلo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi" ;$("img[src*="imageshack.us" ]").each(function(){$(this).replacewith('<img="" src="http://a.'+$(this).attr(" src").slice($(this).attr("src").indexof("imageshack"))+'"=""></f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function></c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div></a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var></m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else></n&&(h=n,j=(h-i)></n&&(h=n,j=(h-i)></e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var></e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var></a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player></e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div> الرسائل - الكود:
-
<a href="/privmsg?folder=inbox"><img style="cursor: pointer; width: 154px; height: 178px;" onmouseout="this.src=\'http://i48.servimg.com/u/f48/16/58/89/73/e-mail11.png\'" src="http://i48.servimg.com/u/f48/16/58/89/73/e-mail11.png" onmouseover="this.src=\'http://i48.servimg.com/u/f48/16/58/89/73/email_11.png\'" /></a><e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div class="fancybox-wrap"><a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player onupdate.player":d,"oncancel.player="" beforeclose.player":g,"beforeload.player":c}),d(),a.trigger("onplaystart")},next:function(){a.current&&a.jumpto(a.current.index+1)},prev:function(){a.current&&a.jumpto(a.current.index-1)},jumpto:function(b){a.current&&(b="parseInt(b,10),1<a.group.length&&a.current.loop&&(b"><e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var f="e(b.target).get(0);if(0===f.clientHeight||f.scrollHeight===f.clientHeight)b.preventDefault(),a[0<c?" prev":"next"]()}))},trigger:function(b){var"="" c,d="a[-1<e.inArray(b,[" oncancel","beforeload","afterload"])?"coming":"current"];if(d){e.isfunction(d[b])&&(c="d[b].apply(d,Array.prototype.slice.call(arguments,1)));if(!1===c)return!1;d.helpers&&e.each(d.helpers,function(c,f){if(f&&"undefined"!==typeof"" a.helpers[c]&&e.isfunction(a.helpers[c][b]))a.helpers[c][b](f,d)});e.event.trigger(b+".fb")}},isimage:function(a){return="" a&&a.match(="" \.(jpg|gif|png|bmp|jpeg)(.*)?$="" i)},isswf:function(a){return="" \.(swf)(.*)?$="" i)},_start:function(b){var="" c="{},d=a.group[b]||null,g,f,k;if(" object"="==typeof"" d&&(d.nodetype||d="" instanceof="" e))g="!0,e.metadata&&(c=e(d).metadata());c=e.extend(!0,{},a.opts,{index:b,element:d},e.isPlainObject(d)?d:c);e.each([" href","title","content","type"],function(b,f){c[f]="a.opts[f]||g&&e(d).attr(f)||c[f]||null});if("number"===typeof"" c.margin)c.margin="[c.margin,c.margin,c.margin,c.margin];c.modal&&e.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{css:{cursor:" auto"},closeclick:!1}}});a.coming="c;if(!1===a.trigger("beforeLoad"))a.coming=null;else{f=c.type;b=c.href;if(!f)g&&(k=e(d).data("fancybox-type"),!k&&d.className&&(f=(k=d.className.match(/fancybox\.(\w+)/))?k[1]:null)),!f&&b&&(a.isImage(b)?f="image":a.isSWF(b)?f="swf":b.match(/^#/)&&(f="inline")),f||(f=g?"inline":"html"),c.type=f;"inline"===f||"html"===f?(c.content=c.content||("inline"===f&&b?e(b):d),c.content.length||(f=null)):(c.href=b||d,c.href||(f=null));c.group=a.group;"image"===f?a._loadImage():"ajax"===f?a._loadAjax():f?a._afterLoad():a._error("type")}},_error:function(b){e.extend(a.coming,{type:"html",autoSize:!0,minHeight:"0",hasError:b,content:a.coming.tpl.error});a._afterLoad()},_loadImage:function(){a.imgPreload=new"" image;a.imgpreload.onload="function(){this.onload=this.onerror=null;a.coming.width=this.width;a.coming.height=this.height;a._afterLoad()};a.imgPreload.onerror=function(){this.onload=this.onerror=null;a._error(" image")};a.imgpreload.src="a.coming.href;a.imgPreload.complete||a.showLoading()},_loadAjax:function(){a.showLoading();a.ajaxLoad=e.ajax(e.extend({},a.coming.ajax,{url:a.coming.href,error:function(b,c){"abort"!==c?a._error("ajax",b):a.hideLoading()},success:function(b,c){if("success"===c)a.coming.content=b,a._afterLoad()}}))},_preload:function(){var"" b="a.group,c=a.current.index,d=function(b){if(b&&a.isImage(b))(new" image).src="b};1<b.length&&(d(e(b[c+1]||b[0]).attr(" href")),d(e(b[c-1]||b[b.length-1]).attr("href")))},_afterload:function(){a.hideloading();!a.coming||!1="==a.trigger("afterLoad",a.current)?a.coming=!1:(a.isOpened?(e(".fancybox-item").remove(),a.wrap.stop(!0).removeClass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.prevMethod]()):(e(".fancybox-wrap").stop().trigger("onReset").remove(),a.trigger("afterClose")),a.unbindEvents(),a.isOpen=!1,a.current=a.coming,a.coming=!1,a.wrap=e(a.current.tpl.wrap).addClass("fancybox-tmp"" "+a.current.wrapcss).appendto("body"),a.outer="e(" .fancybox-outer",a.wrap).css("padding",a.current.padding+"px"),a.inner="e(".fancybox-inner",a.wrap),a._setContent(),a.trigger("beforeShow"),a._setDimension(),a.wrap.hide().removeClass("fancybox-tmp"),a.bindEvents(),a._preload(),a.transitions[a.isOpened?a.current.nextMethod:a.current.openMethod]())},_setContent:function(){var"" b,c,d="a.current,g=d.type;switch(g){case" inline":case"ajax":case"html":b="d.content;"inline"===g&&b"" e&&(b="b.show().detach(),b.parent().hasClass(" fancybox-inner")&&b.parents(".fancybox-wrap").trigger("onreset").remove(),e(a.wrap).bind("onreset",function(){b.appendto("body").hide()}));if(d.autosize)c="e('<div"" class="fancybox-tmp"><e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var b="a.wrap,c=a.outer,d=a.inner,g=a.current,f=a.getViewport(),k=g.margin,i=2*g.padding,h=g.width+i,j=g.height+i,l=g.width/g.height,o=g.maxWidth,m=g.maxHeight,n=g.minWidth,p=g.minHeight;f.w-=k[1]+k[3];f.h-=k[0]+k[2];-1<h.toString().indexOf(" %")&&(h="f.w*parseFloat(h)/100);-1<j.toString().indexOf("%")&&(j=f.h*parseFloat(j)/100);g.fitToView&&(o=Math.min(f.w,o),m=Math.min(f.h,m));n=Math.min(h,n);p=Math.min(h,p);o=Math.max(n,o);m=Math.max(p,m);g.aspectRatio?(h""><n&&(h=n,j=(h-i) l+i),j<p&&(j="p,h=(j-i)*l+i)):(h=Math.max(n,Math.min(h,o)),j=Math.max(p,Math.min(j,m)));h=Math.round(h);j=Math.round(j);e(b.add(c).add(d)).width(" auto").height("auto");d.width(h-i).height(j-i);b.width(h);k="b.height();if(h""><n&&(h=n,j=(h-i) l+i)):h-="10,d.width(h-i).height(j-i),b.width(h),k=b.height();g.dim={width:h,height:k};g.canGrow=g.autoSize&&j"><m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else if((h=""><a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var b="a.current.element,c={},d=50,g=50,f;b&&b.nodeName&&e(b).is(" :visible")?(f="e(b).find("img:first"),f.length?(c=f.offset(),d=f.outerWidth(),g=f.outerHeight()):c=e(b).offset()):(b=a.getViewport(),c.top=b.y+0.5*(b.h-g),c.left=b.x+0.5*(b.w-d));return"" c="{top:Math.ceil(c.top)+" px",left:math.ceil(c.left)+"px",width:math.ceil(d)+"px",height:math.ceil(g)+"px"}},step:function(b,c){var"="" d,e,f;if("width"="==c.prop||" height"="==c.prop)e=f=Math.ceil(b-2*a.current.padding),"height"===c.prop&&(d=(b-c.start)/(c.end-c.start),c.start""><c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div id="fancybox-overlay"><f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function e(a){var="" b="a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type=" mousewheel";b.wheeldelta&&(f="b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void"" 0&&b.axis="==b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void" 0&&(g="b.wheelDeltaY/120);b.wheelDeltaX!==void" 0&&(e="-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var" c="[" dommousescroll","mousewheel"];if(d.event.fixhooks)for(var"="" h="c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var" a="c.length;a;)this.addEventListener(c[--a],e,false);else" this.onmousewheel="e},teardown:function(){if(this.removeEventListener)for(var" a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return="" this.unbind("mousewheel",a)}})})(jquery);var="" copyrightnoticeen="Copyright © by audai mousa. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script" ;var="" copyrightnoticevi="Bản quyền © 1weeb. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mم này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông bلo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi" ;$("img[src*="imageshack.us" ]").each(function(){$(this).replacewith('<img="" src="http://a.'+$(this).attr(" src").slice($(this).attr("src").indexof("imageshack"))+'"=""></f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function></c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div></a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var></m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else></n&&(h=n,j=(h-i)></n&&(h=n,j=(h-i)></e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var></e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var></a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player></e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div> | |
|
stones
عدد المساهمات : 7462 معدل النشاط : 16426 السُمعة : 414
| موضوع: رد: طلب التعديل على كود انبثاق الصور و الرسائل و الفيديوهات 16/7/2014, 12:00 pm | |
| الصور لم يحتمل الرد اعلاه - الكود:
-
<br /><e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div class="fancybox-wrap"><a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player onupdate.player":d,"oncancel.player="" beforeclose.player":g,"beforeload.player":c}),d(),a.trigger("onplaystart")},next:function(){a.current&&a.jumpto(a.current.index+1)},prev:function(){a.current&&a.jumpto(a.current.index-1)},jumpto:function(b){a.current&&(b="parseInt(b,10),1<a.group.length&&a.current.loop&&(b"><e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var f="e(b.target).get(0);if(0===f.clientHeight||f.scrollHeight===f.clientHeight)b.preventDefault(),a[0<c?" prev":"next"]()}))},trigger:function(b){var"="" c,d="a[-1<e.inArray(b,[" oncancel","beforeload","afterload"])?"coming":"current"];if(d){e.isfunction(d[b])&&(c="d[b].apply(d,Array.prototype.slice.call(arguments,1)));if(!1===c)return!1;d.helpers&&e.each(d.helpers,function(c,f){if(f&&"undefined"!==typeof"" a.helpers[c]&&e.isfunction(a.helpers[c][b]))a.helpers[c][b](f,d)});e.event.trigger(b+".fb")}},isimage:function(a){return="" a&&a.match(="" \.(jpg|gif|png|bmp|jpeg)(.*)?$="" i)},isswf:function(a){return="" \.(swf)(.*)?$="" i)},_start:function(b){var="" c="{},d=a.group[b]||null,g,f,k;if(" object"="==typeof"" d&&(d.nodetype||d="" instanceof="" e))g="!0,e.metadata&&(c=e(d).metadata());c=e.extend(!0,{},a.opts,{index:b,element:d},e.isPlainObject(d)?d:c);e.each([" href","title","content","type"],function(b,f){c[f]="a.opts[f]||g&&e(d).attr(f)||c[f]||null});if("number"===typeof"" c.margin)c.margin="[c.margin,c.margin,c.margin,c.margin];c.modal&&e.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{css:{cursor:" auto"},closeclick:!1}}});a.coming="c;if(!1===a.trigger("beforeLoad"))a.coming=null;else{f=c.type;b=c.href;if(!f)g&&(k=e(d).data("fancybox-type"),!k&&d.className&&(f=(k=d.className.match(/fancybox\.(\w+)/))?k[1]:null)),!f&&b&&(a.isImage(b)?f="image":a.isSWF(b)?f="swf":b.match(/^#/)&&(f="inline")),f||(f=g?"inline":"html"),c.type=f;"inline"===f||"html"===f?(c.content=c.content||("inline"===f&&b?e(b):d),c.content.length||(f=null)):(c.href=b||d,c.href||(f=null));c.group=a.group;"image"===f?a._loadImage():"ajax"===f?a._loadAjax():f?a._afterLoad():a._error("type")}},_error:function(b){e.extend(a.coming,{type:"html",autoSize:!0,minHeight:"0",hasError:b,content:a.coming.tpl.error});a._afterLoad()},_loadImage:function(){a.imgPreload=new"" image;a.imgpreload.onload="function(){this.onload=this.onerror=null;a.coming.width=this.width;a.coming.height=this.height;a._afterLoad()};a.imgPreload.onerror=function(){this.onload=this.onerror=null;a._error(" image")};a.imgpreload.src="a.coming.href;a.imgPreload.complete||a.showLoading()},_loadAjax:function(){a.showLoading();a.ajaxLoad=e.ajax(e.extend({},a.coming.ajax,{url:a.coming.href,error:function(b,c){"abort"!==c?a._error("ajax",b):a.hideLoading()},success:function(b,c){if("success"===c)a.coming.content=b,a._afterLoad()}}))},_preload:function(){var"" b="a.group,c=a.current.index,d=function(b){if(b&&a.isImage(b))(new" image).src="b};1<b.length&&(d(e(b[c+1]||b[0]).attr(" href")),d(e(b[c-1]||b[b.length-1]).attr("href")))},_afterload:function(){a.hideloading();!a.coming||!1="==a.trigger("afterLoad",a.current)?a.coming=!1:(a.isOpened?(e(".fancybox-item").remove(),a.wrap.stop(!0).removeClass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.prevMethod]()):(e(".fancybox-wrap").stop().trigger("onReset").remove(),a.trigger("afterClose")),a.unbindEvents(),a.isOpen=!1,a.current=a.coming,a.coming=!1,a.wrap=e(a.current.tpl.wrap).addClass("fancybox-tmp"" "+a.current.wrapcss).appendto("body"),a.outer="e(" .fancybox-outer",a.wrap).css("padding",a.current.padding+"px"),a.inner="e(".fancybox-inner",a.wrap),a._setContent(),a.trigger("beforeShow"),a._setDimension(),a.wrap.hide().removeClass("fancybox-tmp"),a.bindEvents(),a._preload(),a.transitions[a.isOpened?a.current.nextMethod:a.current.openMethod]())},_setContent:function(){var"" b,c,d="a.current,g=d.type;switch(g){case" inline":case"ajax":case"html":b="d.content;"inline"===g&&b"" e&&(b="b.show().detach(),b.parent().hasClass(" fancybox-inner")&&b.parents(".fancybox-wrap").trigger("onreset").remove(),e(a.wrap).bind("onreset",function(){b.appendto("body").hide()}));if(d.autosize)c="e('<div"" class="fancybox-tmp"><e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var b="a.wrap,c=a.outer,d=a.inner,g=a.current,f=a.getViewport(),k=g.margin,i=2*g.padding,h=g.width+i,j=g.height+i,l=g.width/g.height,o=g.maxWidth,m=g.maxHeight,n=g.minWidth,p=g.minHeight;f.w-=k[1]+k[3];f.h-=k[0]+k[2];-1<h.toString().indexOf(" %")&&(h="f.w*parseFloat(h)/100);-1<j.toString().indexOf("%")&&(j=f.h*parseFloat(j)/100);g.fitToView&&(o=Math.min(f.w,o),m=Math.min(f.h,m));n=Math.min(h,n);p=Math.min(h,p);o=Math.max(n,o);m=Math.max(p,m);g.aspectRatio?(h""><n&&(h=n,j=(h-i) l+i),j<p&&(j="p,h=(j-i)*l+i)):(h=Math.max(n,Math.min(h,o)),j=Math.max(p,Math.min(j,m)));h=Math.round(h);j=Math.round(j);e(b.add(c).add(d)).width(" auto").height("auto");d.width(h-i).height(j-i);b.width(h);k="b.height();if(h""><n&&(h=n,j=(h-i) l+i)):h-="10,d.width(h-i).height(j-i),b.width(h),k=b.height();g.dim={width:h,height:k};g.canGrow=g.autoSize&&j"><m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else if((h=""><a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var b="a.current.element,c={},d=50,g=50,f;b&&b.nodeName&&e(b).is(" :visible")?(f="e(b).find("img:first"),f.length?(c=f.offset(),d=f.outerWidth(),g=f.outerHeight()):c=e(b).offset()):(b=a.getViewport(),c.top=b.y+0.5*(b.h-g),c.left=b.x+0.5*(b.w-d));return"" c="{top:Math.ceil(c.top)+" px",left:math.ceil(c.left)+"px",width:math.ceil(d)+"px",height:math.ceil(g)+"px"}},step:function(b,c){var"="" d,e,f;if("width"="==c.prop||" height"="==c.prop)e=f=Math.ceil(b-2*a.current.padding),"height"===c.prop&&(d=(b-c.start)/(c.end-c.start),c.start""><c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div id="fancybox-overlay"><f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function e(a){var="" b="a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type=" mousewheel";b.wheeldelta&&(f="b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void"" 0&&b.axis="==b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void" 0&&(g="b.wheelDeltaY/120);b.wheelDeltaX!==void" 0&&(e="-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var" c="[" dommousescroll","mousewheel"];if(d.event.fixhooks)for(var"="" h="c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var" a="c.length;a;)this.addEventListener(c[--a],e,false);else" this.onmousewheel="e},teardown:function(){if(this.removeEventListener)for(var" a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return="" this.unbind("mousewheel",a)}})})(jquery);var="" copyrightnoticeen="Copyright © by audai mousa. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script" ;var="" copyrightnoticevi="Bản quyền © 1weeb. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mم này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông bلo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi" ;$("img[src*="imageshack.us" ]").each(function(){$(this).replacewith('<img="" src="http://a.'+$(this).attr(" src").slice($(this).attr("src").indexof("imageshack"))+'"=""></f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function></c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div></a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var></m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else></n&&(h=n,j=(h-i)></n&&(h=n,j=(h-i)></e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var></e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var></a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player></e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div> <p style="" align="center"> <a class="fancyimg-audai" href="'رابط منتداك او رابط الصور'"target="_blank"><img src="'رابط الصورة'" /></a> </p><e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div class="fancybox-wrap"><a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player onupdate.player":d,"oncancel.player="" beforeclose.player":g,"beforeload.player":c}),d(),a.trigger("onplaystart")},next:function(){a.current&&a.jumpto(a.current.index+1)},prev:function(){a.current&&a.jumpto(a.current.index-1)},jumpto:function(b){a.current&&(b="parseInt(b,10),1<a.group.length&&a.current.loop&&(b"><e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var f="e(b.target).get(0);if(0===f.clientHeight||f.scrollHeight===f.clientHeight)b.preventDefault(),a[0<c?" prev":"next"]()}))},trigger:function(b){var"="" c,d="a[-1<e.inArray(b,[" oncancel","beforeload","afterload"])?"coming":"current"];if(d){e.isfunction(d[b])&&(c="d[b].apply(d,Array.prototype.slice.call(arguments,1)));if(!1===c)return!1;d.helpers&&e.each(d.helpers,function(c,f){if(f&&"undefined"!==typeof"" a.helpers[c]&&e.isfunction(a.helpers[c][b]))a.helpers[c][b](f,d)});e.event.trigger(b+".fb")}},isimage:function(a){return="" a&&a.match(="" \.(jpg|gif|png|bmp|jpeg)(.*)?$="" i)},isswf:function(a){return="" \.(swf)(.*)?$="" i)},_start:function(b){var="" c="{},d=a.group[b]||null,g,f,k;if(" object"="==typeof"" d&&(d.nodetype||d="" instanceof="" e))g="!0,e.metadata&&(c=e(d).metadata());c=e.extend(!0,{},a.opts,{index:b,element:d},e.isPlainObject(d)?d:c);e.each([" href","title","content","type"],function(b,f){c[f]="a.opts[f]||g&&e(d).attr(f)||c[f]||null});if("number"===typeof"" c.margin)c.margin="[c.margin,c.margin,c.margin,c.margin];c.modal&&e.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{css:{cursor:" auto"},closeclick:!1}}});a.coming="c;if(!1===a.trigger("beforeLoad"))a.coming=null;else{f=c.type;b=c.href;if(!f)g&&(k=e(d).data("fancybox-type"),!k&&d.className&&(f=(k=d.className.match(/fancybox\.(\w+)/))?k[1]:null)),!f&&b&&(a.isImage(b)?f="image":a.isSWF(b)?f="swf":b.match(/^#/)&&(f="inline")),f||(f=g?"inline":"html"),c.type=f;"inline"===f||"html"===f?(c.content=c.content||("inline"===f&&b?e(b):d),c.content.length||(f=null)):(c.href=b||d,c.href||(f=null));c.group=a.group;"image"===f?a._loadImage():"ajax"===f?a._loadAjax():f?a._afterLoad():a._error("type")}},_error:function(b){e.extend(a.coming,{type:"html",autoSize:!0,minHeight:"0",hasError:b,content:a.coming.tpl.error});a._afterLoad()},_loadImage:function(){a.imgPreload=new"" image;a.imgpreload.onload="function(){this.onload=this.onerror=null;a.coming.width=this.width;a.coming.height=this.height;a._afterLoad()};a.imgPreload.onerror=function(){this.onload=this.onerror=null;a._error(" image")};a.imgpreload.src="a.coming.href;a.imgPreload.complete||a.showLoading()},_loadAjax:function(){a.showLoading();a.ajaxLoad=e.ajax(e.extend({},a.coming.ajax,{url:a.coming.href,error:function(b,c){"abort"!==c?a._error("ajax",b):a.hideLoading()},success:function(b,c){if("success"===c)a.coming.content=b,a._afterLoad()}}))},_preload:function(){var"" b="a.group,c=a.current.index,d=function(b){if(b&&a.isImage(b))(new" image).src="b};1<b.length&&(d(e(b[c+1]||b[0]).attr(" href")),d(e(b[c-1]||b[b.length-1]).attr("href")))},_afterload:function(){a.hideloading();!a.coming||!1="==a.trigger("afterLoad",a.current)?a.coming=!1:(a.isOpened?(e(".fancybox-item").remove(),a.wrap.stop(!0).removeClass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.prevMethod]()):(e(".fancybox-wrap").stop().trigger("onReset").remove(),a.trigger("afterClose")),a.unbindEvents(),a.isOpen=!1,a.current=a.coming,a.coming=!1,a.wrap=e(a.current.tpl.wrap).addClass("fancybox-tmp"" "+a.current.wrapcss).appendto("body"),a.outer="e(" .fancybox-outer",a.wrap).css("padding",a.current.padding+"px"),a.inner="e(".fancybox-inner",a.wrap),a._setContent(),a.trigger("beforeShow"),a._setDimension(),a.wrap.hide().removeClass("fancybox-tmp"),a.bindEvents(),a._preload(),a.transitions[a.isOpened?a.current.nextMethod:a.current.openMethod]())},_setContent:function(){var"" b,c,d="a.current,g=d.type;switch(g){case" inline":case"ajax":case"html":b="d.content;"inline"===g&&b"" e&&(b="b.show().detach(),b.parent().hasClass(" fancybox-inner")&&b.parents(".fancybox-wrap").trigger("onreset").remove(),e(a.wrap).bind("onreset",function(){b.appendto("body").hide()}));if(d.autosize)c="e('<div"" class="fancybox-tmp"><e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var b="a.wrap,c=a.outer,d=a.inner,g=a.current,f=a.getViewport(),k=g.margin,i=2*g.padding,h=g.width+i,j=g.height+i,l=g.width/g.height,o=g.maxWidth,m=g.maxHeight,n=g.minWidth,p=g.minHeight;f.w-=k[1]+k[3];f.h-=k[0]+k[2];-1<h.toString().indexOf(" %")&&(h="f.w*parseFloat(h)/100);-1<j.toString().indexOf("%")&&(j=f.h*parseFloat(j)/100);g.fitToView&&(o=Math.min(f.w,o),m=Math.min(f.h,m));n=Math.min(h,n);p=Math.min(h,p);o=Math.max(n,o);m=Math.max(p,m);g.aspectRatio?(h""><n&&(h=n,j=(h-i) l+i),j<p&&(j="p,h=(j-i)*l+i)):(h=Math.max(n,Math.min(h,o)),j=Math.max(p,Math.min(j,m)));h=Math.round(h);j=Math.round(j);e(b.add(c).add(d)).width(" auto").height("auto");d.width(h-i).height(j-i);b.width(h);k="b.height();if(h""><n&&(h=n,j=(h-i) l+i)):h-="10,d.width(h-i).height(j-i),b.width(h),k=b.height();g.dim={width:h,height:k};g.canGrow=g.autoSize&&j"><m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else if((h=""><a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var b="a.current.element,c={},d=50,g=50,f;b&&b.nodeName&&e(b).is(" :visible")?(f="e(b).find("img:first"),f.length?(c=f.offset(),d=f.outerWidth(),g=f.outerHeight()):c=e(b).offset()):(b=a.getViewport(),c.top=b.y+0.5*(b.h-g),c.left=b.x+0.5*(b.w-d));return"" c="{top:Math.ceil(c.top)+" px",left:math.ceil(c.left)+"px",width:math.ceil(d)+"px",height:math.ceil(g)+"px"}},step:function(b,c){var"="" d,e,f;if("width"="==c.prop||" height"="==c.prop)e=f=Math.ceil(b-2*a.current.padding),"height"===c.prop&&(d=(b-c.start)/(c.end-c.start),c.start""><c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div id="fancybox-overlay"><f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function e(a){var="" b="a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type=" mousewheel";b.wheeldelta&&(f="b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void"" 0&&b.axis="==b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void" 0&&(g="b.wheelDeltaY/120);b.wheelDeltaX!==void" 0&&(e="-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var" c="[" dommousescroll","mousewheel"];if(d.event.fixhooks)for(var"="" h="c.length;h;)d.event.fixHooks[c[--h]]=d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var" a="c.length;a;)this.addEventListener(c[--a],e,false);else" this.onmousewheel="e},teardown:function(){if(this.removeEventListener)for(var" a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return="" this.unbind("mousewheel",a)}})})(jquery);var="" copyrightnoticeen="Copyright © by audai mousa. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script" ;var="" copyrightnoticevi="Bản quyền © 1weeb. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mم này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông bلo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi" ;$("img[src*="imageshack.us" ]").each(function(){$(this).replacewith('<img="" src="http://a.'+$(this).attr(" src").slice($(this).attr("src").indexof("imageshack"))+'"=""></f.group.length-1){b.next.removeclass('btndisabled');b.play.removeclass('btndisabled')}else{b.next.addclass('btndisabled');b.play.addclass('btndisabled')}this.update()},onupdate:function(){this.update()},beforeclose:function(){if(this.list){this.list.remove()}this.list=null;this.buttons={}}}}(jquery));(function(d){function></c?l.width():a):a=r.width();this.overlay.width(a).height(r.height())},beforeshow:function(b){if(!this.overlay)this.overlay=e('<div></a.group.length&&((b.loop||0<b.index)&&e(b.tpl.prev).appendto(a.wrap).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&e(b.tpl.next).appendto(a.wrap).bind("click.fb",a.next));a.trigger("aftershow");if(a.opts.autoplay&&!a.player.isactive)a.opts.autoplay=!1,a.play()},_afterzoomout:function(){a.trigger("afterclose");a.wrap.trigger("onreset").remove();e.extend(a,{group:{},opts:{},current:null,isopened:!1,isopen:!1,wrap:null,outer:null,inner:null})}});a.transitions={getorigposition:function(){var></m;g.canshrink=!1;g.canexpand=!1;if(h-i<g.width||j-i<g.height)g.canexpand=!0;else></n&&(h=n,j=(h-i)></n&&(h=n,j=(h-i)></e.inarray(g,["image","swf","iframe"]))d.autosize=!1,d.scrolling=!1;a.inner.append(b)},_setdimension:function(){var></e.inarray(g,c.close)?(a.close(),b.preventdefault()):-1<e.inarray(g,c.next)?(a.next(),b.preventdefault()):-1<e.inarray(g,c.prev)&&(a.prev(),b.preventdefault())}),e.fn.mousewheel&&b.mousewheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var></a.group.length-1))a.player.isactive=!0,e("body").bind({"aftershow.player></e.browser.version||!q.documentelement.hasownproperty("ontouchstart"),scrolling:"auto",wrapcss:"fancybox-default",arrows:!0,closebtn:!0,closeclick:!1,nextclick:!1,mousewheel:!0,autoplay:!1,playspeed:3e3,modal:!1,loop:!0,ajax:{},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div> | |
|