Project

General

Profile

« Previous | Next » 

Revision 986

Added by Matthias over 15 years ago

- Added jQuery-insert.js and jQuery plugins (Thanks to Luisehahne)

- Moved images in lQuery plugins folder (Thanks to Luisehahne)

- fixed small german language issue in jscalendar (Thanks to Luisehahne)

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
13-jun-2009 Matthias Gallas
15
+	Added jQuery-insert.js and jQuery plugins (Thanks to Luisehahne)
16
!	Moved images in lQuery plugins folder (Thanks to Luisehahne)
17
#	fixed small german language issue in jscalendar (Thanks to Luisehahne)
14 18
26-May-2009 Matthias Gallas
15 19
+	Added jQuery(1.3.2) and jQueryUI(1.7.1) to WB core (ticket #708)
16 20
21-May-2009 Matthias Gallas
trunk/wb/include/jquery/images/index.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26
header("Location: ../../../index.php");
27

  
28
?>
29 0

  
trunk/wb/include/jquery/plugins/jquery-corner.js
1
/*!
2
 * jQuery corner plugin: simple corner rounding
3
 * Examples and documentation at: http://jquery.malsup.com/corner/
4
 * version 1.96 (11-MAY-2009)
5
 * Dual licensed under the MIT and GPL licenses:
6
 * http://www.opensource.org/licenses/mit-license.php
7
 * http://www.gnu.org/licenses/gpl.html
8
 */
9

  
10
/**
11
 *  corner() takes a single string argument:  $('#myDiv').corner("effect corners width")
12
 *
13
 *  effect:  name of the effect to apply, such as round, bevel, notch, bite, etc (default is round). 
14
 *  corners: one or more of: top, bottom, tr, tl, br, or bl. 
15
 *           by default, all four corners are adorned. 
16
 *  width:   width of the effect; in the case of rounded corners this is the radius. 
17
 *           specify this value using the px suffix such as 10px (and yes, it must be pixels).
18
 *
19
 * @name corner
20
 * @type jQuery
21
 * @param String options Options which control the corner style
22
 * @cat Plugins/Corner
23
 * @return jQuery
24
 * @author Dave Methvin (http://methvin.com/jquery/jq-corner.html)
25
 * @author Mike Alsup   (http://jquery.malsup.com/corner/)
26
 */
27
;(function($) { 
28

  
29
var expr = (function() {
30
    var div = document.createElement('div');
31
    try { div.style.setExpression('width','0+0'); }
32
    catch(e) { return false; }
33
    return true;
34
})();
35
    
36
function sz(el, p) { 
37
    return parseInt($.css(el,p))||0; 
38
};
39
function hex2(s) {
40
    var s = parseInt(s).toString(16);
41
    return ( s.length < 2 ) ? '0'+s : s;
42
};
43
function gpc(node) {
44
    for ( ; node && node.nodeName.toLowerCase() != 'html'; node = node.parentNode ) {
45
        var v = $.css(node,'backgroundColor');
46
        if ( v.indexOf('rgb') >= 0 ) { 
47
            if ($.browser.safari && v == 'rgba(0, 0, 0, 0)')
48
                continue;
49
            var rgb = v.match(/\d+/g); 
50
            return '#'+ hex2(rgb[0]) + hex2(rgb[1]) + hex2(rgb[2]);
51
        }
52
        if ( v && v != 'transparent' )
53
            return v;
54
    }
55
    return '#ffffff';
56
};
57

  
58
function getWidth(fx, i, width) {
59
    switch(fx) {
60
    case 'round':  return Math.round(width*(1-Math.cos(Math.asin(i/width))));
61
    case 'cool':   return Math.round(width*(1+Math.cos(Math.asin(i/width))));
62
    case 'sharp':  return Math.round(width*(1-Math.cos(Math.acos(i/width))));
63
    case 'bite':   return Math.round(width*(Math.cos(Math.asin((width-i-1)/width))));
64
    case 'slide':  return Math.round(width*(Math.atan2(i,width/i)));
65
    case 'jut':    return Math.round(width*(Math.atan2(width,(width-i-1))));
66
    case 'curl':   return Math.round(width*(Math.atan(i)));
67
    case 'tear':   return Math.round(width*(Math.cos(i)));
68
    case 'wicked': return Math.round(width*(Math.tan(i)));
69
    case 'long':   return Math.round(width*(Math.sqrt(i)));
70
    case 'sculpt': return Math.round(width*(Math.log((width-i-1),width)));
71
    case 'dog':    return (i&1) ? (i+1) : width;
72
    case 'dog2':   return (i&2) ? (i+1) : width;
73
    case 'dog3':   return (i&3) ? (i+1) : width;
74
    case 'fray':   return (i%2)*width;
75
    case 'notch':  return width; 
76
    case 'bevel':  return i+1;
77
    }
78
};
79

  
80
$.fn.corner = function(o) {
81
    // in 1.3+ we can fix mistakes with the ready state
82
	if (this.length == 0) {
83
        if (!$.isReady && this.selector) {
84
            var s = this.selector, c = this.context;
85
            $(function() {
86
                $(s,c).corner(o);
87
            });
88
        }
89
        return this;
90
	}
91

  
92
    o = (o||"").toLowerCase();
93
    var keep = /keep/.test(o);                       // keep borders?
94
    var cc = ((o.match(/cc:(#[0-9a-f]+)/)||[])[1]);  // corner color
95
    var sc = ((o.match(/sc:(#[0-9a-f]+)/)||[])[1]);  // strip color
96
    var width = parseInt((o.match(/(\d+)px/)||[])[1]) || 10; // corner width
97
    var re = /round|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dog/;
98
    var fx = ((o.match(re)||['round'])[0]);
99
    var edges = { T:0, B:1 };
100
    var opts = {
101
        TL:  /top|tl/.test(o),       TR:  /top|tr/.test(o),
102
        BL:  /bottom|bl/.test(o),    BR:  /bottom|br/.test(o)
103
    };
104
    if ( !opts.TL && !opts.TR && !opts.BL && !opts.BR )
105
        opts = { TL:1, TR:1, BL:1, BR:1 };
106
    var strip = document.createElement('div');
107
    strip.style.overflow = 'hidden';
108
    strip.style.height = '1px';
109
    strip.style.backgroundColor = sc || 'transparent';
110
    strip.style.borderStyle = 'solid';
111
    return this.each(function(index){
112
        var pad = {
113
            T: parseInt($.css(this,'paddingTop'))||0,     R: parseInt($.css(this,'paddingRight'))||0,
114
            B: parseInt($.css(this,'paddingBottom'))||0,  L: parseInt($.css(this,'paddingLeft'))||0
115
        };
116

  
117
        if (typeof this.style.zoom != undefined) this.style.zoom = 1; // force 'hasLayout' in IE
118
        if (!keep) this.style.border = 'none';
119
        strip.style.borderColor = cc || gpc(this.parentNode);
120
        var cssHeight = $.curCSS(this, 'height');
121

  
122
        for (var j in edges) {
123
            var bot = edges[j];
124
            // only add stips if needed
125
            if ((bot && (opts.BL || opts.BR)) || (!bot && (opts.TL || opts.TR))) {
126
                strip.style.borderStyle = 'none '+(opts[j+'R']?'solid':'none')+' none '+(opts[j+'L']?'solid':'none');
127
                var d = document.createElement('div');
128
                $(d).addClass('jquery-corner');
129
                var ds = d.style;
130

  
131
                bot ? this.appendChild(d) : this.insertBefore(d, this.firstChild);
132

  
133
                if (bot && cssHeight != 'auto') {
134
                    if ($.css(this,'position') == 'static')
135
                        this.style.position = 'relative';
136
                    ds.position = 'absolute';
137
                    ds.bottom = ds.left = ds.padding = ds.margin = '0';
138
                    if (expr)
139
                        ds.setExpression('width', 'this.parentNode.offsetWidth');
140
                    else
141
                        ds.width = '100%';
142
                }
143
                else if (!bot && $.browser.msie) {
144
                    if ($.css(this,'position') == 'static')
145
                        this.style.position = 'relative';
146
                    ds.position = 'absolute';
147
                    ds.top = ds.left = ds.right = ds.padding = ds.margin = '0';
148
                    
149
                    // fix ie6 problem when blocked element has a border width
150
                    if (expr) {
151
                        var bw = sz(this,'borderLeftWidth') + sz(this,'borderRightWidth');
152
                        ds.setExpression('width', 'this.parentNode.offsetWidth - '+bw+'+ "px"');
153
                    }
154
                    else
155
                        ds.width = '100%';
156
                }
157
                else {
158
                    ds.margin = !bot ? '-'+pad.T+'px -'+pad.R+'px '+(pad.T-width)+'px -'+pad.L+'px' : 
159
                                        (pad.B-width)+'px -'+pad.R+'px -'+pad.B+'px -'+pad.L+'px';                
160
                }
161

  
162
                for (var i=0; i < width; i++) {
163
                    var w = Math.max(0,getWidth(fx,i, width));
164
                    var e = strip.cloneNode(false);
165
                    e.style.borderWidth = '0 '+(opts[j+'R']?w:0)+'px 0 '+(opts[j+'L']?w:0)+'px';
166
                    bot ? d.appendChild(e) : d.insertBefore(e, d.firstChild);
167
                }
168
            }
169
        }
170
    });
171
};
172

  
173
$.fn.uncorner = function() { 
174
	$('div.jquery-corner', this).remove();
175
	return this;
176
};
177
    
178
})(jQuery);
trunk/wb/include/jquery/plugins/jquery-fixedheader.js
1
/**
2
 * Stupid Fixed Header 1.0.1 - jQuery plugins to create a fixed headers
3
 * 
4
 * Require: jQuery 1.2.6
5
 * Author: Jacky See
6
 * Blog: http://jacky.seezone.net
7
 * email:  jackysee at gmail dot com
8
 * Dual licensed under the MIT and GPL licenses:
9
 *   http://www.opensource.org/licenses/mit-license.php
10
 *   http://www.gnu.org/licenses/gpl.html
11
*/
12

  
13
(function($){
14
	
15
	/* created fixed headers , require jquery dimenions plugins*/
16
	$.fn.fixedHeader = function(o){
17
		var s = {adjustWidth: $.fixedHeader.calcWidth};
18
		if(o) $.extend(s,o);
19
		
20
		return this.each(function(){
21
			var table = $(this); //table
22
			var tId = this.id;
23
			
24
			var scrollBarWidth = $.fixedHeader.getScrollBarWidth();
25
			var IE6 = $.browser.msie && $.browser.version == '6.0';
26
			
27
			//wrap a body container
28
			var bodyContainer = table.wrap('<div></div>').parent()
29
				.attr('id', tId + "_body_container")
30
				.css({
31
					width: s.width,
32
					height: s.height,
33
					overflow: 'auto'
34
				});
35
			
36
			//Wrap with an overall container
37
			var tableContainer = bodyContainer.wrap('<div></div>').parent()
38
				.attr('id', tId + '_table_container')
39
				.css('position','relative');
40

  
41
			//clone the header
42
			var headerContainer = $(document.createElement('div'))
43
				.attr('id', tId + '_header_container')
44
				.css({
45
					width:  bodyContainer.innerWidth() - scrollBarWidth,
46
					height: table.find('thead').outerHeight(), 
47
					overflow: 'hidden',
48
					top: 0, left:0
49
				})
50
				.prependTo(tableContainer);
51
			
52
			var headerTable = table.clone(true)
53
				.find('tbody').remove().end()
54
				.attr('id',tId + "_header")
55
				.addClass(s.tableClass || table[0].className)
56
				.css({
57
					//width: $.browser.msie? table.outerWidth():table.width(), 
58
					'table-layout':'fixed',
59
					position:'absolute',
60
					top:0, left:0
61
				})
62
				.append(table.find('thead').clone(true))
63
				.appendTo(headerContainer);
64
			
65
			//sync header width
66
			var headThs = headerTable.find('th');
67
			table.find('th').each(function(i){
68
				headThs.eq(i).css('width', s.adjustWidth(this));
69
			})
70
			
71
			//sync scroll
72
			var selects = IE6? table.find("select"): null;
73
			bodyContainer.scroll(function(){
74
				if(IE6 && selects.size()>0){
75
					selects.each(function(i){
76
						this.style.visibility =
77
							($(this).offset().top - bodyContainer.offset().top) <= table.find("thead").outerHeight() + 10
78
							? 'hidden':'visible';
79
					});
80
				}
81
				headerTable.css({
82
					left: '-' + $(this).scrollLeft() + 'px'
83
				});
84
			})
85
			
86
			//Move it down
87
			headerContainer.css({
88
				'position': 'absolute',
89
				'top': 0
90
			});
91
		});
92
	}
93
	
94
	$.fixedHeader = {
95
		calcWidth: function(th){
96
			var w = $(th).width();
97
			var paddingLeft = $.fixedHeader.getComputedStyleInPx(th,'paddingLeft');
98
			var paddingRight = $.fixedHeader.getComputedStyleInPx(th,'paddingRight');
99
			var borderWidth = $.fixedHeader.getComputedStyleInPx(th,'borderRightWidth');			
100
			if($.browser.msie) w = w+borderWidth;
101
			if($.browser.opera) w = w+borderWidth;
102
			if($.browser.safari) w = w+paddingLeft+paddingRight+borderWidth*2;
103
			if($.browser.mozilla && parseFloat($.browser.version) <= 1.8) w=w+borderWidth; //FF2 still got a border-left missing problem, this is the best I can do.
104
			return w;
105
		},
106
		getComputedStyleInPx: function(elem,style){
107
			var computedStyle = (typeof elem.currentStyle != 'undefined')
108
				?elem.currentStyle
109
				:document.defaultView.getComputedStyle(elem, null);
110
			var val = computedStyle[style];
111
			val = val? parseInt(val.replace("px","")):0;
112
			return (!val || val == 'NaN')?0:val;
113
		},
114
		getScrollBarWidth: function() { //calculate or get from global the scroll bar width
115
			if(!$.fixedHeader.scrollBarWidth){ 
116
				var inner = $(document.createElement('p')).css({width:'100%',height:'100%'});
117
				var outer = $(document.createElement('div'))
118
					.css({
119
						position:'absolute',
120
						top: '0px',
121
						left: '0px',
122
						visibility: 'hidden',
123
						width: '200px',
124
						height: '150px',
125
						overflow: 'hidden'
126
					})
127
					.append(inner)
128
					.appendTo(document.body);
129
				
130
				var w1 = inner[0].offsetWidth;
131
				outer[0].style.overflow = 'scroll';
132
				var w2 = inner[0].offsetWidth;
133
				if (w1 == w2) w2 = outer[0].clientWidth;
134
				document.body.removeChild (outer[0]);
135
				$.fixedHeader.scrollBarWidth = (w1 - w2);
136
			}
137
			return $.fixedHeader.scrollBarWidth;
138
		}
139
	}
140
	
141
})(jQuery);
trunk/wb/include/jquery/plugins/jquery-fancybox.js
1
/*
2
 * FancyBox - simple jQuery plugin for fancy image zooming
3
 * Examples and documentation at: http://fancy.klade.lv/
4
 * Version: 1.0.0 (29/04/2008)
5
 * Copyright (c) 2008 Janis Skarnelis
6
 * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
7
 * Requires: jQuery v1.2.1 or later
8
*/
9
(function($) {
10
	var opts = {}, 
11
		imgPreloader = new Image, imgTypes = ['png', 'jpg', 'jpeg', 'gif'], 
12
		loadingTimer, loadingFrame = 1;
13

  
14
   $.fn.fancybox = function(settings) {
15
		opts.settings = $.extend({}, $.fn.fancybox.defaults, settings);
16

  
17
		$.fn.fancybox.init();
18

  
19
		return this.each(function() {
20
			var $this = $(this);
21
			var o = $.metadata ? $.extend({}, opts.settings, $this.metadata()) : opts.settings;
22

  
23
			$this.unbind('click').click(function() {
24
				$.fn.fancybox.start(this, o); return false;
25
			});
26
		});
27
	};
28

  
29
	$.fn.fancybox.start = function(el, o) {
30
		if (opts.animating) return false;
31

  
32
		if (o.overlayShow) {
33
			$("#fancy_wrap").prepend('<div id="fancy_overlay"></div>');
34
			$("#fancy_overlay").css({'width': $(window).width(), 'height': $(document).height(), 'opacity': o.overlayOpacity});
35

  
36
			if ($.browser.msie) {
37
				$("#fancy_wrap").prepend('<iframe id="fancy_bigIframe" scrolling="no" frameborder="0"></iframe>');
38
				$("#fancy_bigIframe").css({'width': $(window).width(), 'height': $(document).height(), 'opacity': 0});
39
			}
40

  
41
			$("#fancy_overlay").click($.fn.fancybox.close);
42
		}
43

  
44
		opts.itemArray	= [];
45
		opts.itemNum	= 0;
46

  
47
		if (jQuery.isFunction(o.itemLoadCallback)) {
48
		   o.itemLoadCallback.apply(this, [opts]);
49

  
50
			var c	= $(el).children("img:first").length ? $(el).children("img:first") : $(el);
51
			var tmp	= {'width': c.width(), 'height': c.height(), 'pos': $.fn.fancybox.getPosition(c)}
52

  
53
		   for (var i = 0; i < opts.itemArray.length; i++) {
54
				opts.itemArray[i].o = $.extend({}, o, opts.itemArray[i].o);
55
				
56
				if (o.zoomSpeedIn > 0 || o.zoomSpeedOut > 0) {
57
					opts.itemArray[i].orig = tmp;
58
				}
59
		   }
60

  
61
		} else {
62
			if (!el.rel || el.rel == '') {
63
				var item = {url: el.href, title: el.title, o: o};
64

  
65
				if (o.zoomSpeedIn > 0 || o.zoomSpeedOut > 0) {
66
					var c = $(el).children("img:first").length ? $(el).children("img:first") : $(el);
67
					item.orig = {'width': c.width(), 'height': c.height(), 'pos': $.fn.fancybox.getPosition(c)}
68
				}
69

  
70
				opts.itemArray.push(item);
71

  
72
			} else {
73
				var arr	= $("a[@rel=" + el.rel + "]").get();
74

  
75
				for (var i = 0; i < arr.length; i++) {
76
					var tmp		= $.metadata ? $.extend({}, o, $(arr[i]).metadata()) : o;
77
   					var item	= {url: arr[i].href, title: arr[i].title, o: tmp};
78

  
79
   					if (o.zoomSpeedIn > 0 || o.zoomSpeedOut > 0) {
80
						var c = $(arr[i]).children("img:first").length ? $(arr[i]).children("img:first") : $(el);
81

  
82
						item.orig = {'width': c.width(), 'height': c.height(), 'pos': $.fn.fancybox.getPosition(c)}
83
					}
84

  
85
					if (arr[i].href == el.href) opts.itemNum = i;
86

  
87
					opts.itemArray.push(item);
88
				}
89
			}
90
		}
91

  
92
		$.fn.fancybox.changeItem(opts.itemNum);
93
	};
94

  
95
	$.fn.fancybox.changeItem = function(n) {
96
		$.fn.fancybox.showLoading();
97

  
98
		opts.itemNum = n;
99

  
100
		$("#fancy_nav").empty();
101
		$("#fancy_outer").stop();
102
		$("#fancy_title").hide();
103
		$(document).unbind("keydown");
104

  
105
		imgRegExp = imgTypes.join('|');
106
    	imgRegExp = new RegExp('\.' + imgRegExp + '$', 'i');
107

  
108
		var url = opts.itemArray[n].url;
109

  
110
		if (url.match(/#/)) {
111
			var target = window.location.href.split('#')[0]; target = url.replace(target,'');
112

  
113
	        $.fn.fancybox.showItem('<div id="fancy_div">' + $(target).html() + '</div>');
114

  
115
	        $("#fancy_loading").hide();
116

  
117
		} else if (url.match(imgRegExp)) {
118
			$(imgPreloader).unbind('load').bind('load', function() {
119
				$("#fancy_loading").hide();
120

  
121
				opts.itemArray[n].o.frameWidth	= imgPreloader.width;
122
				opts.itemArray[n].o.frameHeight	= imgPreloader.height;
123

  
124
				$.fn.fancybox.showItem('<img id="fancy_img" src="' + imgPreloader.src + '" />');
125

  
126
			}).attr('src', url + '?rand=' + Math.floor(Math.random() * 999999999) );
127

  
128
		} else {
129
			$.fn.fancybox.showItem('<iframe id="fancy_frame" onload="$.fn.fancybox.showIframe()" name="fancy_iframe' + Math.round(Math.random()*1000) + '" frameborder="0" hspace="0" src="' + url + '"></iframe>');
130
		}
131
	};
132

  
133
	$.fn.fancybox.showIframe = function() {
134
		$("#fancy_loading").hide();
135
		$("#fancy_frame").show();
136
	};
137

  
138
	$.fn.fancybox.showItem = function(val) {
139
		$.fn.fancybox.preloadNeighborImages();
140

  
141
		var viewportPos	= $.fn.fancybox.getViewport();
142
		var itemSize	= $.fn.fancybox.getMaxSize(viewportPos[0] - 50, viewportPos[1] - 100, opts.itemArray[opts.itemNum].o.frameWidth, opts.itemArray[opts.itemNum].o.frameHeight);
143

  
144
		var itemLeft	= viewportPos[2] + Math.round((viewportPos[0] - itemSize[0]) / 2) - 20;
145
		var itemTop		= viewportPos[3] + Math.round((viewportPos[1] - itemSize[1]) / 2) - 40;
146

  
147
		var itemOpts = {
148
			'left':		itemLeft, 
149
			'top':		itemTop, 
150
			'width':	itemSize[0] + 'px', 
151
			'height':	itemSize[1] + 'px'	
152
		}
153

  
154
		if (opts.active) {
155
			$('#fancy_content').fadeOut("normal", function() {
156
				$("#fancy_content").empty();
157
				
158
				$("#fancy_outer").animate(itemOpts, "normal", function() {
159
					$("#fancy_content").append($(val)).fadeIn("normal");
160
					$.fn.fancybox.updateDetails();
161
				});
162
			});
163

  
164
		} else {
165
			opts.active = true;
166

  
167
			$("#fancy_content").empty();
168

  
169
			if ($("#fancy_content").is(":animated")) {
170
				console.info('animated!');
171
			}
172

  
173
			if (opts.itemArray[opts.itemNum].o.zoomSpeedIn > 0) {
174
				opts.animating		= true;
175
				itemOpts.opacity	= "show";
176

  
177
				$("#fancy_outer").css({
178
					'top':		opts.itemArray[opts.itemNum].orig.pos.top - 18,
179
					'left':		opts.itemArray[opts.itemNum].orig.pos.left - 18,
180
					'height':	opts.itemArray[opts.itemNum].orig.height,
181
					'width':	opts.itemArray[opts.itemNum].orig.width
182
				});
183

  
184
				$("#fancy_content").append($(val)).show();
185

  
186
				$("#fancy_outer").animate(itemOpts, opts.itemArray[opts.itemNum].o.zoomSpeedIn, function() {
187
					opts.animating = false;
188
					$.fn.fancybox.updateDetails();
189
				});
190

  
191
			} else {
192
				$("#fancy_content").append($(val)).show();
193
				$("#fancy_outer").css(itemOpts).show();
194
				$.fn.fancybox.updateDetails();
195
			}
196
		 }
197
	};
198

  
199
	$.fn.fancybox.updateDetails = function() {
200
		$("#fancy_bg,#fancy_close").show();
201

  
202
		if (opts.itemArray[opts.itemNum].title !== undefined && opts.itemArray[opts.itemNum].title !== '') {
203
			$('#fancy_title div').html(opts.itemArray[opts.itemNum].title);
204
			$('#fancy_title').show();
205
		}
206

  
207
		if (opts.itemArray[opts.itemNum].o.hideOnContentClick) {
208
			$("#fancy_content").click($.fn.fancybox.close);
209
		} else {
210
			$("#fancy_content").unbind('click');
211
		}
212

  
213
		if (opts.itemNum != 0) {
214
			$("#fancy_nav").append('<a id="fancy_left" href="javascript:;"></a>');
215

  
216
			$('#fancy_left').click(function() {
217
				$.fn.fancybox.changeItem(opts.itemNum - 1); return false;
218
			});
219
		}
220

  
221
		if (opts.itemNum != (opts.itemArray.length - 1)) {
222
			$("#fancy_nav").append('<a id="fancy_right" href="javascript:;"></a>');
223
			
224
			$('#fancy_right').click(function(){
225
				$.fn.fancybox.changeItem(opts.itemNum + 1); return false;
226
			});
227
		}
228

  
229
		$(document).keydown(function(event) {
230
			if (event.keyCode == 27) {
231
            	$.fn.fancybox.close();
232

  
233
			} else if(event.keyCode == 37 && opts.itemNum != 0) {
234
            	$.fn.fancybox.changeItem(opts.itemNum - 1);
235

  
236
			} else if(event.keyCode == 39 && opts.itemNum != (opts.itemArray.length - 1)) {
237
            	$.fn.fancybox.changeItem(opts.itemNum + 1);
238
			}
239
		});
240
	};
241

  
242
	$.fn.fancybox.preloadNeighborImages = function() {
243
		if ((opts.itemArray.length - 1) > opts.itemNum) {
244
			preloadNextImage = new Image();
245
			preloadNextImage.src = opts.itemArray[opts.itemNum + 1].url;
246
		}
247

  
248
		if (opts.itemNum > 0) {
249
			preloadPrevImage = new Image();
250
			preloadPrevImage.src = opts.itemArray[opts.itemNum - 1].url;
251
		}
252
	};
253

  
254
	$.fn.fancybox.close = function() {
255
		if (opts.animating) return false;
256

  
257
		$(imgPreloader).unbind('load');
258
		$(document).unbind("keydown");
259

  
260
		$("#fancy_loading,#fancy_title,#fancy_close,#fancy_bg").hide();
261

  
262
		$("#fancy_nav").empty();
263

  
264
		opts.active	= false;
265

  
266
		if (opts.itemArray[opts.itemNum].o.zoomSpeedOut > 0) {
267
			var itemOpts = {
268
				'top':		opts.itemArray[opts.itemNum].orig.pos.top - 18,
269
				'left':		opts.itemArray[opts.itemNum].orig.pos.left - 18,
270
				'height':	opts.itemArray[opts.itemNum].orig.height,
271
				'width':	opts.itemArray[opts.itemNum].orig.width,
272
				'opacity':	'hide'
273
			};
274

  
275
			opts.animating = true;
276

  
277
			$("#fancy_outer").animate(itemOpts, opts.itemArray[opts.itemNum].o.zoomSpeedOut, function() {
278
				$("#fancy_content").hide().empty();
279
				$("#fancy_overlay,#fancy_bigIframe").remove();
280
				opts.animating = false;
281
			});
282

  
283
		} else {
284
			$("#fancy_outer").hide();
285
			$("#fancy_content").hide().empty();
286
			$("#fancy_overlay,#fancy_bigIframe").fadeOut("fast").remove();
287
		}
288
	};
289

  
290
	$.fn.fancybox.showLoading = function() {
291
		clearInterval(loadingTimer);
292

  
293
		var pos = $.fn.fancybox.getViewport();
294

  
295
		$("#fancy_loading").css({'left': ((pos[0] - 40) / 2 + pos[2]), 'top': ((pos[1] - 40) / 2 + pos[3])}).show();
296
		$("#fancy_loading").bind('click', $.fn.fancybox.close);
297
		
298
		loadingTimer = setInterval($.fn.fancybox.animateLoading, 66);
299
	};
300

  
301
	$.fn.fancybox.animateLoading = function(el, o) {
302
		if (!$("#fancy_loading").is(':visible')){
303
			clearInterval(loadingTimer);
304
			return;
305
		}
306

  
307
		$("#fancy_loading > div").css('top', (loadingFrame * -40) + 'px');
308

  
309
		loadingFrame = (loadingFrame + 1) % 12;
310
	};
311

  
312
	$.fn.fancybox.init = function() {
313
		if (!$('#fancy_wrap').length) {
314
			$('<div id="fancy_wrap"><div id="fancy_loading"><div></div></div><div id="fancy_outer"><div id="fancy_inner"><div id="fancy_nav"></div><div id="fancy_close"></div><div id="fancy_content"></div><div id="fancy_title"></div></div></div></div>').appendTo("body");
315
			$('<div id="fancy_bg"><div class="fancy_bg fancy_bg_n"></div><div class="fancy_bg fancy_bg_ne"></div><div class="fancy_bg fancy_bg_e"></div><div class="fancy_bg fancy_bg_se"></div><div class="fancy_bg fancy_bg_s"></div><div class="fancy_bg fancy_bg_sw"></div><div class="fancy_bg fancy_bg_w"></div><div class="fancy_bg fancy_bg_nw"></div></div>').prependTo("#fancy_inner");
316
			
317
			$('<table cellspacing="0" cellpadding="0" border="0"><tr><td id="fancy_title_left"></td><td id="fancy_title_main"><div></div></td><td id="fancy_title_right"></td></tr></table>').appendTo('#fancy_title');
318
		}
319

  
320
		if ($.browser.msie) {
321
			$("#fancy_inner").prepend('<iframe id="fancy_freeIframe" scrolling="no" frameborder="0"></iframe>');
322
		}
323

  
324
		if (jQuery.fn.pngFix) $(document).pngFix();
325

  
326
    	$("#fancy_close").click($.fn.fancybox.close);
327
	};
328

  
329
	$.fn.fancybox.getPosition = function(el) {
330
		var pos = el.offset();
331

  
332
		pos.top	+= $.fn.fancybox.num(el, 'paddingTop');
333
		pos.top	+= $.fn.fancybox.num(el, 'borderTopWidth');
334

  
335
 		pos.left += $.fn.fancybox.num(el, 'paddingLeft');
336
		pos.left += $.fn.fancybox.num(el, 'borderLeftWidth');
337

  
338
		return pos;
339
	};
340

  
341
	$.fn.fancybox.num = function (el, prop) {
342
		return parseInt($.curCSS(el.jquery?el[0]:el,prop,true))||0;
343
	};
344

  
345
	$.fn.fancybox.getPageScroll = function() {
346
		var xScroll, yScroll;
347

  
348
		if (self.pageYOffset) {
349
			yScroll = self.pageYOffset;
350
			xScroll = self.pageXOffset;
351
		} else if (document.documentElement && document.documentElement.scrollTop) {
352
			yScroll = document.documentElement.scrollTop;
353
			xScroll = document.documentElement.scrollLeft;
354
		} else if (document.body) {
355
			yScroll = document.body.scrollTop;
356
			xScroll = document.body.scrollLeft;	
357
		}
358

  
359
		return [xScroll, yScroll]; 
360
	};
361

  
362
	$.fn.fancybox.getViewport = function() {
363
		var scroll = $.fn.fancybox.getPageScroll();
364

  
365
		return [$(window).width(), $(window).height(), scroll[0], scroll[1]];
366
	};
367

  
368
	$.fn.fancybox.getMaxSize = function(maxWidth, maxHeight, imageWidth, imageHeight) {
369
		var r = Math.min(Math.min(maxWidth, imageWidth) / imageWidth, Math.min(maxHeight, imageHeight) / imageHeight);
370

  
371
		return [Math.round(r * imageWidth), Math.round(r * imageHeight)];
372
	};
373

  
374
	$.fn.fancybox.defaults = {
375
		hideOnContentClick:	false,
376
		zoomSpeedIn:		500,
377
		zoomSpeedOut:		500,
378
		frameWidth:			600,
379
		frameHeight:		400,
380
		overlayShow:		false,
381
		overlayOpacity:		0.4,
382
		itemLoadCallback:	null
383
	};
384
})(jQuery);
trunk/wb/include/jquery/plugins/jquery-ui.css
1
/*
2
* jQuery UI CSS Framework
3
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
4
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
5
*/
6

  
7
/* Layout helpers
8
----------------------------------*/
9
.ui-helper-hidden { display: none; }
10
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
11
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
12
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
13
.ui-helper-clearfix { display: inline-block; }
14
/* required comment for clearfix to work in Opera \*/
15
* html .ui-helper-clearfix { height:1%; }
16
.ui-helper-clearfix { display:block; }
17
/* end clearfix */
18
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
19

  
20

  
21
/* Interaction Cues
22
----------------------------------*/
23
.ui-state-disabled { cursor: default !important; }
24

  
25

  
26
/* Icons
27
----------------------------------*/
28

  
29
/* states and images */
30
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
31

  
32

  
33
/* Misc visuals
34
----------------------------------*/
35

  
36
/* Overlays */
37
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
38

  
39
/*
40
* jQuery UI CSS Framework
41
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
42
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
43
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
44
*/
45

  
46

  
47
/* Component containers
48
----------------------------------*/
49
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
50
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
51
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
52
.ui-widget-content a { color: #222222; }
53
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
54
.ui-widget-header a { color: #222222; }
55

  
56
/* Interaction states
57
----------------------------------*/
58
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; outline: none; }
59
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; outline: none; }
60
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
61
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; outline: none; }
62
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
63
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; outline: none; text-decoration: none; }
64

  
65
/* Interaction Cues
66
----------------------------------*/
67
.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
68
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }
69
.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
70
.ui-state-error a, .ui-widget-content .ui-state-error a { color: #cd0a0a; }
71
.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; }
72
.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
73
.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; }
74
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
75

  
76
/* Icons
77
----------------------------------*/
78

  
79
/* states and images */
80
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
81
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
82
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
83
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
84
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
85
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
86
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
87
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
88

  
89
/* positioning */
90
.ui-icon-carat-1-n { background-position: 0 0; }
91
.ui-icon-carat-1-ne { background-position: -16px 0; }
92
.ui-icon-carat-1-e { background-position: -32px 0; }
93
.ui-icon-carat-1-se { background-position: -48px 0; }
94
.ui-icon-carat-1-s { background-position: -64px 0; }
95
.ui-icon-carat-1-sw { background-position: -80px 0; }
96
.ui-icon-carat-1-w { background-position: -96px 0; }
97
.ui-icon-carat-1-nw { background-position: -112px 0; }
98
.ui-icon-carat-2-n-s { background-position: -128px 0; }
99
.ui-icon-carat-2-e-w { background-position: -144px 0; }
100
.ui-icon-triangle-1-n { background-position: 0 -16px; }
101
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
102
.ui-icon-triangle-1-e { background-position: -32px -16px; }
103
.ui-icon-triangle-1-se { background-position: -48px -16px; }
104
.ui-icon-triangle-1-s { background-position: -64px -16px; }
105
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
106
.ui-icon-triangle-1-w { background-position: -96px -16px; }
107
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
108
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
109
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
110
.ui-icon-arrow-1-n { background-position: 0 -32px; }
111
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
112
.ui-icon-arrow-1-e { background-position: -32px -32px; }
113
.ui-icon-arrow-1-se { background-position: -48px -32px; }
114
.ui-icon-arrow-1-s { background-position: -64px -32px; }
115
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
116
.ui-icon-arrow-1-w { background-position: -96px -32px; }
117
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
118
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
119
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
120
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
121
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
122
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
123
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
124
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
125
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
126
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
127
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
128
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
129
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
130
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
131
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
132
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
133
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
134
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
135
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
136
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
137
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
138
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
139
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
140
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
141
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
142
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
143
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
144
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
145
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
146
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
147
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
148
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
149
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
150
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
151
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
152
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
153
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
154
.ui-icon-arrow-4 { background-position: 0 -80px; }
155
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
156
.ui-icon-extlink { background-position: -32px -80px; }
157
.ui-icon-newwin { background-position: -48px -80px; }
158
.ui-icon-refresh { background-position: -64px -80px; }
159
.ui-icon-shuffle { background-position: -80px -80px; }
160
.ui-icon-transfer-e-w { background-position: -96px -80px; }
161
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
162
.ui-icon-folder-collapsed { background-position: 0 -96px; }
163
.ui-icon-folder-open { background-position: -16px -96px; }
164
.ui-icon-document { background-position: -32px -96px; }
165
.ui-icon-document-b { background-position: -48px -96px; }
166
.ui-icon-note { background-position: -64px -96px; }
167
.ui-icon-mail-closed { background-position: -80px -96px; }
168
.ui-icon-mail-open { background-position: -96px -96px; }
169
.ui-icon-suitcase { background-position: -112px -96px; }
170
.ui-icon-comment { background-position: -128px -96px; }
171
.ui-icon-person { background-position: -144px -96px; }
172
.ui-icon-print { background-position: -160px -96px; }
173
.ui-icon-trash { background-position: -176px -96px; }
174
.ui-icon-locked { background-position: -192px -96px; }
175
.ui-icon-unlocked { background-position: -208px -96px; }
176
.ui-icon-bookmark { background-position: -224px -96px; }
177
.ui-icon-tag { background-position: -240px -96px; }
178
.ui-icon-home { background-position: 0 -112px; }
179
.ui-icon-flag { background-position: -16px -112px; }
180
.ui-icon-calendar { background-position: -32px -112px; }
181
.ui-icon-cart { background-position: -48px -112px; }
182
.ui-icon-pencil { background-position: -64px -112px; }
183
.ui-icon-clock { background-position: -80px -112px; }
184
.ui-icon-disk { background-position: -96px -112px; }
185
.ui-icon-calculator { background-position: -112px -112px; }
186
.ui-icon-zoomin { background-position: -128px -112px; }
187
.ui-icon-zoomout { background-position: -144px -112px; }
188
.ui-icon-search { background-position: -160px -112px; }
189
.ui-icon-wrench { background-position: -176px -112px; }
190
.ui-icon-gear { background-position: -192px -112px; }
191
.ui-icon-heart { background-position: -208px -112px; }
192
.ui-icon-star { background-position: -224px -112px; }
193
.ui-icon-link { background-position: -240px -112px; }
194
.ui-icon-cancel { background-position: 0 -128px; }
195
.ui-icon-plus { background-position: -16px -128px; }
196
.ui-icon-plusthick { background-position: -32px -128px; }
197
.ui-icon-minus { background-position: -48px -128px; }
198
.ui-icon-minusthick { background-position: -64px -128px; }
199
.ui-icon-close { background-position: -80px -128px; }
200
.ui-icon-closethick { background-position: -96px -128px; }
201
.ui-icon-key { background-position: -112px -128px; }
202
.ui-icon-lightbulb { background-position: -128px -128px; }
203
.ui-icon-scissors { background-position: -144px -128px; }
204
.ui-icon-clipboard { background-position: -160px -128px; }
205
.ui-icon-copy { background-position: -176px -128px; }
206
.ui-icon-contact { background-position: -192px -128px; }
207
.ui-icon-image { background-position: -208px -128px; }
208
.ui-icon-video { background-position: -224px -128px; }
209
.ui-icon-script { background-position: -240px -128px; }
210
.ui-icon-alert { background-position: 0 -144px; }
211
.ui-icon-info { background-position: -16px -144px; }
212
.ui-icon-notice { background-position: -32px -144px; }
213
.ui-icon-help { background-position: -48px -144px; }
214
.ui-icon-check { background-position: -64px -144px; }
215
.ui-icon-bullet { background-position: -80px -144px; }
216
.ui-icon-radio-off { background-position: -96px -144px; }
217
.ui-icon-radio-on { background-position: -112px -144px; }
218
.ui-icon-pin-w { background-position: -128px -144px; }
219
.ui-icon-pin-s { background-position: -144px -144px; }
220
.ui-icon-play { background-position: 0 -160px; }
221
.ui-icon-pause { background-position: -16px -160px; }
222
.ui-icon-seek-next { background-position: -32px -160px; }
223
.ui-icon-seek-prev { background-position: -48px -160px; }
224
.ui-icon-seek-end { background-position: -64px -160px; }
225
.ui-icon-seek-first { background-position: -80px -160px; }
226
.ui-icon-stop { background-position: -96px -160px; }
227
.ui-icon-eject { background-position: -112px -160px; }
228
.ui-icon-volume-off { background-position: -128px -160px; }
229
.ui-icon-volume-on { background-position: -144px -160px; }
230
.ui-icon-power { background-position: 0 -176px; }
231
.ui-icon-signal-diag { background-position: -16px -176px; }
232
.ui-icon-signal { background-position: -32px -176px; }
233
.ui-icon-battery-0 { background-position: -48px -176px; }
234
.ui-icon-battery-1 { background-position: -64px -176px; }
235
.ui-icon-battery-2 { background-position: -80px -176px; }
236
.ui-icon-battery-3 { background-position: -96px -176px; }
237
.ui-icon-circle-plus { background-position: 0 -192px; }
238
.ui-icon-circle-minus { background-position: -16px -192px; }
239
.ui-icon-circle-close { background-position: -32px -192px; }
240
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
241
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
242
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
243
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
244
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
245
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
246
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
247
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
248
.ui-icon-circle-zoomin { background-position: -176px -192px; }
249
.ui-icon-circle-zoomout { background-position: -192px -192px; }
250
.ui-icon-circle-check { background-position: -208px -192px; }
251
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
252
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
253
.ui-icon-circlesmall-close { background-position: -32px -208px; }
254
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
255
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
256
.ui-icon-squaresmall-close { background-position: -80px -208px; }
257
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
258
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
259
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
260
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
261
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
262
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
263

  
264

  
265
/* Misc visuals
266
----------------------------------*/
267

  
268
/* Corner radius */
269
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; }
270
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; }
271
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; }
272
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
273
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; }
274
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
275
.ui-corner-right {  -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
276
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; }
277
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; }
278

  
279
/* Overlays */
280
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
281
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; }/* Accordion
282
----------------------------------*/
283
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
284
.ui-accordion .ui-accordion-li-fix { display: inline; }
285
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
286
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; }
287
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
288
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
289
.ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker
290
----------------------------------*/
291
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
292
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
293
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
294
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
295
.ui-datepicker .ui-datepicker-prev { left:2px; }
296
.ui-datepicker .ui-datepicker-next { right:2px; }
297
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
298
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
299
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
300
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
301
.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
302
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
303
.ui-datepicker select.ui-datepicker-month, 
304
.ui-datepicker select.ui-datepicker-year { width: 49%;}
305
.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
306
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
307
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
308
.ui-datepicker td { border: 0; padding: 1px; }
309
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
310
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
311
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
312
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
313

  
314
/* with multiple calendars */
315
.ui-datepicker.ui-datepicker-multi { width:auto; }
316
.ui-datepicker-multi .ui-datepicker-group { float:left; }
317
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
318
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
319
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
320
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
321
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
322
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
323
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
324
.ui-datepicker-row-break { clear:both; width:100%; }
325

  
326
/* RTL support */
327
.ui-datepicker-rtl { direction: rtl; }
328
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
329
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
330
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
331
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
332
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
333
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
334
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
335
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
336
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
337
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
338

  
339
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
340
.ui-datepicker-cover {
341
    display: none; /*sorry for IE5*/
342
    display/**/: block; /*sorry for IE5*/
343
    position: absolute; /*must have*/
344
    z-index: -1; /*must have*/
345
    filter: mask(); /*must have*/
346
    top: -4px; /*must have*/
347
    left: -4px; /*must have*/
348
    width: 200px; /*must have*/
349
    height: 200px; /*must have*/
350
}/* Dialog
351
----------------------------------*/
352
.ui-dialog { position: relative; padding: .2em; width: 300px; }
353
.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative;  }
354
.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } 
355
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
356
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
357
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
358
.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
359
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
360
.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
361
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
362
.ui-draggable .ui-dialog-titlebar { cursor: move; }
363
/* Progressbar
364
----------------------------------*/
365
.ui-progressbar { height:2em; text-align: left; }
366
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable
367
----------------------------------*/
368
.ui-resizable { position: relative;}
369
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
370
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
371
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
372
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
373
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
374
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
375
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
376
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
377
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
378
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider
379
----------------------------------*/
380
.ui-slider { position: relative; text-align: left; }
381
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
382
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
383

  
384
.ui-slider-horizontal { height: .8em; }
385
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
386
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
387
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
388
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
389

  
390
.ui-slider-vertical { width: .8em; height: 100px; }
391
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
392
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
393
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
394
.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs
395
----------------------------------*/
396
.ui-tabs { padding: .2em; zoom: 1; }
397
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
398
.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
399
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
400
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
401
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
402
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
403
.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
404
.ui-tabs .ui-tabs-hide { display: none !important; }
trunk/wb/include/jquery/plugins/jquery-pngFix.js
1
/**
2
 * --------------------------------------------------------------------
3
 * jQuery-Plugin "pngFix"
4
 * Version: 1.1, 11.09.2007
5
 * by Andreas Eberhard, andreas.eberhard@gmail.com
6
 *                      http://jquery.andreaseberhard.de/
7
 *
8
 * Copyright (c) 2007 Andreas Eberhard
9
 * Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
10
 */
