Version Description
New FancyBox version 1.3.3 included. Vimeo support. Auto-recognition of YouTube and Vimeo links.
=
Download this release
Release Info
Developer | RavanH |
Plugin | Easy FancyBox |
Version | 1.3.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3.4
- easy-fancybox-nl.mo +0 -0
- easy-fancybox-nl_NL.mo +0 -0
- easy-fancybox.php +146 -40
- easy-fancybox.pot +117 -20
- fancybox/jquery.fancybox-1.3.2.pack.js +0 -46
- fancybox/{jquery.fancybox-1.3.2.css → jquery.fancybox-1.3.3.css} +6 -6
- fancybox/{jquery.fancybox-1.3.2.js → jquery.fancybox-1.3.3.js} +27 -22
- fancybox/jquery.fancybox-1.3.3.pack.js +46 -0
- jquery.fancybox.css.php +6 -43
- readme.txt +34 -21
easy-fancybox-nl.mo
CHANGED
Binary file
|
easy-fancybox-nl_NL.mo
CHANGED
Binary file
|
easy-fancybox.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: Easy FancyBox
|
4 |
Plugin URI: http://4visions.nl/en/wordpress-plugins/easy-fancybox/
|
5 |
-
Description:
|
6 |
-
Version: 1.3.
|
7 |
Author: RavanH
|
8 |
Author URI: http://4visions.nl/
|
9 |
*/
|
@@ -17,49 +17,93 @@ function easy_fancybox_settings(){
|
|
17 |
'title' => __('Auto-enable','easy-fancybox'),
|
18 |
'label_for' => 'fancybox_autoAttribute',
|
19 |
'input' => 'text',
|
|
|
20 |
'options' => array(),
|
21 |
'hide' => 'true',
|
22 |
'default' => 'jpg gif png bmp jpeg jpe swf',
|
23 |
-
'description' => __('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
),
|
25 |
'titlePosition' => array (
|
26 |
'id' => 'fancybox_titlePosition',
|
27 |
'title' => __('Title Position','easy-fancybox'),
|
28 |
'label_for' => 'fancybox_titlePosition',
|
29 |
'input' => 'select',
|
|
|
30 |
'options' => array(
|
31 |
'over' => __('Overlay','easy-fancybox'),
|
32 |
'inside' => __('Inside','easy-fancybox'),
|
33 |
'outside' => __('Outside','easy-fancybox')
|
34 |
),
|
35 |
'default' => 'over',
|
36 |
-
'description' => __('Position of the overlay content title.','easy-fancybox')
|
37 |
),
|
38 |
'transitionIn' => array (
|
39 |
'id' => 'fancybox_transitionIn',
|
40 |
'title' => __('Transition In','easy-fancybox'),
|
41 |
'label_for' => 'fancybox_transitionIn',
|
42 |
'input' => 'select',
|
|
|
43 |
'options' => array(
|
44 |
'elastic' => __('Elastic','easy-fancybox'),
|
45 |
'fade' => __('Fade in','easy-fancybox'),
|
46 |
'none' => __('None','easy-fancybox')
|
47 |
),
|
48 |
'default' => 'elastic',
|
49 |
-
'description' => __('Transition effect when opening the overlay.','easy-fancybox')
|
50 |
),
|
51 |
'transitionOut' => array (
|
52 |
'id' => 'fancybox_transitionOut',
|
53 |
'title' => __('Transition Out','easy-fancybox'),
|
54 |
'label_for' => 'fancybox_transitionOut',
|
55 |
'input' => 'select',
|
|
|
56 |
'options' => array(
|
57 |
'elastic' => __('Elastic','easy-fancybox'),
|
58 |
'fade' => __('Fade out','easy-fancybox'),
|
59 |
'none' => __('None','easy-fancybox')
|
60 |
),
|
61 |
'default' => 'elastic',
|
62 |
-
'description' => __('Transition effect when closing the overlay.','easy-fancybox')
|
63 |
),
|
64 |
);
|
65 |
}
|
@@ -82,7 +126,17 @@ jQuery(document).ready(function($){";
|
|
82 |
.attr('rel', 'gallery')
|
83 |
.addClass('fancybox');";
|
84 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
echo "
|
|
|
86 |
$('a.fancybox').fancybox({";
|
87 |
foreach ($easy_fancybox_array as $key => $values)
|
88 |
if('true'!=$values['hide'])
|
@@ -101,32 +155,62 @@ jQuery(document).ready(function($){";
|
|
101 |
},";
|
102 |
echo"
|
103 |
});
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
'type' : 'iframe',
|
106 |
-
'
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
'
|
112 |
-
'
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
return false;
|
131 |
});
|
132 |
});
|
@@ -136,11 +220,16 @@ jQuery(document).ready(function($){";
|
|
136 |
|
137 |
// FancyBox Media Settings Section on Settings > Media admin page
|
138 |
function easy_fancybox_settings_section() {
|
139 |
-
echo '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=Easy%20FancyBox&item_number=&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us" title="'.__('Donate to Easy FancyBox plugin development with PayPal - it\'s fast, free and secure!','easy-fancybox').'"><img src="https://www.paypal.com/en_US/i/btn/x-click-but7.gif" style="border:none;
|
140 |
}
|
141 |
// FancyBox Media Settings Fields
|
142 |
function easy_fancybox_settings_fields($args){
|
143 |
switch($args['input']) {
|
|
|
|
|
|
|
|
|
|
|
144 |
case 'select':
|
145 |
echo '
|
146 |
<select name="'.$args['id'].'" id="'.$args['id'].'">';
|
@@ -152,17 +241,30 @@ function easy_fancybox_settings_fields($args){
|
|
152 |
echo '
|
153 |
</select> ';
|
154 |
if( empty($args['label_for']) )
|
155 |
-
echo '<label for="'.$args['id'].'">'.$args['description'].' <em>'.$args['options'][$args['default']].'</em
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
else
|
157 |
-
|
|
|
|
|
158 |
break;
|
159 |
case 'text':
|
160 |
echo '
|
161 |
-
<input type="text" name="'.$args['id'].'" id="'.$args['id'].'" value="'.esc_attr( get_option($args['id'], $args['default']) ).'" class="
|
162 |
if( empty($args['label_for']) )
|
163 |
-
echo '<label for="'.$args['id'].'">'.$args['description'].' <em>'.$args['default'].'</em
|
164 |
else
|
165 |
-
echo $args['description'].' <em>'.$args['default'].'</em>';
|
166 |
break;
|
167 |
default:
|
168 |
echo $args['description'];
|
@@ -178,7 +280,11 @@ function easy_fancybox_admin_init(){
|
|
178 |
$easy_fancybox_array = easy_fancybox_settings();
|
179 |
foreach ($easy_fancybox_array as $key => $value) {
|
180 |
add_settings_field( 'fancybox_'.$key, $value['title'], 'easy_fancybox_settings_fields', 'media', 'fancybox_section', $value);
|
181 |
-
|
|
|
|
|
|
|
|
|
182 |
}
|
183 |
}
|
184 |
|
@@ -189,7 +295,7 @@ function easy_fancybox_enqueue() {
|
|
189 |
|
190 |
// ENQUEUE
|
191 |
// register main fancybox script
|
192 |
-
wp_enqueue_script('jquery.fancybox', plugins_url($efb_subdir, __FILE__).'/fancybox/jquery.fancybox-1.3.
|
193 |
|
194 |
if( "none" != get_option("fancybox_transitionIn") || "none" != get_option("fancybox_transitionOut") ) {
|
195 |
// first get rid of previously registered variants of jquery.easing (by other plugins)
|
@@ -210,7 +316,7 @@ function easy_fancybox_enqueue() {
|
|
210 |
wp_enqueue_script('jquery.mousewheel', plugins_url($efb_subdir, __FILE__).'/fancybox/jquery.mousewheel-3.0.4.pack.js', array('jquery'), '3.0.4');
|
211 |
|
212 |
// register style
|
213 |
-
wp_enqueue_style('jquery.fancybox', plugins_url($efb_subdir, __FILE__).'/jquery.fancybox.css.php', false, '1.3.
|
214 |
}
|
215 |
|
216 |
// HOOKS //
|
2 |
/*
|
3 |
Plugin Name: Easy FancyBox
|
4 |
Plugin URI: http://4visions.nl/en/wordpress-plugins/easy-fancybox/
|
5 |
+
Description: Easily enable the <a href="http://fancybox.net/">FancyBox 1.3.3 jQuery extension</a> on all image, SWF, YouTube and Vimeo links. Multi-Site compatible and supports iFrame and Flash movies in overlay viewport. Happy with it? Please leave me a small <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=Easy%20FancyBox&item_number=1%2e3%2e3&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us">TIP</a> for development and support on this plugin and please consider a DONATION to the <a href="http://fancybox.net/">FancyBox project</a>.
|
6 |
+
Version: 1.3.3.4
|
7 |
Author: RavanH
|
8 |
Author URI: http://4visions.nl/
|
9 |
*/
|
17 |
'title' => __('Auto-enable','easy-fancybox'),
|
18 |
'label_for' => 'fancybox_autoAttribute',
|
19 |
'input' => 'text',
|
20 |
+
'class' => 'regular-text',
|
21 |
'options' => array(),
|
22 |
'hide' => 'true',
|
23 |
'default' => 'jpg gif png bmp jpeg jpe swf',
|
24 |
+
'description' => __('Enter file types FancyBox should be automatically enabled for. Clear field to switch off auto-enabling.','easy-fancybox')
|
25 |
+
),
|
26 |
+
'autoDetect' => array (
|
27 |
+
'id' => 'fancybox_autoDetect',
|
28 |
+
'title' => __('Auto-detect','easy-fancybox'),
|
29 |
+
'label_for' => '',
|
30 |
+
'input' => 'multiple',
|
31 |
+
'class' => '',
|
32 |
+
'options' => array(
|
33 |
+
'autoAttributeYoutube' => array (
|
34 |
+
'id' => 'fancybox_autoAttributeYoutube',
|
35 |
+
'label_for' => '',
|
36 |
+
'input' => 'checkbox',
|
37 |
+
'class' => '',
|
38 |
+
'options' => array(),
|
39 |
+
'hide' => 'true',
|
40 |
+
'default' => '1',
|
41 |
+
'description' => __('YouTube links.','easy-fancybox')
|
42 |
+
),
|
43 |
+
'autoAttributeYoutubeShortURL' => array (
|
44 |
+
'id' => 'fancybox_autoAttributeYoutubeShortURL',
|
45 |
+
'label_for' => '',
|
46 |
+
'input' => 'checkbox',
|
47 |
+
'class' => '',
|
48 |
+
'options' => array(),
|
49 |
+
'hide' => 'true',
|
50 |
+
'default' => '',
|
51 |
+
'description' => __('Short URL YouTube links.','easy-fancybox')
|
52 |
+
),
|
53 |
+
'autoAttributeVimeo' => array (
|
54 |
+
'id' => 'fancybox_autoAttributeVimeo',
|
55 |
+
'label_for' => '',
|
56 |
+
'input' => 'checkbox',
|
57 |
+
'class' => '',
|
58 |
+
'options' => array(),
|
59 |
+
'hide' => 'true',
|
60 |
+
'default' => '1',
|
61 |
+
'description' => __('Vimeo links.','easy-fancybox')
|
62 |
+
)
|
63 |
+
),
|
64 |
+
'description' => __('Select which external video content sites links should automatically be detected and FancyBox enabled.','easy-fancybox')
|
65 |
),
|
66 |
'titlePosition' => array (
|
67 |
'id' => 'fancybox_titlePosition',
|
68 |
'title' => __('Title Position','easy-fancybox'),
|
69 |
'label_for' => 'fancybox_titlePosition',
|
70 |
'input' => 'select',
|
71 |
+
'class' => '',
|
72 |
'options' => array(
|
73 |
'over' => __('Overlay','easy-fancybox'),
|
74 |
'inside' => __('Inside','easy-fancybox'),
|
75 |
'outside' => __('Outside','easy-fancybox')
|
76 |
),
|
77 |
'default' => 'over',
|
78 |
+
'description' => __('Position of the overlay content title.','easy-fancybox')
|
79 |
),
|
80 |
'transitionIn' => array (
|
81 |
'id' => 'fancybox_transitionIn',
|
82 |
'title' => __('Transition In','easy-fancybox'),
|
83 |
'label_for' => 'fancybox_transitionIn',
|
84 |
'input' => 'select',
|
85 |
+
'class' => '',
|
86 |
'options' => array(
|
87 |
'elastic' => __('Elastic','easy-fancybox'),
|
88 |
'fade' => __('Fade in','easy-fancybox'),
|
89 |
'none' => __('None','easy-fancybox')
|
90 |
),
|
91 |
'default' => 'elastic',
|
92 |
+
'description' => __('Transition effect when opening the overlay.','easy-fancybox')
|
93 |
),
|
94 |
'transitionOut' => array (
|
95 |
'id' => 'fancybox_transitionOut',
|
96 |
'title' => __('Transition Out','easy-fancybox'),
|
97 |
'label_for' => 'fancybox_transitionOut',
|
98 |
'input' => 'select',
|
99 |
+
'class' => '',
|
100 |
'options' => array(
|
101 |
'elastic' => __('Elastic','easy-fancybox'),
|
102 |
'fade' => __('Fade out','easy-fancybox'),
|
103 |
'none' => __('None','easy-fancybox')
|
104 |
),
|
105 |
'default' => 'elastic',
|
106 |
+
'description' => __('Transition effect when closing the overlay.','easy-fancybox')
|
107 |
),
|
108 |
);
|
109 |
}
|
126 |
.attr('rel', 'gallery')
|
127 |
.addClass('fancybox');";
|
128 |
}
|
129 |
+
|
130 |
+
if( "1" == get_option("fancybox_autoAttributeYoutube", $easy_fancybox_array['autoDetect']['options']['autoAttributeYoutube']['default']) )
|
131 |
+
echo "
|
132 |
+
$('a[href*=\"youtube.com/watch\"]').addClass('fancybox-youtube');";
|
133 |
+
|
134 |
+
if( "1" == get_option("fancybox_autoAttributeVimeo", $easy_fancybox_array['autoDetect']['options']['autoAttributeVimeo']['default']) )
|
135 |
+
echo "
|
136 |
+
$('a[href*=\"vimeo.com/\"]').addClass('fancybox-vimeo');";
|
137 |
+
|
138 |
echo "
|
139 |
+
|
140 |
$('a.fancybox').fancybox({";
|
141 |
foreach ($easy_fancybox_array as $key => $values)
|
142 |
if('true'!=$values['hide'])
|
155 |
},";
|
156 |
echo"
|
157 |
});
|
158 |
+
var fb_opts = {
|
159 |
+
'titleShow' : false,
|
160 |
+
'padding' : 0,
|
161 |
+
'autoScale' : false,
|
162 |
+
'transitionIn' : 'none',
|
163 |
+
'transitionOut' : 'none',
|
164 |
+
'swf' : {
|
165 |
+
'wmode' : 'opacity',
|
166 |
+
'allowfullscreen' : 'true'
|
167 |
+
}
|
168 |
+
};
|
169 |
+
$('a.fancybox-iframe').fancybox(
|
170 |
+
$.extend(fb_opts, {
|
171 |
'type' : 'iframe',
|
172 |
+
'height' : '90%'
|
173 |
+
})
|
174 |
+
);
|
175 |
+
$('a.fancybox-swf').fancybox(
|
176 |
+
$.extend(fb_opts, {
|
177 |
+
'margin' : 0,
|
178 |
+
'type' : 'swf'
|
179 |
+
})
|
180 |
+
);
|
181 |
+
$('a.fancybox-youtube').click(function(){
|
182 |
+
$.fancybox(
|
183 |
+
$.extend(fb_opts, {
|
184 |
+
'type' : 'swf',
|
185 |
+
'width' : 640,
|
186 |
+
'height' : 385,
|
187 |
+
'href' : this.href.replace(new RegExp('watch\\\?v=', 'i'), 'v/')
|
188 |
+
})
|
189 |
+
);
|
190 |
+
return false;
|
191 |
+
});";
|
192 |
+
if( "1" == get_option("fancybox_autoAttributeYoutubeShortURL", $easy_fancybox_array['autoDetect']['options']['autoAttributeYoutubeShortURL']['default']) )
|
193 |
+
echo "
|
194 |
+
$('a[href*=\"youtu.be/\"]').click(function(){
|
195 |
+
$.fancybox(
|
196 |
+
$.extend(fb_opts, {
|
197 |
+
'type' : 'swf',
|
198 |
+
'width' : 640,
|
199 |
+
'height' : 385,
|
200 |
+
'href' : this.href.replace(new RegExp('youtu.be', 'i'), 'www.youtube.com/v')
|
201 |
+
})
|
202 |
+
);
|
203 |
+
return false;
|
204 |
+
});";
|
205 |
+
echo "
|
206 |
+
$('a.fancybox-vimeo').click(function() {
|
207 |
+
$.fancybox(
|
208 |
+
$.extend(fb_opts, {
|
209 |
+
'width' : 640,
|
210 |
+
'height' : 360,
|
211 |
+
'href' : this.href.replace(new RegExp('([0-9])', 'i'), 'moogaloop.swf?clip_id=$1')
|
212 |
+
})
|
213 |
+
);
|
214 |
return false;
|
215 |
});
|
216 |
});
|
220 |
|
221 |
// FancyBox Media Settings Section on Settings > Media admin page
|
222 |
function easy_fancybox_settings_section() {
|
223 |
+
echo '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=Easy%20FancyBox&item_number=&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us" title="'.__('Donate to Easy FancyBox plugin development with PayPal - it\'s fast, free and secure!','easy-fancybox').'"><img src="https://www.paypal.com/en_US/i/btn/x-click-but7.gif" style="border:none;float:right;margin:0 0 10px 10px" alt="'.__('Donate to Easy FancyBox plugin development with PayPal - it\'s fast, free and secure!','easy-fancybox').'" /></a><p>'.__('To manualy enable FancyBox for a link to an attached image or swf movie file, you can use the tags class="fancybox" or class="fancybox-swf". To make a link to any web page show in a FancyBox overlay, use class="fancybox-iframe". Use the tags class="fancybox-youtube" on a YouTube link and class="fancybox-vimeo" on a Vimeo link to manually enable FancyBox for it. Read more on <a href="http://4visions.nl/en/wordpress-plugins/easy-fancybox/">Easy FancyBox for WordPress</a>.','easy-fancybox').'</p><p>'.__('The settings listed below determine the image overlay behaviour controlled by FancyBox.','easy-fancybox').' '.__('Some setting like Title Position and Transition are ignored for swf video and iframe content overlays to improve browser compatibility and readability.','easy-fancybox').'</p>';
|
224 |
}
|
225 |
// FancyBox Media Settings Fields
|
226 |
function easy_fancybox_settings_fields($args){
|
227 |
switch($args['input']) {
|
228 |
+
case 'multiple':
|
229 |
+
foreach ($args['options'] as $options)
|
230 |
+
easy_fancybox_settings_fields($options);
|
231 |
+
echo $args['description'];
|
232 |
+
break;
|
233 |
case 'select':
|
234 |
echo '
|
235 |
<select name="'.$args['id'].'" id="'.$args['id'].'">';
|
241 |
echo '
|
242 |
</select> ';
|
243 |
if( empty($args['label_for']) )
|
244 |
+
echo '<label for="'.$args['id'].'">'.$args['description'].'</label> <em>'.__('Default:','easy-fancybox').' '.$args['options'][$args['default']].'</em>';
|
245 |
+
else
|
246 |
+
echo $args['description'].' <em>'.__('Default:','easy-fancybox').' '.$args['options'][$args['default']].'</em>';
|
247 |
+
break;
|
248 |
+
case 'checkbox':
|
249 |
+
$value = esc_attr( get_option($args['id'], $args['default']) );
|
250 |
+
if ($value == "1")
|
251 |
+
$checked = ' checked="checked"';
|
252 |
+
else
|
253 |
+
$checked = '';
|
254 |
+
if ($args['default'] == "1")
|
255 |
+
$default = __('Checked','easy-fancybox');
|
256 |
else
|
257 |
+
$default = __('Unchecked','easy-fancybox');
|
258 |
+
echo '
|
259 |
+
<label><input type="checkbox" name="'.$args['id'].'" id="'.$args['id'].'" value="1" '.$checked.'/> '.$args['description'].'</label> <em>'.__('Default:','easy-fancybox').' '.$default.'</em><br />';
|
260 |
break;
|
261 |
case 'text':
|
262 |
echo '
|
263 |
+
<input type="text" name="'.$args['id'].'" id="'.$args['id'].'" value="'.esc_attr( get_option($args['id'], $args['default']) ).'" class="'.$args['class'].'"/><br />';
|
264 |
if( empty($args['label_for']) )
|
265 |
+
echo '<label for="'.$args['id'].'">'.$args['description'].'</label> <em>'.__('Default:','easy-fancybox').' '.$args['default'].'</em>';
|
266 |
else
|
267 |
+
echo $args['description'].' <em>'.__('Default:','easy-fancybox').' '.$args['default'].'</em>';
|
268 |
break;
|
269 |
default:
|
270 |
echo $args['description'];
|
280 |
$easy_fancybox_array = easy_fancybox_settings();
|
281 |
foreach ($easy_fancybox_array as $key => $value) {
|
282 |
add_settings_field( 'fancybox_'.$key, $value['title'], 'easy_fancybox_settings_fields', 'media', 'fancybox_section', $value);
|
283 |
+
if ($value['input']=='multiple')
|
284 |
+
foreach ($value['options'] as $_key => $_value)
|
285 |
+
register_setting( 'media', 'fancybox_'.$_key );
|
286 |
+
else
|
287 |
+
register_setting( 'media', 'fancybox_'.$key );
|
288 |
}
|
289 |
}
|
290 |
|
295 |
|
296 |
// ENQUEUE
|
297 |
// register main fancybox script
|
298 |
+
wp_enqueue_script('jquery.fancybox', plugins_url($efb_subdir, __FILE__).'/fancybox/jquery.fancybox-1.3.3.pack.js', array('jquery'), '1.3.3');
|
299 |
|
300 |
if( "none" != get_option("fancybox_transitionIn") || "none" != get_option("fancybox_transitionOut") ) {
|
301 |
// first get rid of previously registered variants of jquery.easing (by other plugins)
|
316 |
wp_enqueue_script('jquery.mousewheel', plugins_url($efb_subdir, __FILE__).'/fancybox/jquery.mousewheel-3.0.4.pack.js', array('jquery'), '3.0.4');
|
317 |
|
318 |
// register style
|
319 |
+
wp_enqueue_style('jquery.fancybox', plugins_url($efb_subdir, __FILE__).'/jquery.fancybox.css.php', false, '1.3.3');
|
320 |
}
|
321 |
|
322 |
// HOOKS //
|
easy-fancybox.pot
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
# Translation of the WordPress plugin
|
2 |
-
# Copyright (C) 2010
|
3 |
-
# This file is distributed under the same license as the
|
4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
#
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version:
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/easy-fancybox\n"
|
11 |
-
"POT-Creation-Date: 2010-
|
12 |
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -16,64 +16,161 @@ msgstr ""
|
|
16 |
"Content-Type: text/plain; charset=utf-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
-
#: fancybox.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
msgid "Title Position"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: fancybox.php:
|
24 |
msgid "Overlay"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: fancybox.php:
|
28 |
msgid "Inside"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: fancybox.php:
|
32 |
msgid "Outside"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: fancybox.php:
|
36 |
msgid "Position of the overlay content title."
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: fancybox.php:
|
40 |
msgid "Transition In"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: fancybox.php:
|
44 |
msgid "Elastic"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: fancybox.php:
|
48 |
msgid "Fade in"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: fancybox.php:
|
52 |
msgid "None"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: fancybox.php:
|
56 |
msgid "Transition effect when opening the overlay."
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: fancybox.php:
|
60 |
msgid "Transition Out"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: fancybox.php:
|
64 |
msgid "Fade out"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: fancybox.php:
|
68 |
msgid "Transition effect when closing the overlay."
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: fancybox.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
msgid ""
|
73 |
"The settings listed below determine the image overlay behaviour controlled "
|
74 |
"by FancyBox."
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: fancybox.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
msgid "FancyBox"
|
79 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin Easy FancyBox 1.3.3-4 by RavanH.
|
2 |
+
# Copyright (C) 2010 RavanH
|
3 |
+
# This file is distributed under the same license as the Easy FancyBox package.
|
4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
#
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
+
"Project-Id-Version: Easy FancyBox 1.3.3-4\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/easy-fancybox\n"
|
11 |
+
"POT-Creation-Date: 2010-11-05 00:01+0000\n"
|
12 |
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
16 |
"Content-Type: text/plain; charset=utf-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
+
#: easy-fancybox.php:17
|
20 |
+
msgid "Auto-enable"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: easy-fancybox.php:24
|
24 |
+
msgid ""
|
25 |
+
"Enter file types FancyBox should be automatically enabled for. Clear field "
|
26 |
+
"to switch off auto-enabling."
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: easy-fancybox.php:28
|
30 |
+
msgid "Auto-detect"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: easy-fancybox.php:41
|
34 |
+
msgid "YouTube links."
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: easy-fancybox.php:51
|
38 |
+
msgid "Short URL YouTube links."
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: easy-fancybox.php:62
|
42 |
+
msgid "Vimeo links."
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: easy-fancybox.php:65
|
46 |
+
msgid ""
|
47 |
+
"Select which external video content sites links should automatically be "
|
48 |
+
"detected and FancyBox enabled."
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: easy-fancybox.php:69
|
52 |
msgid "Title Position"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: easy-fancybox.php:74
|
56 |
msgid "Overlay"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: easy-fancybox.php:75
|
60 |
msgid "Inside"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: easy-fancybox.php:76
|
64 |
msgid "Outside"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: easy-fancybox.php:79
|
68 |
msgid "Position of the overlay content title."
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: easy-fancybox.php:83
|
72 |
msgid "Transition In"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: easy-fancybox.php:88 easy-fancybox.php:102
|
76 |
msgid "Elastic"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: easy-fancybox.php:89
|
80 |
msgid "Fade in"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: easy-fancybox.php:90 easy-fancybox.php:104
|
84 |
msgid "None"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: easy-fancybox.php:93
|
88 |
msgid "Transition effect when opening the overlay."
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: easy-fancybox.php:97
|
92 |
msgid "Transition Out"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: easy-fancybox.php:103
|
96 |
msgid "Fade out"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: easy-fancybox.php:107
|
100 |
msgid "Transition effect when closing the overlay."
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: easy-fancybox.php:224
|
104 |
+
msgid ""
|
105 |
+
"Donate to Easy FancyBox plugin development with PayPal - it's fast, free and "
|
106 |
+
"secure!"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: easy-fancybox.php:224
|
110 |
+
msgid ""
|
111 |
+
"To manualy enable FancyBox for a link to an attached image or swf movie "
|
112 |
+
"file, you can use the tags class=\"fancybox\" or class=\"fancybox-swf\". To "
|
113 |
+
"make a link to any web page show in a FancyBox overlay, use class=\"fancybox-"
|
114 |
+
"iframe\". Use the tags class=\"fancybox-youtube\" on a YouTube link and "
|
115 |
+
"class=\"fancybox-vimeo\" on a Vimeo link to manually enable FancyBox for it. "
|
116 |
+
"Read more on <a href=\"http://4visions.nl/en/wordpress-plugins/easy-fancybox/"
|
117 |
+
"\">Easy FancyBox for WordPress</a>."
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: easy-fancybox.php:224
|
121 |
msgid ""
|
122 |
"The settings listed below determine the image overlay behaviour controlled "
|
123 |
"by FancyBox."
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: easy-fancybox.php:224
|
127 |
+
msgid ""
|
128 |
+
"Some setting like Title Position and Transition are ignored for swf video "
|
129 |
+
"and iframe content overlays to improve browser compatibility and readability."
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: easy-fancybox.php:245 easy-fancybox.php:247 easy-fancybox.php:260
|
133 |
+
#: easy-fancybox.php:266 easy-fancybox.php:268
|
134 |
+
msgid "Default:"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: easy-fancybox.php:256
|
138 |
+
msgid "Checked"
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: easy-fancybox.php:258
|
142 |
+
msgid "Unchecked"
|
143 |
+
msgstr ""
|
144 |
+
|
145 |
+
#: easy-fancybox.php:279
|
146 |
msgid "FancyBox"
|
147 |
msgstr ""
|
148 |
+
|
149 |
+
#. Plugin Name of the plugin/theme
|
150 |
+
msgid "Easy FancyBox"
|
151 |
+
msgstr ""
|
152 |
+
|
153 |
+
#. Plugin URI of the plugin/theme
|
154 |
+
msgid "http://4visions.nl/en/wordpress-plugins/easy-fancybox/"
|
155 |
+
msgstr ""
|
156 |
+
|
157 |
+
#. Description of the plugin/theme
|
158 |
+
msgid ""
|
159 |
+
"Easily enable the <a href=\"http://fancybox.net/\">FancyBox 1.3.3 jQuery "
|
160 |
+
"extension</a> on all image, SWF, YouTube and Vimeo links. Multi-Site "
|
161 |
+
"compatible and supports iFrame and Flash movies in overlay viewport. Happy "
|
162 |
+
"with it? Please leave me a small <a href="
|
163 |
+
"\"https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%"
|
164 |
+
"40gmail%2ecom&item_name=Easy%20FancyBox&item_number=1%2e3%"
|
165 |
+
"2e3&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us\">TIP</a> "
|
166 |
+
"for development and support on this plugin and please consider a DONATION to "
|
167 |
+
"the <a href=\"http://fancybox.net/\">FancyBox project</a>."
|
168 |
+
msgstr ""
|
169 |
+
|
170 |
+
#. Author of the plugin/theme
|
171 |
+
msgid "RavanH"
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#. Author URI of the plugin/theme
|
175 |
+
msgid "http://4visions.nl/"
|
176 |
+
msgstr ""
|
fancybox/jquery.fancybox-1.3.2.pack.js
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* FancyBox - jQuery Plugin
|
3 |
-
* Simple and fancy lightbox alternative
|
4 |
-
*
|
5 |
-
* Examples and documentation at: http://fancybox.net
|
6 |
-
*
|
7 |
-
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8 |
-
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
9 |
-
*
|
10 |
-
* Version: 1.3.2 (20/10/2010)
|
11 |
-
* Requires: jQuery v1.3+
|
12 |
-
*
|
13 |
-
* Dual licensed under the MIT and GPL licenses:
|
14 |
-
* http://www.opensource.org/licenses/mit-license.php
|
15 |
-
* http://www.gnu.org/licenses/gpl.html
|
16 |
-
*/
|
17 |
-
|
18 |
-
;(function(a){var m,t,u,f,D,h,E,n,z,A,q=0,e={},o=[],p=0,c={},l=[],I=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,j,i=false,B=a.extend(a("<div/>")[0],{prop:0}),M=a.browser.msie&&a.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;I&&I.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();i=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');
|
19 |
-
F()}},H=function(){var b=o[q],d,g,k,C,P,w;N();e=a.extend({},a.fn.fancybox.defaults,typeof a(b).data("fancybox")=="undefined"?e:a(b).data("fancybox"));w=e.onStart(o,q,e);if(w===false)i=false;else{if(typeof w=="object")e=a.extend(e,w);k=e.title||(b.nodeName?a(b).attr("title"):b.title)||"";if(b.nodeName&&!e.orig)e.orig=a(b).children("img:first").length?a(b).children("img:first"):a(b);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");d=e.href||(b.nodeName?a(b).attr("href"):b.href)||null;if(/^(?:javascript)/i.test(d)||
|
20 |
-
d=="#")d=null;if(e.type){g=e.type;if(!d)d=e.content}else if(e.content)g="html";else if(d)g=d.match(J)?"image":d.match(W)?"swf":a(b).hasClass("iframe")?"iframe":d.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){b=d.substr(d.indexOf("#"));g=a(b).length>0?"inline":"ajax"}e.type=g;e.href=d;e.title=k;if(e.autoDimensions&&e.type!=="iframe"&&e.type!=="swf"){e.width="auto";e.height="auto"}if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=false;e.enableEscapeButton=false;
|
21 |
-
e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);a(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){a(this).replaceWith(h.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(a(b).parent().is("#fancybox-content")===true){i=false;break}a('<div class="fancybox-inline-tmp" />').hide().insertBefore(a(b)).bind("fancybox-cleanup",function(){a(this).replaceWith(h.children())}).bind("fancybox-cancel",
|
22 |
-
function(){a(this).replaceWith(m.children())});a(b).appendTo(m);F();break;case "image":i=false;a.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){i=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;a("<img />").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=d;break;case "swf":C='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+d+'"></param>';P="";
|
23 |
-
a.each(e.swf,function(x,G){C+='<param name="'+x+'" value="'+G+'"></param>';P+=" "+x+'="'+G+'"'});C+='<embed src="'+d+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+P+"></embed></object>";m.html(C);F();break;case "ajax":i=false;a.fancybox.showActivity();e.ajax.win=e.ajax.success;I=a.ajax(a.extend({},e.ajax,{url:d,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,G,U){if(U.status==200){if(typeof e.ajax.win=="function"){w=e.ajax.win(d,x,G,
|
24 |
-
U);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":Q()}}else O()}},F=function(){m.width(e.width);m.height(e.height);if(e.width=="auto")e.width=m.width();if(e.height=="auto")e.height=m.height();Q()},Q=function(){var b,d;t.hide();if(f.is(":visible")&&false===c.onCleanup(l,p,c)){a.event.trigger("fancybox-cancel");i=false}else{i=true;a(h.add(u)).unbind();a(window).unbind("resize.fb scroll.fb");a(document).unbind("keydown.fb");f.is(":visible")&&
|
25 |
-
c.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;c=e;if(c.overlayShow){u.css({"background-color":c.overlayColor,opacity:c.overlayOpacity,cursor:c.hideOnOverlayClick?"pointer":"auto",height:a(document).height()});if(!u.is(":visible")){M&&a("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();h.get(0).scrollTop=0;h.get(0).scrollLeft=
|
26 |
-
0;j=X();s=c.title||"";y=0;n.empty().removeAttr("style").removeClass();if(c.titleShow!==false){if(a.isFunction(c.titleFormat))b=c.titleFormat(s,l,p,c);else b=s&&s.length?c.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+s+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+c.titlePosition+'">'+s+"</div>":false;s=b;if(!(!s||s==="")){n.addClass("fancybox-title-"+
|
27 |
-
c.titlePosition).html(s).appendTo("body").show();switch(c.titlePosition){case "inside":n.css({width:j.width-c.padding*2,marginLeft:c.padding,marginRight:c.padding});y=n.outerHeight(true);n.appendTo(D);j.height+=y;break;case "over":n.css({marginLeft:c.padding,width:j.width-c.padding*2,bottom:c.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-j.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:j.width-c.padding*2,paddingLeft:c.padding,paddingRight:c.padding}).appendTo(f)}}}n.hide();
|
28 |
-
if(f.is(":visible")){a(E.add(z).add(A)).hide();b=f.position();r={top:b.top,left:b.left,width:f.width(),height:f.height()};d=r.width==j.width&&r.height==j.height;h.fadeTo(c.changeFade,0.3,function(){var g=function(){h.html(m.contents()).fadeTo(c.changeFade,1,R)};a.event.trigger("fancybox-change");h.empty().removeAttr("filter").css({"border-width":c.padding,width:j.width-c.padding*2,height:c.type=="image"||c.type=="swf"||c.type=="iframe"?j.height-y-c.padding*2:"auto"});if(d)g();else{B.prop=0;a(B).animate({prop:1},
|
29 |
-
{duration:c.changeSpeed,easing:c.easingChange,step:S,complete:g})}})}else{f.removeAttr("style");h.css("border-width",c.padding);if(c.transitionIn=="elastic"){r=V();h.html(m.contents());f.show();if(c.opacity)j.opacity=0;B.prop=0;a(B).animate({prop:1},{duration:c.speedIn,easing:c.easingIn,step:S,complete:R})}else{c.titlePosition=="inside"&&y>0&&n.show();h.css({width:j.width-c.padding*2,height:c.type=="image"||c.type=="swf"||c.type=="iframe"?j.height-y-c.padding*2:"auto"}).html(m.contents());f.css(j).fadeIn(c.transitionIn==
|
30 |
-
"none"?0:c.fadeIn,R)}}}},Y=function(){if(c.enableEscapeButton||c.enableKeyboardNav)a(document).bind("keydown.fb",function(b){if(b.keyCode==27&&c.enableEscapeButton){b.preventDefault();a.fancybox.close()}else if((b.keyCode==37||b.keyCode==39)&&c.enableKeyboardNav&&b.target.tagName!=="INPUT"&&b.target.tagName!=="TEXTAREA"&&b.target.tagName!=="SELECT"){b.preventDefault();a.fancybox[b.keyCode==37?"prev":"next"]()}});if(c.showNavArrows){if(c.cyclic&&l.length>1||p!==0)z.show();if(c.cyclic&&l.length>1||
|
31 |
-
p!=l.length-1)A.show()}else{z.hide();A.hide()}},R=function(){if(!a.support.opacity){h.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}f.css("height","auto");c.type!=="image"&&c.type!=="swf"&&c.type!=="iframe"&&h.css("height","auto");s&&s.length&&n.show();c.showCloseButton&&E.show();Y();c.hideOnContentClick&&h.bind("click",a.fancybox.close);c.hideOnOverlayClick&&u.bind("click",a.fancybox.close);a(window).bind("resize.fb",a.fancybox.resize);c.centerOnScroll&&a(window).bind("scroll.fb",
|
32 |
-
a.fancybox.center);if(c.type=="iframe")a('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(a.browser.msie?'allowtransparency="true""':"")+' scrolling="'+e.scrolling+'" src="'+c.href+'"></iframe>').appendTo(h);f.show();i=false;a.fancybox.center();c.onComplete(l,p,c);var b,d;if(l.length-1>p){b=l[p+1].href;if(typeof b!=="undefined"&&b.match(J)){d=new Image;d.src=b}}if(p>0){b=l[p-1].href;if(typeof b!=="undefined"&&b.match(J)){d=new Image;d.src=b}}},
|
33 |
-
S=function(b){var d={width:parseInt(r.width+(j.width-r.width)*b,10),height:parseInt(r.height+(j.height-r.height)*b,10),top:parseInt(r.top+(j.top-r.top)*b,10),left:parseInt(r.left+(j.left-r.left)*b,10)};if(typeof j.opacity!=="undefined")d.opacity=b<0.5?0.5:b;f.css(d);h.css({width:d.width-c.padding*2,height:d.height-y*b-c.padding*2})},T=function(){return[a(window).width()-c.margin*2,a(window).height()-c.margin*2,a(document).scrollLeft()+c.margin,a(document).scrollTop()+c.margin]},X=function(){var b=
|
34 |
-
T(),d={},g=c.autoScale,k=c.padding*2;d.width=c.width.toString().indexOf("%")>-1?parseInt(b[0]*parseFloat(c.width)/100,10):c.width+k;d.height=c.height.toString().indexOf("%")>-1?parseInt(b[1]*parseFloat(c.height)/100,10):c.height+k;if(g&&(d.width>b[0]||d.height>b[1]))if(e.type=="image"||e.type=="swf"){g=c.width/c.height;if(d.width>b[0]){d.width=b[0];d.height=parseInt((d.width-k)/g+k,10)}if(d.height>b[1]){d.height=b[1];d.width=parseInt((d.height-k)*g+k,10)}}else{d.width=Math.min(d.width,b[0]);d.height=
|
35 |
-
Math.min(d.height,b[1])}d.top=parseInt(Math.max(b[3]-20,b[3]+(b[1]-d.height-40)*0.5),10);d.left=parseInt(Math.max(b[2]-20,b[2]+(b[0]-d.width-40)*0.5),10);return d},V=function(){var b=e.orig?a(e.orig):false,d={};if(b&&b.length){d=b.offset();d.top+=parseInt(b.css("paddingTop"),10)||0;d.left+=parseInt(b.css("paddingLeft"),10)||0;d.top+=parseInt(b.css("border-top-width"),10)||0;d.left+=parseInt(b.css("border-left-width"),10)||0;d.width=b.width();d.height=b.height();d={width:d.width+c.padding*2,height:d.height+
|
36 |
-
c.padding*2,top:d.top-c.padding-20,left:d.left-c.padding-20}}else{b=T();d={width:c.padding*2,height:c.padding*2,top:parseInt(b[3]+b[1]*0.5,10),left:parseInt(b[2]+b[0]*0.5,10)}}return d},Z=function(){if(t.is(":visible")){a("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};a.fn.fancybox=function(b){if(!a(this).length)return this;a(this).data("fancybox",a.extend({},b,a.metadata?a(this).metadata():{})).unbind("click.fb").bind("click.fb",function(d){d.preventDefault();if(!i){i=true;a(this).blur();
|
37 |
-
o=[];q=0;d=a(this).attr("rel")||"";if(!d||d==""||d==="nofollow")o.push(this);else{o=a("a[rel="+d+"], area[rel="+d+"]");q=o.index(this)}H()}});return this};a.fancybox=function(b,d){var g;if(!i){i=true;g=typeof d!=="undefined"?d:{};o=[];q=parseInt(g.index,10)||0;if(a.isArray(b)){for(var k=0,C=b.length;k<C;k++)if(typeof b[k]=="object")a(b[k]).data("fancybox",a.extend({},g,b[k]));else b[k]=a({}).data("fancybox",a.extend({content:b[k]},g));o=jQuery.merge(o,b)}else{if(typeof b=="object")a(b).data("fancybox",
|
38 |
-
a.extend({},g,b));else b=a({}).data("fancybox",a.extend({content:b},g));o.push(b)}if(q>o.length||q<0)q=0;H()}};a.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};a.fancybox.hideActivity=function(){t.hide()};a.fancybox.next=function(){return a.fancybox.pos(p+1)};a.fancybox.prev=function(){return a.fancybox.pos(p-1)};a.fancybox.pos=function(b){if(!i){b=parseInt(b);o=l;if(b>-1&&b<l.length){q=b;H()}else if(c.cyclic&&l.length>1){q=b>=l.length?0:l.length-1;H()}}};a.fancybox.cancel=
|
39 |
-
function(){if(!i){i=true;a.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);i=false}};a.fancybox.close=function(){function b(){u.fadeOut("fast");n.empty().hide();f.hide();a.event.trigger("fancybox-cleanup");h.empty();c.onClosed(l,p,c);l=e=[];p=q=0;c=e={};i=false}if(!(i||f.is(":hidden"))){i=true;if(c&&false===c.onCleanup(l,p,c))i=false;else{N();a(E.add(z).add(A)).hide();a(h.add(u)).unbind();a(window).unbind("resize.fb scroll.fb");a(document).unbind("keydown.fb");h.find("iframe").attr("src",M&&
|
40 |
-
/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");c.titlePosition!=="inside"&&n.empty();f.stop();if(c.transitionOut=="elastic"){r=V();var d=f.position();j={top:d.top,left:d.left,width:f.width(),height:f.height()};if(c.opacity)j.opacity=1;n.empty().hide();B.prop=1;a(B).animate({prop:0},{duration:c.speedOut,easing:c.easingOut,step:S,complete:b})}else f.fadeOut(c.transitionOut=="none"?0:c.speedOut,b)}}};a.fancybox.resize=function(){u.is(":visible")&&u.css("height",a(document).height());
|
41 |
-
a.fancybox.center(true)};a.fancybox.center=function(b){var d,g;if(!i){g=b===true?1:0;d=T();!g&&(f.width()>d[0]||f.height()>d[1])||f.stop().animate({top:parseInt(Math.max(d[3]-20,d[3]+(d[1]-h.height()-40)*0.5-c.padding)),left:parseInt(Math.max(d[2]-20,d[2]+(d[0]-h.width()-40)*0.5-c.padding))},typeof b=="number"?b:200)}};a.fancybox.init=function(){if(!a("#fancybox-wrap").length){a("body").append(m=a('<div id="fancybox-tmp"></div>'),t=a('<div id="fancybox-loading"><div></div></div>'),u=a('<div id="fancybox-overlay"></div>'),
|
42 |
-
f=a('<div id="fancybox-wrap"></div>'));D=a('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(f);
|
43 |
-
D.append(h=a('<div id="fancybox-content"></div>'),E=a('<a id="fancybox-close"></a>'),n=a('<div id="fancybox-title"></div>'),z=a('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),A=a('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));E.click(a.fancybox.close);t.click(a.fancybox.cancel);z.click(function(b){b.preventDefault();a.fancybox.prev()});A.click(function(b){b.preventDefault();a.fancybox.next()});
|
44 |
-
a.fn.mousewheel&&f.bind("mousewheel.fb",function(b,d){b.preventDefault();a.fancybox[d>0?"prev":"next"]()});a.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");a('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(D)}}};a.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,
|
45 |
-
scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,
|
46 |
-
enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};a(document).ready(function(){a.fancybox.init()})})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fancybox/{jquery.fancybox-1.3.2.css → jquery.fancybox-1.3.3.css}
RENAMED
@@ -7,7 +7,7 @@
|
|
7 |
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8 |
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
9 |
*
|
10 |
-
* Version: 1.3.
|
11 |
* Requires: jQuery v1.3+
|
12 |
*
|
13 |
* Dual licensed under the MIT and GPL licenses:
|
@@ -43,7 +43,6 @@
|
|
43 |
top: 0;
|
44 |
left: 0;
|
45 |
width: 100%;
|
46 |
-
height: 100%;
|
47 |
z-index: 1100;
|
48 |
display: none;
|
49 |
}
|
@@ -174,7 +173,7 @@
|
|
174 |
}
|
175 |
|
176 |
#fancybox-left:hover, #fancybox-right:hover {
|
177 |
-
visibility: visible;
|
178 |
}
|
179 |
|
180 |
#fancybox-left:hover span {
|
@@ -301,11 +300,12 @@
|
|
301 |
}
|
302 |
|
303 |
#fancybox-title-float-wrap td {
|
|
|
304 |
white-space: nowrap;
|
305 |
}
|
306 |
|
307 |
#fancybox-title-float-left {
|
308 |
-
padding
|
309 |
background: url('fancybox.png') -40px -90px no-repeat;
|
310 |
}
|
311 |
|
@@ -313,12 +313,12 @@
|
|
313 |
color: #FFF;
|
314 |
line-height: 29px;
|
315 |
font-weight: bold;
|
316 |
-
padding
|
317 |
background: url('fancybox-x.png') 0px -40px;
|
318 |
}
|
319 |
|
320 |
#fancybox-title-float-right {
|
321 |
-
padding
|
322 |
background: url('fancybox.png') -55px -90px no-repeat;
|
323 |
}
|
324 |
|
7 |
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8 |
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
9 |
*
|
10 |
+
* Version: 1.3.3 (04/11/2010)
|
11 |
* Requires: jQuery v1.3+
|
12 |
*
|
13 |
* Dual licensed under the MIT and GPL licenses:
|
43 |
top: 0;
|
44 |
left: 0;
|
45 |
width: 100%;
|
|
|
46 |
z-index: 1100;
|
47 |
display: none;
|
48 |
}
|
173 |
}
|
174 |
|
175 |
#fancybox-left:hover, #fancybox-right:hover {
|
176 |
+
visibility: visible; /* IE6 */
|
177 |
}
|
178 |
|
179 |
#fancybox-left:hover span {
|
300 |
}
|
301 |
|
302 |
#fancybox-title-float-wrap td {
|
303 |
+
border: none;
|
304 |
white-space: nowrap;
|
305 |
}
|
306 |
|
307 |
#fancybox-title-float-left {
|
308 |
+
padding: 0 0 0 15px;
|
309 |
background: url('fancybox.png') -40px -90px no-repeat;
|
310 |
}
|
311 |
|
313 |
color: #FFF;
|
314 |
line-height: 29px;
|
315 |
font-weight: bold;
|
316 |
+
padding: 0 0 3px 0;
|
317 |
background: url('fancybox-x.png') 0px -40px;
|
318 |
}
|
319 |
|
320 |
#fancybox-title-float-right {
|
321 |
+
padding: 0 0 0 15px;
|
322 |
background: url('fancybox.png') -55px -90px no-repeat;
|
323 |
}
|
324 |
|
fancybox/{jquery.fancybox-1.3.2.js → jquery.fancybox-1.3.3.js}
RENAMED
@@ -7,7 +7,7 @@
|
|
7 |
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8 |
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
9 |
*
|
10 |
-
* Version: 1.3.
|
11 |
* Requires: jQuery v1.3+
|
12 |
*
|
13 |
* Dual licensed under the MIT and GPL licenses:
|
@@ -212,6 +212,9 @@
|
|
212 |
break;
|
213 |
|
214 |
case 'swf':
|
|
|
|
|
|
|
215 |
str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"><param name="movie" value="' + href + '"></param>';
|
216 |
emb = '';
|
217 |
|
@@ -243,7 +246,8 @@
|
|
243 |
}
|
244 |
},
|
245 |
success : function(data, textStatus, XMLHttpRequest) {
|
246 |
-
|
|
|
247 |
if ( typeof selectedOpts.ajax.win == 'function' ) {
|
248 |
ret = selectedOpts.ajax.win(href, data, textStatus, XMLHttpRequest);
|
249 |
|
@@ -263,23 +267,18 @@
|
|
263 |
|
264 |
break;
|
265 |
|
266 |
-
case 'iframe'
|
|
|
267 |
_show();
|
268 |
break;
|
269 |
}
|
270 |
},
|
271 |
|
272 |
_process_inline = function() {
|
273 |
-
tmp.width( selectedOpts.width );
|
274 |
-
tmp.height( selectedOpts.height );
|
275 |
|
276 |
-
|
277 |
-
|
278 |
-
}
|
279 |
-
|
280 |
-
if (selectedOpts.height == 'auto') {
|
281 |
-
selectedOpts.height = tmp.height();
|
282 |
-
}
|
283 |
|
284 |
_show();
|
285 |
},
|
@@ -347,14 +346,12 @@
|
|
347 |
overlay.hide();
|
348 |
}
|
349 |
|
350 |
-
content.get(0).scrollTop = 0;
|
351 |
-
content.get(0).scrollLeft = 0;
|
352 |
-
|
353 |
final_pos = _get_zoom_to();
|
354 |
|
355 |
_process_title();
|
356 |
|
357 |
if (wrap.is(":visible")) {
|
|
|
358 |
$( close.add( nav_left ).add( nav_right ) ).hide();
|
359 |
|
360 |
pos = wrap.position(),
|
@@ -381,7 +378,8 @@
|
|
381 |
.css({
|
382 |
'border-width' : currentOpts.padding,
|
383 |
'width' : final_pos.width - currentOpts.padding * 2,
|
384 |
-
'height' :
|
|
|
385 |
});
|
386 |
|
387 |
if (equal) {
|
@@ -436,13 +434,15 @@
|
|
436 |
content
|
437 |
.css({
|
438 |
'width' : final_pos.width - currentOpts.padding * 2,
|
439 |
-
'height' :
|
|
|
440 |
})
|
441 |
.html( tmp.contents() );
|
442 |
|
443 |
wrap
|
|
|
444 |
.css(final_pos)
|
445 |
-
.fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.
|
446 |
},
|
447 |
|
448 |
_format_title = function(title) {
|
@@ -565,12 +565,15 @@
|
|
565 |
wrap.get(0).style.removeAttribute('filter');
|
566 |
}
|
567 |
|
568 |
-
|
569 |
-
|
570 |
-
if (currentOpts.type !== 'image' && currentOpts.type !== 'swf' && currentOpts.type !== 'iframe') {
|
571 |
content.css('height', 'auto');
|
572 |
}
|
573 |
|
|
|
|
|
|
|
|
|
574 |
if (titleStr && titleStr.length) {
|
575 |
title.show();
|
576 |
}
|
@@ -1056,7 +1059,9 @@
|
|
1056 |
|
1057 |
if ($.fn.mousewheel) {
|
1058 |
wrap.bind('mousewheel.fb', function(e, delta) {
|
1059 |
-
|
|
|
|
|
1060 |
|
1061 |
$.fancybox[ delta > 0 ? 'prev' : 'next']();
|
1062 |
});
|
7 |
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8 |
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
9 |
*
|
10 |
+
* Version: 1.3.3 (04/11/2010)
|
11 |
* Requires: jQuery v1.3+
|
12 |
*
|
13 |
* Dual licensed under the MIT and GPL licenses:
|
212 |
break;
|
213 |
|
214 |
case 'swf':
|
215 |
+
selectedOpts.scrolling = 'no';
|
216 |
+
selectedOpts.autoDimensions = false;
|
217 |
+
|
218 |
str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"><param name="movie" value="' + href + '"></param>';
|
219 |
emb = '';
|
220 |
|
246 |
}
|
247 |
},
|
248 |
success : function(data, textStatus, XMLHttpRequest) {
|
249 |
+
var o = typeof XMLHttpRequest == 'object' ? XMLHttpRequest : ajaxLoader;
|
250 |
+
if (o.status == 200) {
|
251 |
if ( typeof selectedOpts.ajax.win == 'function' ) {
|
252 |
ret = selectedOpts.ajax.win(href, data, textStatus, XMLHttpRequest);
|
253 |
|
267 |
|
268 |
break;
|
269 |
|
270 |
+
case 'iframe':
|
271 |
+
selectedOpts.autoDimensions = false;
|
272 |
_show();
|
273 |
break;
|
274 |
}
|
275 |
},
|
276 |
|
277 |
_process_inline = function() {
|
278 |
+
tmp.wrapInner('<div style="width:' + (selectedOpts.width == 'auto' ? 'auto' : selectedOpts.width + 'px') + ';height:' + (selectedOpts.height == 'auto' ? 'auto' : selectedOpts.height + 'px') + ';overflow: ' + (selectedOpts.scrolling == 'auto' ? 'auto' : (selectedOpts.scrolling == 'yes' ? 'scroll' : 'hidden')) + '"></div>');
|
|
|
279 |
|
280 |
+
selectedOpts.width = tmp.width();
|
281 |
+
selectedOpts.height = tmp.height();
|
|
|
|
|
|
|
|
|
|
|
282 |
|
283 |
_show();
|
284 |
},
|
346 |
overlay.hide();
|
347 |
}
|
348 |
|
|
|
|
|
|
|
349 |
final_pos = _get_zoom_to();
|
350 |
|
351 |
_process_title();
|
352 |
|
353 |
if (wrap.is(":visible")) {
|
354 |
+
|
355 |
$( close.add( nav_left ).add( nav_right ) ).hide();
|
356 |
|
357 |
pos = wrap.position(),
|
378 |
.css({
|
379 |
'border-width' : currentOpts.padding,
|
380 |
'width' : final_pos.width - currentOpts.padding * 2,
|
381 |
+
'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2
|
382 |
+
//'height' : currentOpts.type == 'image' || currentOpts.type == 'swf' || currentOpts.type == 'iframe' ? final_pos.height - titleHeight - currentOpts.padding * 2 : 'auto'
|
383 |
});
|
384 |
|
385 |
if (equal) {
|
434 |
content
|
435 |
.css({
|
436 |
'width' : final_pos.width - currentOpts.padding * 2,
|
437 |
+
'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2
|
438 |
+
//'height' : currentOpts.type == 'image' || currentOpts.type == 'swf' || currentOpts.type == 'iframe' ? final_pos.height - titleHeight - currentOpts.padding * 2 : 'auto'
|
439 |
})
|
440 |
.html( tmp.contents() );
|
441 |
|
442 |
wrap
|
443 |
+
//.hide()
|
444 |
.css(final_pos)
|
445 |
+
.fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.speedIn, _finish );
|
446 |
},
|
447 |
|
448 |
_format_title = function(title) {
|
565 |
wrap.get(0).style.removeAttribute('filter');
|
566 |
}
|
567 |
|
568 |
+
if (selectedOpts.autoDimensions) {
|
569 |
+
wrap.css('height', 'auto');
|
|
|
570 |
content.css('height', 'auto');
|
571 |
}
|
572 |
|
573 |
+
//if (currentOpts.type !== 'image' && currentOpts.type !== 'swf' && currentOpts.type !== 'iframe') {
|
574 |
+
//content.css('height', 'auto');
|
575 |
+
//}
|
576 |
+
|
577 |
if (titleStr && titleStr.length) {
|
578 |
title.show();
|
579 |
}
|
1059 |
|
1060 |
if ($.fn.mousewheel) {
|
1061 |
wrap.bind('mousewheel.fb', function(e, delta) {
|
1062 |
+
if (busy || currentOpts.type == 'image') {
|
1063 |
+
e.preventDefault();
|
1064 |
+
}
|
1065 |
|
1066 |
$.fancybox[ delta > 0 ? 'prev' : 'next']();
|
1067 |
});
|
fancybox/jquery.fancybox-1.3.3.pack.js
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* FancyBox - jQuery Plugin
|
3 |
+
* Simple and fancy lightbox alternative
|
4 |
+
*
|
5 |
+
* Examples and documentation at: http://fancybox.net
|
6 |
+
*
|
7 |
+
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
8 |
+
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
9 |
+
*
|
10 |
+
* Version: 1.3.3 (04/11/2010)
|
11 |
+
* Requires: jQuery v1.3+
|
12 |
+
*
|
13 |
+
* Dual licensed under the MIT and GPL licenses:
|
14 |
+
* http://www.opensource.org/licenses/mit-license.php
|
15 |
+
* http://www.gnu.org/licenses/gpl.html
|
16 |
+
*/
|
17 |
+
|
18 |
+
;(function(a){var m,t,u,f,D,j,E,n,z,A,q=0,e={},o=[],p=0,c={},l=[],G=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,i,h=false,B=a.extend(a("<div/>")[0],{prop:0}),M=a.browser.msie&&a.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;G&&G.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();h=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>');
|
19 |
+
F()}},I=function(){var b=o[q],d,g,k,C,P,w;N();e=a.extend({},a.fn.fancybox.defaults,typeof a(b).data("fancybox")=="undefined"?e:a(b).data("fancybox"));w=e.onStart(o,q,e);if(w===false)h=false;else{if(typeof w=="object")e=a.extend(e,w);k=e.title||(b.nodeName?a(b).attr("title"):b.title)||"";if(b.nodeName&&!e.orig)e.orig=a(b).children("img:first").length?a(b).children("img:first"):a(b);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");d=e.href||(b.nodeName?a(b).attr("href"):b.href)||null;if(/^(?:javascript)/i.test(d)||
|
20 |
+
d=="#")d=null;if(e.type){g=e.type;if(!d)d=e.content}else if(e.content)g="html";else if(d)g=d.match(J)?"image":d.match(W)?"swf":a(b).hasClass("iframe")?"iframe":d.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){b=d.substr(d.indexOf("#"));g=a(b).length>0?"inline":"ajax"}e.type=g;e.href=d;e.title=k;if(e.autoDimensions&&e.type!=="iframe"&&e.type!=="swf"){e.width="auto";e.height="auto"}if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=false;e.enableEscapeButton=false;
|
21 |
+
e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);a(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){a(this).replaceWith(j.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(a(b).parent().is("#fancybox-content")===true){h=false;break}a('<div class="fancybox-inline-tmp" />').hide().insertBefore(a(b)).bind("fancybox-cleanup",function(){a(this).replaceWith(j.children())}).bind("fancybox-cancel",
|
22 |
+
function(){a(this).replaceWith(m.children())});a(b).appendTo(m);F();break;case "image":h=false;a.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){h=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;a("<img />").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=d;break;case "swf":e.scrolling="no";e.autoDimensions=false;C='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+
|
23 |
+
d+'"></param>';P="";a.each(e.swf,function(x,H){C+='<param name="'+x+'" value="'+H+'"></param>';P+=" "+x+'="'+H+'"'});C+='<embed src="'+d+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+P+"></embed></object>";m.html(C);F();break;case "ajax":h=false;a.fancybox.showActivity();e.ajax.win=e.ajax.success;G=a.ajax(a.extend({},e.ajax,{url:d,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,H,R){if((typeof R=="object"?R:G).status==200){if(typeof e.ajax.win==
|
24 |
+
"function"){w=e.ajax.win(d,x,H,R);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":e.autoDimensions=false;Q()}}else O()}},F=function(){m.wrapInner('<div style="width:'+(e.width=="auto"?"auto":e.width+"px")+";height:"+(e.height=="auto"?"auto":e.height+"px")+";overflow: "+(e.scrolling=="auto"?"auto":e.scrolling=="yes"?"scroll":"hidden")+'"></div>');e.width=m.width();e.height=m.height();Q()},Q=function(){var b,d;t.hide();if(f.is(":visible")&&
|
25 |
+
false===c.onCleanup(l,p,c)){a.event.trigger("fancybox-cancel");h=false}else{h=true;a(j.add(u)).unbind();a(window).unbind("resize.fb scroll.fb");a(document).unbind("keydown.fb");f.is(":visible")&&c.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;c=e;if(c.overlayShow){u.css({"background-color":c.overlayColor,opacity:c.overlayOpacity,cursor:c.hideOnOverlayClick?"pointer":"auto",height:a(document).height()});if(!u.is(":visible")){M&&a("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!==
|
26 |
+
"hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();i=X();s=c.title||"";y=0;n.empty().removeAttr("style").removeClass();if(c.titleShow!==false){if(a.isFunction(c.titleFormat))b=c.titleFormat(s,l,p,c);else b=s&&s.length?c.titlePosition=="float"?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+s+'</td><td id="fancybox-title-float-right"></td></tr></table>':
|
27 |
+
'<div id="fancybox-title-'+c.titlePosition+'">'+s+"</div>":false;s=b;if(!(!s||s==="")){n.addClass("fancybox-title-"+c.titlePosition).html(s).appendTo("body").show();switch(c.titlePosition){case "inside":n.css({width:i.width-c.padding*2,marginLeft:c.padding,marginRight:c.padding});y=n.outerHeight(true);n.appendTo(D);i.height+=y;break;case "over":n.css({marginLeft:c.padding,width:i.width-c.padding*2,bottom:c.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-i.width-40)/2,10)*
|
28 |
+
-1).appendTo(f);break;default:n.css({width:i.width-c.padding*2,paddingLeft:c.padding,paddingRight:c.padding}).appendTo(f)}}}n.hide();if(f.is(":visible")){a(E.add(z).add(A)).hide();b=f.position();r={top:b.top,left:b.left,width:f.width(),height:f.height()};d=r.width==i.width&&r.height==i.height;j.fadeTo(c.changeFade,0.3,function(){var g=function(){j.html(m.contents()).fadeTo(c.changeFade,1,S)};a.event.trigger("fancybox-change");j.empty().removeAttr("filter").css({"border-width":c.padding,width:i.width-
|
29 |
+
c.padding*2,height:e.autoDimensions?"auto":i.height-y-c.padding*2});if(d)g();else{B.prop=0;a(B).animate({prop:1},{duration:c.changeSpeed,easing:c.easingChange,step:T,complete:g})}})}else{f.removeAttr("style");j.css("border-width",c.padding);if(c.transitionIn=="elastic"){r=V();j.html(m.contents());f.show();if(c.opacity)i.opacity=0;B.prop=0;a(B).animate({prop:1},{duration:c.speedIn,easing:c.easingIn,step:T,complete:S})}else{c.titlePosition=="inside"&&y>0&&n.show();j.css({width:i.width-c.padding*2,height:e.autoDimensions?
|
30 |
+
"auto":i.height-y-c.padding*2}).html(m.contents());f.css(i).fadeIn(c.transitionIn=="none"?0:c.speedIn,S)}}}},Y=function(){if(c.enableEscapeButton||c.enableKeyboardNav)a(document).bind("keydown.fb",function(b){if(b.keyCode==27&&c.enableEscapeButton){b.preventDefault();a.fancybox.close()}else if((b.keyCode==37||b.keyCode==39)&&c.enableKeyboardNav&&b.target.tagName!=="INPUT"&&b.target.tagName!=="TEXTAREA"&&b.target.tagName!=="SELECT"){b.preventDefault();a.fancybox[b.keyCode==37?"prev":"next"]()}});if(c.showNavArrows){if(c.cyclic&&
|
31 |
+
l.length>1||p!==0)z.show();if(c.cyclic&&l.length>1||p!=l.length-1)A.show()}else{z.hide();A.hide()}},S=function(){if(!a.support.opacity){j.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}if(e.autoDimensions){f.css("height","auto");j.css("height","auto")}s&&s.length&&n.show();c.showCloseButton&&E.show();Y();c.hideOnContentClick&&j.bind("click",a.fancybox.close);c.hideOnOverlayClick&&u.bind("click",a.fancybox.close);a(window).bind("resize.fb",a.fancybox.resize);c.centerOnScroll&&
|
32 |
+
a(window).bind("scroll.fb",a.fancybox.center);if(c.type=="iframe")a('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(a.browser.msie?'allowtransparency="true""':"")+' scrolling="'+e.scrolling+'" src="'+c.href+'"></iframe>').appendTo(j);f.show();h=false;a.fancybox.center();c.onComplete(l,p,c);var b,d;if(l.length-1>p){b=l[p+1].href;if(typeof b!=="undefined"&&b.match(J)){d=new Image;d.src=b}}if(p>0){b=l[p-1].href;if(typeof b!=="undefined"&&b.match(J)){d=
|
33 |
+
new Image;d.src=b}}},T=function(b){var d={width:parseInt(r.width+(i.width-r.width)*b,10),height:parseInt(r.height+(i.height-r.height)*b,10),top:parseInt(r.top+(i.top-r.top)*b,10),left:parseInt(r.left+(i.left-r.left)*b,10)};if(typeof i.opacity!=="undefined")d.opacity=b<0.5?0.5:b;f.css(d);j.css({width:d.width-c.padding*2,height:d.height-y*b-c.padding*2})},U=function(){return[a(window).width()-c.margin*2,a(window).height()-c.margin*2,a(document).scrollLeft()+c.margin,a(document).scrollTop()+c.margin]},
|
34 |
+
X=function(){var b=U(),d={},g=c.autoScale,k=c.padding*2;d.width=c.width.toString().indexOf("%")>-1?parseInt(b[0]*parseFloat(c.width)/100,10):c.width+k;d.height=c.height.toString().indexOf("%")>-1?parseInt(b[1]*parseFloat(c.height)/100,10):c.height+k;if(g&&(d.width>b[0]||d.height>b[1]))if(e.type=="image"||e.type=="swf"){g=c.width/c.height;if(d.width>b[0]){d.width=b[0];d.height=parseInt((d.width-k)/g+k,10)}if(d.height>b[1]){d.height=b[1];d.width=parseInt((d.height-k)*g+k,10)}}else{d.width=Math.min(d.width,
|
35 |
+
b[0]);d.height=Math.min(d.height,b[1])}d.top=parseInt(Math.max(b[3]-20,b[3]+(b[1]-d.height-40)*0.5),10);d.left=parseInt(Math.max(b[2]-20,b[2]+(b[0]-d.width-40)*0.5),10);return d},V=function(){var b=e.orig?a(e.orig):false,d={};if(b&&b.length){d=b.offset();d.top+=parseInt(b.css("paddingTop"),10)||0;d.left+=parseInt(b.css("paddingLeft"),10)||0;d.top+=parseInt(b.css("border-top-width"),10)||0;d.left+=parseInt(b.css("border-left-width"),10)||0;d.width=b.width();d.height=b.height();d={width:d.width+c.padding*
|
36 |
+
2,height:d.height+c.padding*2,top:d.top-c.padding-20,left:d.left-c.padding-20}}else{b=U();d={width:c.padding*2,height:c.padding*2,top:parseInt(b[3]+b[1]*0.5,10),left:parseInt(b[2]+b[0]*0.5,10)}}return d},Z=function(){if(t.is(":visible")){a("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)};a.fn.fancybox=function(b){if(!a(this).length)return this;a(this).data("fancybox",a.extend({},b,a.metadata?a(this).metadata():{})).unbind("click.fb").bind("click.fb",function(d){d.preventDefault();
|
37 |
+
if(!h){h=true;a(this).blur();o=[];q=0;d=a(this).attr("rel")||"";if(!d||d==""||d==="nofollow")o.push(this);else{o=a("a[rel="+d+"], area[rel="+d+"]");q=o.index(this)}I()}});return this};a.fancybox=function(b,d){var g;if(!h){h=true;g=typeof d!=="undefined"?d:{};o=[];q=parseInt(g.index,10)||0;if(a.isArray(b)){for(var k=0,C=b.length;k<C;k++)if(typeof b[k]=="object")a(b[k]).data("fancybox",a.extend({},g,b[k]));else b[k]=a({}).data("fancybox",a.extend({content:b[k]},g));o=jQuery.merge(o,b)}else{if(typeof b==
|
38 |
+
"object")a(b).data("fancybox",a.extend({},g,b));else b=a({}).data("fancybox",a.extend({content:b},g));o.push(b)}if(q>o.length||q<0)q=0;I()}};a.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};a.fancybox.hideActivity=function(){t.hide()};a.fancybox.next=function(){return a.fancybox.pos(p+1)};a.fancybox.prev=function(){return a.fancybox.pos(p-1)};a.fancybox.pos=function(b){if(!h){b=parseInt(b);o=l;if(b>-1&&b<l.length){q=b;I()}else if(c.cyclic&&l.length>1){q=b>=l.length?
|
39 |
+
0:l.length-1;I()}}};a.fancybox.cancel=function(){if(!h){h=true;a.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);h=false}};a.fancybox.close=function(){function b(){u.fadeOut("fast");n.empty().hide();f.hide();a.event.trigger("fancybox-cleanup");j.empty();c.onClosed(l,p,c);l=e=[];p=q=0;c=e={};h=false}if(!(h||f.is(":hidden"))){h=true;if(c&&false===c.onCleanup(l,p,c))h=false;else{N();a(E.add(z).add(A)).hide();a(j.add(u)).unbind();a(window).unbind("resize.fb scroll.fb");a(document).unbind("keydown.fb");
|
40 |
+
j.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");c.titlePosition!=="inside"&&n.empty();f.stop();if(c.transitionOut=="elastic"){r=V();var d=f.position();i={top:d.top,left:d.left,width:f.width(),height:f.height()};if(c.opacity)i.opacity=1;n.empty().hide();B.prop=1;a(B).animate({prop:0},{duration:c.speedOut,easing:c.easingOut,step:T,complete:b})}else f.fadeOut(c.transitionOut=="none"?0:c.speedOut,b)}}};a.fancybox.resize=function(){u.is(":visible")&&
|
41 |
+
u.css("height",a(document).height());a.fancybox.center(true)};a.fancybox.center=function(b){var d,g;if(!h){g=b===true?1:0;d=U();!g&&(f.width()>d[0]||f.height()>d[1])||f.stop().animate({top:parseInt(Math.max(d[3]-20,d[3]+(d[1]-j.height()-40)*0.5-c.padding)),left:parseInt(Math.max(d[2]-20,d[2]+(d[0]-j.width()-40)*0.5-c.padding))},typeof b=="number"?b:200)}};a.fancybox.init=function(){if(!a("#fancybox-wrap").length){a("body").append(m=a('<div id="fancybox-tmp"></div>'),t=a('<div id="fancybox-loading"><div></div></div>'),
|
42 |
+
u=a('<div id="fancybox-overlay"></div>'),f=a('<div id="fancybox-wrap"></div>'));D=a('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(f);
|
43 |
+
D.append(j=a('<div id="fancybox-content"></div>'),E=a('<a id="fancybox-close"></a>'),n=a('<div id="fancybox-title"></div>'),z=a('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),A=a('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));E.click(a.fancybox.close);t.click(a.fancybox.cancel);z.click(function(b){b.preventDefault();a.fancybox.prev()});A.click(function(b){b.preventDefault();a.fancybox.next()});
|
44 |
+
a.fn.mousewheel&&f.bind("mousewheel.fb",function(b,d){if(h||c.type=="image")b.preventDefault();a.fancybox[d>0?"prev":"next"]()});a.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");a('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(D)}}};a.fn.fancybox.defaults={padding:10,margin:40,opacity:false,
|
45 |
+
modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,
|
46 |
+
enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};a(document).ready(function(){a.fancybox.init()})})(jQuery);
|
jquery.fancybox.css.php
CHANGED
@@ -10,56 +10,19 @@ $url = dirname($_SERVER['SCRIPT_NAME']);
|
|
10 |
/*
|
11 |
* FancyBox - jQuery Plugin
|
12 |
* Simple and fancy lightbox alternative
|
13 |
-
*
|
14 |
-
* Examples and documentation at: http://fancybox.net
|
15 |
*
|
16 |
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
17 |
-
* That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
|
18 |
*
|
19 |
-
* Version: 1.3.
|
20 |
-
* Requires: jQuery v1.3+
|
21 |
*
|
22 |
* Dual licensed under the MIT and GPL licenses:
|
23 |
* http://www.opensource.org/licenses/mit-license.php
|
24 |
* http://www.gnu.org/licenses/gpl.html
|
|
|
|
|
25 |
*/
|
26 |
-
|
27 |
-
#fancybox-loading{position:fixed;top:50%;left:50%;width:40px;height:40px;margin-top:-20px;margin-left:-20px;cursor:pointer;overflow:hidden;z-index:1104;display:none}#fancybox-loading div{position:absolute;top:0;left:0;width:40px;height:480px;background-image:url('fancybox/fancybox.png')}#fancybox-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1100;display:none}#fancybox-tmp{padding:0;margin:0;border:0;overflow:auto;display:none}#fancybox-wrap{position:absolute;top:0;left:0;padding:20px;z-index:1101;outline:none;display:none}#fancybox-outer{position:relative;width:100%;height:100%;background:#fff}#fancybox-content{width:0;height:0;padding:0;outline:none;position:relative;overflow:hidden;z-index:1102;border:0px solid #fff}#fancybox-hide-sel-frame{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;z-index:1101}#fancybox-close{position:absolute;top:-15px;right:-15px;width:30px;height:30px;background:transparent url('fancybox/fancybox.png') -40px 0px;cursor:pointer;z-index:1103;display:none}#fancybox-error{color:#444;font:normal 12px/20px Arial;padding:14px;margin:0}#fancybox-img{width:100%;height:100%;padding:0;margin:0;border:none;outline:none;line-height:0;vertical-align:top}#fancybox-frame{width:100%;height:100%;border:none;display:block}#fancybox-left,#fancybox-right{position:absolute;bottom:0px;height:100%;width:35%;cursor:pointer;outline:none;background:transparent url('fancybox/blank.gif');z-index:1102;display:none}#fancybox-left{left:0px}#fancybox-right{right:0px}#fancybox-left-ico,#fancybox-right-ico{position:absolute;top:50%;left:-9999px;width:30px;height:30px;margin-top:-15px;cursor:pointer;z-index:1102;display:block}#fancybox-left-ico{background-image:url('fancybox/fancybox.png');background-position:-40px -30px}#fancybox-right-ico{background-image:url('fancybox/fancybox.png');background-position:-40px -60px}#fancybox-left:hover,#fancybox-right:hover{visibility:visible}#fancybox-left:hover span{left:20px}#fancybox-right:hover span{left:auto;right:20px}.fancybox-bg{position:absolute;padding:0;margin:0;border:0;width:20px;height:20px;z-index:1001}#fancybox-bg-n{top:-20px;left:0;width:100%;background-image:url('fancybox/fancybox-x.png')}#fancybox-bg-ne{top:-20px;right:-20px;background-image:url('fancybox/fancybox.png');background-position:-40px -162px}#fancybox-bg-e{top:0;right:-20px;height:100%;background-image:url('fancybox/fancybox-y.png');background-position:-20px 0px}#fancybox-bg-se{bottom:-20px;right:-20px;background-image:url('fancybox/fancybox.png');background-position:-40px -182px}#fancybox-bg-s{bottom:-20px;left:0;width:100%;background-image:url('fancybox/fancybox-x.png');background-position:0px -20px}#fancybox-bg-sw{bottom:-20px;left:-20px;background-image:url('fancybox/fancybox.png');background-position:-40px -142px}#fancybox-bg-w{top:0;left:-20px;height:100%;background-image:url('fancybox/fancybox-y.png')}#fancybox-bg-nw{top:-20px;left:-20px;background-image:url('fancybox/fancybox.png');background-position:-40px -122px}#fancybox-title{font-family:Helvetica;font-size:12px;z-index:1102}.fancybox-title-inside{padding-bottom:10px;text-align:center;color:#333;background:#fff;position:relative}.fancybox-title-outside{padding-top:10px;color:#fff}.fancybox-title-over{position:absolute;bottom:0;left:0;color:#FFF;text-align:left}#fancybox-title-over{padding:10px;background-image:url('fancybox/fancy_title_over.png');display:block}.fancybox-title-float{position:absolute;left:0;bottom:-20px;height:32px}#fancybox-title-float-wrap{border:none;border-collapse:collapse;width:auto}#fancybox-title-float-wrap td{white-space:nowrap}#fancybox-title-float-left{padding-left:15px;background:url('fancybox/fancybox.png') -40px -90px no-repeat}#fancybox-title-float-main{color:#FFF;line-height:29px;font-weight:bold;padding-bottom:3px;background:url('fancybox/fancybox-x.png') 0px -40px}#fancybox-title-float-right{padding-left:15px;background:url('fancybox/fancybox.png') -55px -90px no-repeat}
|
28 |
-
|
29 |
-
/* IE -- adapted for Easy Fancybox plugin for WordPress */
|
30 |
-
|
31 |
/* IE6 */
|
32 |
-
|
33 |
-
.fancybox-ie6 #fancybox-close{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_close.png', sizingMethod='scale'); }
|
34 |
-
|
35 |
-
.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_nav_left.png', sizingMethod='scale'); }
|
36 |
-
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_nav_right.png', sizingMethod='scale'); }
|
37 |
-
|
38 |
-
.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
|
39 |
-
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_title_left.png', sizingMethod='scale'); }
|
40 |
-
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_title_main.png', sizingMethod='scale'); }
|
41 |
-
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_title_right.png', sizingMethod='scale'); }
|
42 |
-
|
43 |
-
.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
|
44 |
-
height: expression(this.parentNode.clientHeight + "px");
|
45 |
-
}
|
46 |
-
|
47 |
-
#fancybox-loading.fancybox-ie6 {
|
48 |
-
position: absolute; margin-top: 0;
|
49 |
-
top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
|
50 |
-
}
|
51 |
-
|
52 |
-
#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_loading.png', sizingMethod='scale'); }
|
53 |
-
|
54 |
/* IE6, IE7, IE8 */
|
55 |
-
|
56 |
-
.fancybox-ie .fancybox-bg { background: transparent !important; }
|
57 |
-
|
58 |
-
.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
|
59 |
-
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
|
60 |
-
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
|
61 |
-
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
|
62 |
-
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
|
63 |
-
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
|
64 |
-
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
|
65 |
-
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
|
10 |
/*
|
11 |
* FancyBox - jQuery Plugin
|
12 |
* Simple and fancy lightbox alternative
|
|
|
|
|
13 |
*
|
14 |
* Copyright (c) 2008 - 2010 Janis Skarnelis
|
|
|
15 |
*
|
16 |
+
* Version: 1.3.3 (04/11/2010)
|
|
|
17 |
*
|
18 |
* Dual licensed under the MIT and GPL licenses:
|
19 |
* http://www.opensource.org/licenses/mit-license.php
|
20 |
* http://www.gnu.org/licenses/gpl.html
|
21 |
+
*
|
22 |
+
* Adapted for Easy Fancybox - WordPress Plugin
|
23 |
*/
|
24 |
+
#fancybox-loading{position:fixed;top:50%;left:50%;width:40px;height:40px;margin-top:-20px;margin-left:-20px;cursor:pointer;overflow:hidden;z-index:1104;display:none}#fancybox-loading div{position:absolute;top:0;left:0;width:40px;height:480px;background-image:url('fancybox/fancybox.png')}#fancybox-overlay{position:absolute;top:0;left:0;width:100%;z-index:1100;display:none}#fancybox-tmp{padding:0;margin:0;border:0;overflow:auto;display:none}#fancybox-wrap{position:absolute;top:0;left:0;padding:20px;z-index:1101;outline:none;display:none}#fancybox-outer{position:relative;width:100%;height:100%;background:#fff}#fancybox-content{width:0;height:0;padding:0;outline:none;position:relative;overflow:hidden;z-index:1102;border:0px solid #fff}#fancybox-hide-sel-frame{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;z-index:1101}#fancybox-close{position:absolute;top:-15px;right:-15px;width:30px;height:30px;background:transparent url('fancybox/fancybox.png') -40px 0px;cursor:pointer;z-index:1103;display:none}#fancybox-error{color:#444;font:normal 12px/20px Arial;padding:14px;margin:0}#fancybox-img{width:100%;height:100%;padding:0;margin:0;border:none;outline:none;line-height:0;vertical-align:top}#fancybox-frame{width:100%;height:100%;border:none;display:block}#fancybox-left,#fancybox-right{position:absolute;bottom:0px;height:100%;width:35%;cursor:pointer;outline:none;background:transparent url('fancybox/blank.gif');z-index:1102;display:none}#fancybox-left{left:0px}#fancybox-right{right:0px}#fancybox-left-ico,#fancybox-right-ico{position:absolute;top:50%;left:-9999px;width:30px;height:30px;margin-top:-15px;cursor:pointer;z-index:1102;display:block}#fancybox-left-ico{background-image:url('fancybox/fancybox.png');background-position:-40px -30px}#fancybox-right-ico{background-image:url('fancybox/fancybox.png');background-position:-40px -60px}#fancybox-left:hover,#fancybox-right:hover{visibility:visible}#fancybox-left:hover span{left:20px}#fancybox-right:hover span{left:auto;right:20px}.fancybox-bg{position:absolute;padding:0;margin:0;border:0;width:20px;height:20px;z-index:1001}#fancybox-bg-n{top:-20px;left:0;width:100%;background-image:url('fancybox/fancybox-x.png')}#fancybox-bg-ne{top:-20px;right:-20px;background-image:url('fancybox/fancybox.png');background-position:-40px -162px}#fancybox-bg-e{top:0;right:-20px;height:100%;background-image:url('fancybox/fancybox-y.png');background-position:-20px 0px}#fancybox-bg-se{bottom:-20px;right:-20px;background-image:url('fancybox/fancybox.png');background-position:-40px -182px}#fancybox-bg-s{bottom:-20px;left:0;width:100%;background-image:url('fancybox/fancybox-x.png');background-position:0px -20px}#fancybox-bg-sw{bottom:-20px;left:-20px;background-image:url('fancybox/fancybox.png');background-position:-40px -142px}#fancybox-bg-w{top:0;left:-20px;height:100%;background-image:url('fancybox/fancybox-y.png')}#fancybox-bg-nw{top:-20px;left:-20px;background-image:url('fancybox/fancybox.png');background-position:-40px -122px}#fancybox-title{font-family:Helvetica;font-size:12px;z-index:1102}.fancybox-title-inside{padding-bottom:10px;text-align:center;color:#333;background:#fff;position:relative}.fancybox-title-outside{padding-top:10px;color:#fff}.fancybox-title-over{position:absolute;bottom:0;left:0;color:#FFF;text-align:left}#fancybox-title-over{padding:10px;background-image:url('fancybox/fancy_title_over.png');display:block}.fancybox-title-float{position:absolute;left:0;bottom:-20px;height:32px}#fancybox-title-float-wrap{border:none;border-collapse:collapse;width:auto}#fancybox-title-float-wrap td{border:none;white-space:nowrap}#fancybox-title-float-left{padding-left:15px;background:url('fancybox/fancybox.png') -40px -90px no-repeat}#fancybox-title-float-main{color:#FFF;line-height:29px;font-weight:bold;padding:0 0 3px 0;background:url('fancybox/fancybox-x.png') 0px -40px}#fancybox-title-float-right{padding:0 0 0 15px;background:url('fancybox/fancybox.png') -55px -90px no-repeat}
|
|
|
|
|
|
|
|
|
25 |
/* IE6 */
|
26 |
+
.fancybox-ie6 #fancybox-close{background:transparent;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_close.png', sizingMethod='scale');}.fancybox-ie6 #fancybox-left-ico{background:transparent;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_nav_left.png', sizingMethod='scale');}.fancybox-ie6 #fancybox-right-ico{background:transparent;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_nav_right.png', sizingMethod='scale');}.fancybox-ie6 #fancybox-title-over{background:transparent;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_title_over.png', sizingMethod='scale');zoom:1}.fancybox-ie6 #fancybox-title-float-left{background:transparent;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_title_left.png', sizingMethod='scale');}.fancybox-ie6 #fancybox-title-float-main{background:transparent;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_title_main.png', sizingMethod='scale');}.fancybox-ie6 #fancybox-title-float-right{background:transparent;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_title_right.png', sizingMethod='scale');}.fancybox-ie6 #fancybox-bg-w,.fancybox-ie6 #fancybox-bg-e,.fancybox-ie6 #fancybox-left,.fancybox-ie6 #fancybox-right,#fancybox-hide-sel-frame{height: expression(this.parentNode.clientHeight + "px");}#fancybox-loading.fancybox-ie6{position:absolute;margin-top:0;top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');}#fancybox-loading.fancybox-ie6 div{background:transparent;filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_loading.png', sizingMethod='scale');}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
/* IE6, IE7, IE8 */
|
28 |
+
.fancybox-ie .fancybox-bg{background:transparent !important;}.fancybox-ie #fancybox-bg-n{filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_n.png', sizingMethod='scale');}.fancybox-ie #fancybox-bg-ne{filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_ne.png', sizingMethod='scale');}.fancybox-ie #fancybox-bg-e{filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_e.png', sizingMethod='scale');}.fancybox-ie #fancybox-bg-se{filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_se.png', sizingMethod='scale');}.fancybox-ie #fancybox-bg-s{filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_s.png', sizingMethod='scale');}.fancybox-ie #fancybox-bg-sw{filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_sw.png', sizingMethod='scale');}.fancybox-ie #fancybox-bg-w{filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_w.png', sizingMethod='scale');}.fancybox-ie #fancybox-bg-nw{filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $url ?>/fancybox/fancy_shadow_nw.png', sizingMethod='scale');}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
=== Easy FancyBox ===
|
2 |
Contributors: RavanH
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=Easy%20FancyBox&item_number=1%2e3%2e1&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us
|
4 |
-
Tags: fancybox, jquery, images, lightbox, gallery, image overlay
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 3.0.1
|
7 |
-
Stable tag: 1.3.
|
8 |
|
9 |
-
Easily enable the FancyBox 1.3.
|
10 |
|
11 |
== Description ==
|
12 |
|
@@ -14,11 +14,12 @@ No options to be set. No configuration pages. It just gives you FancyBox-in-a-Bo
|
|
14 |
|
15 |
See the [Screenshot](http://wordpress.org/extend/plugins/easy-fancybox/screenshots/) and you know how images will be presented on your site as soon as you have installed and (network) activated this simple plugin.
|
16 |
|
17 |
-
See [FAQ's](http://wordpress.org/extend/plugins/easy-fancybox/faq/) for instructions to get
|
18 |
|
19 |
Looking for some basic control? You can find a new section **FancyBox** on your **Settings > Media** admin page:
|
20 |
|
21 |
- *Auto-enable*: file types FancyBox should be automatically enabled for.
|
|
|
22 |
- *Title Position*: Overlay / Inside / Outside to control the position of the image title. Includes the new "Overlay" position.
|
23 |
- *Transition In / Out*: Elastic / Fade / None to control the transition effects during opening and closing of the overlay.
|
24 |
|
@@ -28,7 +29,6 @@ Visit [FancyBox](http://fancybox.net/) for more information, examples and the Su
|
|
28 |
|
29 |
- **Dutch** * Author: [R.A. van Hagen](http://4visions.nl)
|
30 |
|
31 |
-
|
32 |
== Installation ==
|
33 |
|
34 |
= Wordpress =
|
@@ -71,7 +71,7 @@ Basically, it is a fancy way of presenting images on your website. If you have s
|
|
71 |
|
72 |
Instead of bothering you with the HUGE amount of configuration options that FancyBox can handle, this plugin requires NO configuration. Easy, isn't it? ;)
|
73 |
|
74 |
-
If you *do* want configuration options to tweak and fiddle for days
|
75 |
|
76 |
= Which version of FancyBox does this plugin use? =
|
77 |
|
@@ -79,7 +79,7 @@ The same version as this plugin has. I aim to keep close pace to FancyBox upgrad
|
|
79 |
|
80 |
= Where is the settings page? =
|
81 |
|
82 |
-
There is no settings page but there are a few options you can change.
|
83 |
|
84 |
= Will a WordPress generated gallery be displayed in a FancyBox overlay? =
|
85 |
|
@@ -87,21 +87,27 @@ Yes, but _only_ if you used the option **Link thumbnails to: Image File** when i
|
|
87 |
|
88 |
= Can I display web pages or HTML files in a FancyBox overlay? =
|
89 |
|
90 |
-
Yes. Place a link with either `class="fancybox-iframe"` or `class="fancybox iframe"` to any web page or .htm(l) file in your content.
|
91 |
|
92 |
-
NOTE: The difference between these two (- or space) is in size of the overlay viewport. Try it out and use the one
|
93 |
|
94 |
= Can I play SWF files in a FancyBox overlay? =
|
95 |
|
96 |
Yes. Just place a link _with the URL ending in .swf_ to your Flash file in the page content.
|
97 |
|
98 |
-
If you do not have **swf** included in the *Auto-enable* option on Settings > Media admin page,you will need to add either `class="fancybox"` or `class="fancybox-swf"` to the link to enable FancyBox for it.
|
|
|
|
|
|
|
|
|
99 |
|
100 |
-
|
101 |
|
102 |
-
|
103 |
|
104 |
-
|
|
|
|
|
105 |
|
106 |
= Is Easy FancyBox multi-site compatible? =
|
107 |
|
@@ -111,17 +117,29 @@ Yes. Designed to work with **Network Activate** and does not require manual acti
|
|
111 |
|
112 |
1. Example image with **Overlay** caption. This is the default way Easy FancyBox displays images. Other options are **Inside** and the old **Outside**.
|
113 |
|
114 |
-
2. Example of a
|
|
|
|
|
|
|
|
|
|
|
115 |
|
116 |
== Changelog ==
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
= 1.3.2 =
|
119 |
-
* upgraded FancyBox script to version 1.3.2
|
120 |
|
121 |
= 1.3.1.3 =
|
122 |
* translation .pot file available
|
123 |
* Dutch translation
|
124 |
-
*
|
125 |
* Iframe support
|
126 |
* added option Auto-enable for...
|
127 |
|
@@ -135,8 +153,3 @@ Yes. Designed to work with **Network Activate** and does not require manual acti
|
|
135 |
|
136 |
= 1.3.1 =
|
137 |
* Using FancyBox version 1.3.1
|
138 |
-
|
139 |
-
== Upgrade Notice ==
|
140 |
-
|
141 |
-
= 1.3.2 =
|
142 |
-
New FancyBox version 1.3.2 included.
|
1 |
=== Easy FancyBox ===
|
2 |
Contributors: RavanH
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=ravanhagen%40gmail%2ecom&item_name=Easy%20FancyBox&item_number=1%2e3%2e1&no_shipping=0&tax=0&bn=PP%2dDonationsBF&charset=UTF%2d8&lc=us
|
4 |
+
Tags: fancybox, jquery, images, lightbox, gallery, image overlay, youtube, vimeo
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 3.0.1
|
7 |
+
Stable tag: 1.3.3.4
|
8 |
|
9 |
+
Easily enable the FancyBox 1.3.3 jQuery extension on all image, SWF, YouTube and Vimeo links. Multi-Site compatible and supports iFrame and Flash movies in overlay viewport.
|
10 |
|
11 |
== Description ==
|
12 |
|
14 |
|
15 |
See the [Screenshot](http://wordpress.org/extend/plugins/easy-fancybox/screenshots/) and you know how images will be presented on your site as soon as you have installed and (network) activated this simple plugin.
|
16 |
|
17 |
+
See [FAQ's](http://wordpress.org/extend/plugins/easy-fancybox/faq/) for instructions to get YouTube and Vimeo movies (and similar services) and HTML content display in a FancyBox overlay.
|
18 |
|
19 |
Looking for some basic control? You can find a new section **FancyBox** on your **Settings > Media** admin page:
|
20 |
|
21 |
- *Auto-enable*: file types FancyBox should be automatically enabled for.
|
22 |
+
- *Auto-detect*: control auto-detection and enabling for links to YouTube and Vimeo movies.
|
23 |
- *Title Position*: Overlay / Inside / Outside to control the position of the image title. Includes the new "Overlay" position.
|
24 |
- *Transition In / Out*: Elastic / Fade / None to control the transition effects during opening and closing of the overlay.
|
25 |
|
29 |
|
30 |
- **Dutch** * Author: [R.A. van Hagen](http://4visions.nl)
|
31 |
|
|
|
32 |
== Installation ==
|
33 |
|
34 |
= Wordpress =
|
71 |
|
72 |
Instead of bothering you with the HUGE amount of configuration options that FancyBox can handle, this plugin requires NO configuration. Easy, isn't it? ;)
|
73 |
|
74 |
+
If you *do* want configuration options to tweak and fiddle for days, check out some of the other FancyBox plugins available.
|
75 |
|
76 |
= Which version of FancyBox does this plugin use? =
|
77 |
|
79 |
|
80 |
= Where is the settings page? =
|
81 |
|
82 |
+
There is no new settings page but there are a few options you can change. You will find a new **FancyBox** section on **Settings > Media**. To see the default, check out the example under [Screenshots](http://wordpress.org/extend/plugins/easy-fancybox/) ...
|
83 |
|
84 |
= Will a WordPress generated gallery be displayed in a FancyBox overlay? =
|
85 |
|
87 |
|
88 |
= Can I display web pages or HTML files in a FancyBox overlay? =
|
89 |
|
90 |
+
Yes. Place a link with either `class="fancybox-iframe"` or `class="fancybox iframe"` (notice the space instead of the hyphen) to any web page or .htm(l) file in your content.
|
91 |
|
92 |
+
NOTE: The difference between these two classes (- or space) is in size of the overlay viewport. Try it out and use the one that works best :)
|
93 |
|
94 |
= Can I play SWF files in a FancyBox overlay? =
|
95 |
|
96 |
Yes. Just place a link _with the URL ending in .swf_ to your Flash file in the page content.
|
97 |
|
98 |
+
If you do not have **swf** included in the *Auto-enable* option on Settings > Media admin page, you will need to add either `class="fancybox"` or `class="fancybox-swf"` (to force swf content recognition) to the link to enable FancyBox for it.
|
99 |
+
|
100 |
+
= Can I play YouTube and Vimeo movies in a FancyBox overlay? =
|
101 |
+
|
102 |
+
Yes.
|
103 |
|
104 |
+
For YouTube, just place a link to the YouTube page in your content. If you have disabled Auto-detection, use it with `class="fancybox-youtube"` to manually enable FancyBox for it. (Note: For shortened YouTube URLs, the class does not work. Auto auto-detection needs to be enabled seperately.)
|
105 |
|
106 |
+
For Vimeo, just place a link to the Vimeo page in your content. If you have disabled Auto-detection, use it with `class="fancybox-vimeo"` to manually enable FancyBox for it.
|
107 |
|
108 |
+
These are actually a special case of SWF files. The URL for these movies do not end in .swf so the FancyBox script will not be able to auto-detect the Flash content. This can be forced with `class="fancybox-youtube"`, `class="fancybox-swf"` or alternatively `class="fancybox-iframe"`. The difference between the three are mainly in transition effect and size of the overlay viewport. Just choose the one that works best for you or...
|
109 |
+
|
110 |
+
Just let the plugin auto-detect and auto-enable it for you :)
|
111 |
|
112 |
= Is Easy FancyBox multi-site compatible? =
|
113 |
|
117 |
|
118 |
1. Example image with **Overlay** caption. This is the default way Easy FancyBox displays images. Other options are **Inside** and the old **Outside**.
|
119 |
|
120 |
+
2. Example of a YouTube movie in overlay.
|
121 |
+
|
122 |
+
== Upgrade Notice ==
|
123 |
+
|
124 |
+
= 1.3.3.4 =
|
125 |
+
New FancyBox version 1.3.3 included. Vimeo support. Auto-recognition of YouTube and Vimeo links.
|
126 |
|
127 |
== Changelog ==
|
128 |
|
129 |
+
= 1.3.3.4 =
|
130 |
+
* upgraded FancyBox script to version 1.3.3 (2010/11/4 - http://fancybox.net/changelog/)
|
131 |
+
* Vimeo support
|
132 |
+
* YouTube Short URL support (disabled by default)
|
133 |
+
* Auto-recognition and seperate class `fancybox-youtube` for YouTube
|
134 |
+
* Auto-recognition and seperate class `fancybox-vimeo` for Vimeo
|
135 |
+
|
136 |
= 1.3.2 =
|
137 |
+
* upgraded FancyBox script to version 1.3.2 (2010/10/10 - http://fancybox.net/changelog/)
|
138 |
|
139 |
= 1.3.1.3 =
|
140 |
* translation .pot file available
|
141 |
* Dutch translation
|
142 |
+
* YouTube and Flash movie support
|
143 |
* Iframe support
|
144 |
* added option Auto-enable for...
|
145 |
|
153 |
|
154 |
= 1.3.1 =
|
155 |
* Using FancyBox version 1.3.1
|
|
|
|
|
|
|
|
|
|