From baf50d300357cb6d1b24926b32a52459e488851a Mon Sep 17 00:00:00 2001 From: spiderr Date: Tue, 28 Dec 2010 18:19:26 -0500 Subject: new plugins --- .../libs/jquery/plugins/colorbox/colorbox.css | 36 + .../jquery/plugins/colorbox/images/controls.png | Bin 0 -> 1633 bytes .../jquery/plugins/colorbox/images/loading.gif | Bin 0 -> 9427 bytes .../jquery/plugins/colorbox/jquery.colorbox-min.js | 2 + .../jquery/plugins/colorbox/jquery.colorbox.js | 772 +++++++++++++++++++++ .../jquery/plugins/colorpicker/css/colorpicker.css | 161 +++++ .../libs/jquery/plugins/colorpicker/css/layout.css | 218 ++++++ .../jquery/plugins/colorpicker/images/Thumbs.db | Bin 0 -> 19968 bytes .../jquery/plugins/colorpicker/images/blank.gif | Bin 0 -> 49 bytes .../colorpicker/images/colorpicker_background.png | Bin 0 -> 1897 bytes .../plugins/colorpicker/images/colorpicker_hex.png | Bin 0 -> 532 bytes .../colorpicker/images/colorpicker_hsb_b.png | Bin 0 -> 970 bytes .../colorpicker/images/colorpicker_hsb_h.png | Bin 0 -> 1012 bytes .../colorpicker/images/colorpicker_hsb_s.png | Bin 0 -> 1171 bytes .../colorpicker/images/colorpicker_indic.gif | Bin 0 -> 86 bytes .../colorpicker/images/colorpicker_overlay.png | Bin 0 -> 10355 bytes .../colorpicker/images/colorpicker_rgb_b.png | Bin 0 -> 970 bytes .../colorpicker/images/colorpicker_rgb_g.png | Bin 0 -> 1069 bytes .../colorpicker/images/colorpicker_rgb_r.png | Bin 0 -> 1066 bytes .../colorpicker/images/colorpicker_select.gif | Bin 0 -> 78 bytes .../colorpicker/images/colorpicker_submit.png | Bin 0 -> 984 bytes .../colorpicker/images/custom_background.png | Bin 0 -> 1916 bytes .../plugins/colorpicker/images/custom_hex.png | Bin 0 -> 562 bytes .../plugins/colorpicker/images/custom_hsb_b.png | Bin 0 -> 1097 bytes .../plugins/colorpicker/images/custom_hsb_h.png | Bin 0 -> 970 bytes .../plugins/colorpicker/images/custom_hsb_s.png | Bin 0 -> 1168 bytes .../plugins/colorpicker/images/custom_indic.gif | Bin 0 -> 86 bytes .../plugins/colorpicker/images/custom_rgb_b.png | Bin 0 -> 1008 bytes .../plugins/colorpicker/images/custom_rgb_g.png | Bin 0 -> 1069 bytes .../plugins/colorpicker/images/custom_rgb_r.png | Bin 0 -> 1018 bytes .../plugins/colorpicker/images/custom_submit.png | Bin 0 -> 3843 bytes .../jquery/plugins/colorpicker/images/select.png | Bin 0 -> 506 bytes .../jquery/plugins/colorpicker/images/select2.png | Bin 0 -> 518 bytes .../jquery/plugins/colorpicker/images/slider.png | Bin 0 -> 315 bytes .../jquery/plugins/colorpicker/js/colorpicker.js | 484 +++++++++++++ .../libs/jquery/plugins/colorpicker/js/eye.js | 34 + .../libs/jquery/plugins/colorpicker/js/layout.js | 67 ++ .../libs/jquery/plugins/colorpicker/js/utils.js | 252 +++++++ 38 files changed, 2026 insertions(+) create mode 100755 javascript/libs/jquery/plugins/colorbox/colorbox.css create mode 100755 javascript/libs/jquery/plugins/colorbox/images/controls.png create mode 100755 javascript/libs/jquery/plugins/colorbox/images/loading.gif create mode 100755 javascript/libs/jquery/plugins/colorbox/jquery.colorbox-min.js create mode 100755 javascript/libs/jquery/plugins/colorbox/jquery.colorbox.js create mode 100755 javascript/libs/jquery/plugins/colorpicker/css/colorpicker.css create mode 100755 javascript/libs/jquery/plugins/colorpicker/css/layout.css create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/Thumbs.db create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/blank.gif create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_background.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_hex.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_hsb_b.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_hsb_h.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_hsb_s.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_indic.gif create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_overlay.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_rgb_b.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_rgb_g.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_rgb_r.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_select.gif create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/colorpicker_submit.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_background.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_hex.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_hsb_b.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_hsb_h.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_hsb_s.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_indic.gif create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_rgb_b.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_rgb_g.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_rgb_r.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/custom_submit.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/select.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/select2.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/images/slider.png create mode 100755 javascript/libs/jquery/plugins/colorpicker/js/colorpicker.js create mode 100755 javascript/libs/jquery/plugins/colorpicker/js/eye.js create mode 100755 javascript/libs/jquery/plugins/colorpicker/js/layout.js create mode 100755 javascript/libs/jquery/plugins/colorpicker/js/utils.js diff --git a/javascript/libs/jquery/plugins/colorbox/colorbox.css b/javascript/libs/jquery/plugins/colorbox/colorbox.css new file mode 100755 index 0000000..a6e3b5b --- /dev/null +++ b/javascript/libs/jquery/plugins/colorbox/colorbox.css @@ -0,0 +1,36 @@ +/* + ColorBox Core Style + The following rules are the styles that are consistant between themes. + Avoid changing this area to maintain compatability with future versions of ColorBox. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative;} +#cboxLoadedContent{overflow:auto;} +#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} + +/* + ColorBox example user style + The following rules are ordered and tabbed in a way that represents the + order/nesting of the generated HTML, so that the structure easier to understand. +*/ +#cboxOverlay{background:#222;} + +#colorbox{} + #cboxContent{margin-top:20px;} + #cboxLoadedContent{background:#222; padding:5px;} + #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;} + #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;} + #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} + #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) top left no-repeat; width:28px; height:65px; text-indent:-9999px;} + #cboxPrevious.hover{background-position:bottom left;} + #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) top right no-repeat; width:28px; height:65px; text-indent:-9999px;} + #cboxNext.hover{background-position:bottom right;} + #cboxLoadingOverlay{background:#000;} + #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;} + #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) top center no-repeat; width:38px; height:19px; text-indent:-9999px;} + #cboxClose.hover{background-position:bottom center;} diff --git a/javascript/libs/jquery/plugins/colorbox/images/controls.png b/javascript/libs/jquery/plugins/colorbox/images/controls.png new file mode 100755 index 0000000..e1e9798 Binary files /dev/null and b/javascript/libs/jquery/plugins/colorbox/images/controls.png differ diff --git a/javascript/libs/jquery/plugins/colorbox/images/loading.gif b/javascript/libs/jquery/plugins/colorbox/images/loading.gif new file mode 100755 index 0000000..19c67bb Binary files /dev/null and b/javascript/libs/jquery/plugins/colorbox/images/loading.gif differ diff --git a/javascript/libs/jquery/plugins/colorbox/jquery.colorbox-min.js b/javascript/libs/jquery/plugins/colorbox/jquery.colorbox-min.js new file mode 100755 index 0000000..2a682ff --- /dev/null +++ b/javascript/libs/jquery/plugins/colorbox/jquery.colorbox-min.js @@ -0,0 +1,2 @@ +/* ColorBox v1.3.7 - a full featured, light-weight, customizable lightbox based on jQuery 1.3 */ +(function(c){function o(b,d){d=d==="x"?n.width():n.height();return typeof b==="string"?Math.round(b.match(/%/)?d/100*parseInt(b,10):parseInt(b,10)):b}function K(b){b=c.isFunction(b)?b.call(h):b;return a.photo||b.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function Y(){for(var b in a)if(c.isFunction(a[b])&&b.substring(0,2)!=="on")a[b]=a[b].call(h);a.rel=a.rel||h.rel||"nofollow";a.href=a.href||c(h).attr("href");a.title=a.title||h.title}function Z(b){h=b;a=c.extend({},c(h).data(s)); Y();if(a.rel!=="nofollow"){j=c(".cboxElement").filter(function(){return(c(this).data(s).rel||this.rel)===a.rel});g=j.index(h);if(g<0){j=j.add(h);g=j.length-1}}else{j=c(h);g=0}if(!q){A=q=l;L=h;try{L.blur()}catch(d){}c.event.trigger(ba);a.onOpen&&a.onOpen.call(h);r.css({opacity:parseFloat(a.opacity),cursor:a.overlayClose?"pointer":"auto"}).show();a.w=o(a.initialWidth,"x");a.h=o(a.initialHeight,"y");e.position(0);M&&n.bind("resize.cboxIE6 scroll.cboxIE6",function(){r.css({width:n.width(),height:n.height(), top:n.scrollTop(),left:n.scrollLeft()})}).trigger("scroll.cboxIE6")}N.add(E).add(F).add(t).add(O).hide();P.html(a.close).show();e.slideshow();e.load()}var s="colorbox",l=true,e,B=c.browser.msie&&!c.support.opacity,M=B&&c.browser.version<7,ba="cbox_open",I="cbox_load",Q="cbox_complete",r,k,x,p,R,S,T,U,j,n,m,J,G,O,N,t,F,E,P,y,z,u,v,h,L,g,a,q,A,$={transition:"elastic",speed:350,width:false,height:false,innerWidth:false,innerHeight:false,initialWidth:"400",initialHeight:"400",maxWidth:false,maxHeight:false, scalePhotos:l,scrolling:l,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:l,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,overlayClose:l,loop:l,slideshow:false,slideshowAuto:l,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false,escKey:l,arrowKey:l};e=c.fn.colorbox=c.colorbox=function(b,d){var f= this;if(f.selector&&!f.length)return f;b=b||{};if(d)b.onComplete=d;if(!f.length||f.selector===undefined){f=c("");b.open=l}f.each(function(){c(this).data(s,c.extend({},c(this).data(s)||$,b)).addClass("cboxElement")});b.open&&Z(f[0]);return f};e.init=function(){function b(d){return c('
')}n=c(window);k=c('
');r=b("Overlay").hide();x=b("Wrapper");p=b("Content").append(m=b("LoadedContent").css({width:0,height:0}),G=b("LoadingOverlay").add(b("LoadingGraphic")), O=b("Title"),N=b("Current"),F=b("Next"),E=b("Previous"),t=b("Slideshow"),P=b("Close"));x.append(c("
").append(b("TopLeft"),R=b("TopCenter"),b("TopRight")),c("
").append(S=b("MiddleLeft"),p,T=b("MiddleRight")),c("
").append(b("BottomLeft"),U=b("BottomCenter"),b("BottomRight"))).children().children().css({"float":"left"});J=c("
");c("body").prepend(r,k.append(x,J));if(B){k.addClass("cboxIE");M&&r.css("position","absolute")}p.children().hover(function(){c(this).addClass("hover")}, function(){c(this).removeClass("hover")}).addClass("hover");y=R.height()+U.height()+p.outerHeight(l)-p.height();z=S.width()+T.width()+p.outerWidth(l)-p.width();u=m.outerHeight(l);v=m.outerWidth(l);k.css({"padding-bottom":y,"padding-right":z}).hide();F.click(e.next);E.click(e.prev);P.click(e.close);p.children().removeClass("hover");c(".cboxElement").live("click",function(d){if(d.button!==0&&typeof d.button!=="undefined"||d.ctrlKey||d.shiftKey||d.altKey)return l;else{Z(this);return false}});r.click(function(){a.overlayClose&& e.close()});c(document).bind("keydown",function(d){if(q&&a.escKey&&d.keyCode===27){d.preventDefault();e.close()}if(q&&a.arrowKey&&!A&&j.length>1)if(d.keyCode===37&&(g>0||a.loop)){d.preventDefault();E.click()}else if(d.keyCode===39&&(g
").children();a.h=b.height();b.replaceWith(b.children())}m.css({height:a.h});e.position(a.transition==="none"?0:a.speed)}};e.prep=function(b){function d(w){var H,C,V,W,D=j.length,X=a.loop;e.position(w,function(){function aa(){B&&k[0].style.removeAttribute("filter")} if(q){B&&f&&m.fadeIn(100);if(a.iframe)c("