11
eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('(s($){3.1s.1k=s(j){j=3.1a({12:\'1m.1j\'},j);8 k=(n.P=="r 10 Z"&&U(n.v)==4&&n.v.E("14 5.5")!=-1);8 l=(n.P=="r 10 Z"&&U(n.v)==4&&n.v.E("14 6.0")!=-1);o(3.17.16&&(k||l)){3(2).L("1r[@m$=.M]").z(s(){3(2).7(\'q\',3(2).q());3(2).7(\'p\',3(2).p());8 a=\'\';8 b=\'\';8 c=(3(2).7(\'K\'))?\'K="\'+3(2).7(\'K\')+\'" \':\'\';8 d=(3(2).7(\'A\'))?\'A="\'+3(2).7(\'A\')+\'" \':\'\';8 e=(3(2).7(\'C\'))?\'C="\'+3(2).7(\'C\')+\'" \':\'\';8 f=(3(2).7(\'B\'))?\'B="\'+3(2).7(\'B\')+\'" \':\'\';8 g=(3(2).7(\'R\'))?\'1d:\'+3(2).7(\'R\')+\';\':\'\';8 h=(3(2).1c().7(\'1b\'))?\'19:18;\':\'\';o(2.9.y){a+=\'y:\'+2.9.y+\';\';2.9.y=\'\'}o(2.9.t){a+=\'t:\'+2.9.t+\';\';2.9.t=\'\'}o(2.9.w){a+=\'w:\'+2.9.w+\';\';2.9.w=\'\'}8 i=(2.9.15);b+=\'<x \'+c+d+e+f;b+=\'9="13:11;1q-1p:1o-1n;O:W-V;N:1l;\'+g+h;b+=\'q:\'+3(2).q()+\'u;\'+\'p:\'+3(2).p()+\'u;\';b+=\'J:I:H.r.G\'+\'(m=\\\'\'+3(2).7(\'m\')+\'\\\', D=\\\'F\\\');\';b+=i+\'"></x>\';o(a!=\'\'){b=\'<x 9="13:11;O:W-V;\'+a+h+\'q:\'+3(2).q()+\'u;\'+\'p:\'+3(2).p()+\'u;\'+\'">\'+b+\'</x>\'}3(2).1i();3(2).1h(b)});3(2).L("*").z(s(){8 a=3(2).T(\'N-S\');o(a.E(".M")!=-1){8 b=a.X(\'1g("\')[1].X(\'")\')[0];3(2).T(\'N-S\',\'1f\');3(2).Q(0).Y.J="I:H.r.G(m=\'"+b+"\',D=\'F\')"}});3(2).L("1e[@m$=.M]").z(s(){8 a=3(2).7(\'m\');3(2).Q(0).Y.J=\'I:H.r.G\'+\'(m=\\\'\'+a+\'\\\', D=\\\'F\\\');\';3(2).7(\'m\',j.12)})}1t 3}})(3);',62,92,'||this|jQuery||||attr|var|style|||||||||||||src|navigator|if|height|width|Microsoft|function|padding|px|appVersion|margin|span|border|each|class|alt|title|sizingMethod|indexOf|scale|AlphaImageLoader|DXImageTransform|progid|filter|id|find|png|background|display|appName|get|align|image|css|parseInt|block|inline|split|runtimeStyle|Explorer|Internet|relative|blankgif|position|MSIE|cssText|msie|browser|hand|cursor|extend|href|parent|float|input|none|url|after|hide|gif|pngFix|transparent|blank|line|pre|space|white|img|fn|return'.split('|'),0,{}))
trunk/wb/include/jquery/plugins/jquery-slimbox2.css
1
/* SLIMBOX */
2

  
3
#lbOverlay {
4
	position: fixed;
5
	z-index: 9999;
6
	left: 0;
7
	top: 0;
8
	width: 100%;
9
	height: 100%;
10
	background-color: #000;
11
	cursor: pointer;
12
}
13

  
14
#lbCenter, #lbBottomContainer {
15
	position: absolute;
16
	z-index: 9999;
17
	overflow: hidden;
18
	background-color: #fff;
19
}
20

  
21
.lbLoading {
22
	background: #fff url(images/loading.gif) no-repeat center;
23
}
24

  
25
#lbImage {
26
	position: absolute;
27
	left: 0;
28
	top: 0;
29
	border: 10px solid #fff;
30
	background-repeat: no-repeat;
31
}
32

  
33
#lbPrevLink, #lbNextLink {
34
	display: block;
35
	position: absolute;
36
	top: 0;
37
	width: 50%;
38
	outline: none;
39
}
40

  
41
#lbPrevLink {
42
	left: 0;
43
}
44

  
45
#lbPrevLink:hover {
46
	background: transparent url(images/prevlabel.gif) no-repeat 0 15%;
47
}
48

  
49
#lbNextLink {
50
	right: 0;
51
}
52

  
53
#lbNextLink:hover {
54
	background: transparent url(images/nextlabel.gif) no-repeat 100% 15%;
55
}
56

  
57
#lbBottom {
58
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
59
	font-size: 10px;
60
	color: #666;
61
	line-height: 1.4em;
62
	text-align: left;
63
	border: 10px solid #fff;
64
	border-top-style: none;
65
}
66

  
67
#lbCloseLink {
68
	display: block;
69
	float: right;
70
	width: 66px;
71
	height: 22px;
72
	background: transparent url(images/closelabel.gif) no-repeat center;
73
	margin: 5px 0;
74
	outline: none;
75
}
76

  
77
#lbCaption, #lbNumber {
78
	margin-right: 71px;
79
}
80

  
81
#lbCaption {
82
	font-weight: bold;
83
}
trunk/wb/include/jquery/plugins/jquery.dropshadow.js
1
/*
2
	VERSION: Drop Shadow jQuery Plugin 1.6  12-13-2007
3

  
4
	REQUIRES: jquery.js (1.2.6 or later)
5

  
6
	SYNTAX: $(selector).dropShadow(options);  // Creates new drop shadows
7
					$(selector).redrawShadow();       // Redraws shadows on elements
8
					$(selector).removeShadow();       // Removes shadows from elements
9
					$(selector).shadowId();           // Returns an existing shadow's ID
10

  
11
	OPTIONS:
12

  
13
		left    : integer (default = 4)
14
		top     : integer (default = 4)
15
		blur    : integer (default = 2)
16
		opacity : decimal (default = 0.5)
17
		color   : string (default = "black")
18
		swap    : boolean (default = false)
19

  
20
	The left and top parameters specify the distance and direction, in	pixels, to
21
	offset the shadow. Zero values position the shadow directly behind the element.
22
	Positive values shift the shadow to the right and down, while negative values 
23
	shift the shadow to the left and up.
24
	
25
	The blur parameter specifies the spread, or dispersion, of the shadow. Zero 
26
	produces a sharp shadow, one or two produces a normal shadow, and	three or four
27
	produces a softer shadow. Higher values increase the processing load.
28
	
29
	The opacity parameter	should be a decimal value, usually less than one. You can
30
	use a value	higher than one in special situations, e.g. with extreme blurring. 
31
	
32
	Color is specified in the usual manner, with a color name or hex value. The
33
	color parameter	does not apply with transparent images.
34
	
35
	The swap parameter reverses the stacking order of the original and the shadow.
36
	This can be used for special effects, like an embossed or engraved look.
37

  
38
	EXPLANATION:
39
	
40
	This jQuery plug-in adds soft drop shadows behind page elements. It is only
41
	intended for adding a few drop shadows to mostly stationary objects, like a
42
	page heading, a photo, or content containers.
43

  
44
	The shadows it creates are not bound to the original elements, so they won't
45
	move or change size automatically if the original elements change. A window
46
	resize event listener is assigned, which should re-align the shadows in many
47
	cases, but if the elements otherwise move or resize you will have to handle
48
	those events manually. Shadows can be redrawn with the redrawShadow() method
49
	or removed with the removeShadow() method. The redrawShadow() method uses the
50
	same options used to create the original shadow. If you want to change the
51
	options, you should remove the shadow first and then create a new shadow.
52
	
53
	The dropShadow method returns a jQuery collection of the new shadow(s). If
54
	further manipulation is required, you can store it in a variable like this:
55

  
56
		var myShadow = $("#myElement").dropShadow();
57

  
58
	You can also read the ID of the shadow from the original element at a later
59
	time. To get a shadow's ID, either read the shadowId attribute of the
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff