Version Description
Download this release
Release Info
Developer | grimmdude |
Plugin | jQuery Colorbox |
Version | 4.6.2 |
Comparing to | |
See all releases |
Code changes from version 4.5 to 4.6.2
- .gitignore +0 -3
- LICENSE +20 -0
- README.md +13 -3
- includes/settings-page.php +20 -4
- includes/settings-page/sp-colorbox-settings.php +1 -3
- includes/settings-page/sp-delete-settings.php +1 -2
- includes/settings-page/sp-left-column.php +1 -1
- includes/settings-page/sp-plugin-settings.php +1 -2
- jquery-colorbox.json +31 -0
- jquery-colorbox.php +7 -6
- js/jquery-colorbox-wrapper-min.js +1 -1
- js/jquery-colorbox-wrapper.js +66 -50
- js/jquery.colorbox-min.js +7 -4
- js/jquery.colorbox.js +407 -265
- localization/jquery-colorbox-cs_CZ.mo +0 -0
- localization/jquery-colorbox-cs_CZ.po +646 -0
- localization/jquery-colorbox-sk_SK.mo +0 -0
- localization/jquery-colorbox-sk_SK.po +147 -144
- readme.txt +20 -5
- themes/theme1/colorbox.css +18 -33
- themes/theme1/images/border.png +0 -0
- themes/theme1/images/controls.png +0 -0
- themes/theme1/images/ie6/borderBottomCenter.png +0 -0
- themes/theme1/images/ie6/borderBottomLeft.png +0 -0
- themes/theme1/images/ie6/borderBottomRight.png +0 -0
- themes/theme1/images/ie6/borderMiddleLeft.png +0 -0
- themes/theme1/images/ie6/borderMiddleRight.png +0 -0
- themes/theme1/images/ie6/borderTopCenter.png +0 -0
- themes/theme1/images/ie6/borderTopLeft.png +0 -0
- themes/theme1/images/ie6/borderTopRight.png +0 -0
- themes/theme1/images/loading.gif +0 -0
- themes/theme1/images/loading_background.png +0 -0
- themes/theme1/images/overlay.png +0 -0
- themes/theme10/colorbox.css +7 -5
- themes/theme11/colorbox.css +22 -37
- themes/theme11/images/ie6/borderBottomCenter.png +0 -0
- themes/theme11/images/ie6/borderBottomLeft.png +0 -0
- themes/theme11/images/ie6/borderBottomRight.png +0 -0
- themes/theme11/images/ie6/borderMiddleLeft.png +0 -0
- themes/theme11/images/ie6/borderMiddleRight.png +0 -0
- themes/theme11/images/ie6/borderTopCenter.png +0 -0
- themes/theme11/images/ie6/borderTopLeft.png +0 -0
- themes/theme11/images/ie6/borderTopRight.png +0 -0
- themes/theme2/colorbox.css +16 -8
- themes/theme2/images/controls.png +0 -0
- themes/theme2/images/loading.gif +0 -0
- themes/theme3/colorbox.css +18 -10
- themes/theme3/images/controls.png +0 -0
- themes/theme3/images/loading.gif +0 -0
- themes/theme4/colorbox.css +17 -32
- themes/theme4/images/border1.png +0 -0
- themes/theme4/images/border2.png +0 -0
- themes/theme4/images/ie6/borderBottomCenter.png +0 -0
- themes/theme4/images/ie6/borderBottomLeft.png +0 -0
- themes/theme4/images/ie6/borderBottomRight.png +0 -0
- themes/theme4/images/ie6/borderMiddleLeft.png +0 -0
- themes/theme4/images/ie6/borderMiddleRight.png +0 -0
- themes/theme4/images/ie6/borderTopCenter.png +0 -0
- themes/theme4/images/ie6/borderTopLeft.png +0 -0
- themes/theme4/images/ie6/borderTopRight.png +0 -0
- themes/theme4/images/loading.gif +0 -0
- themes/theme5/colorbox.css +15 -8
- themes/theme5/images/border.png +0 -0
- themes/theme5/images/controls.png +0 -0
- themes/theme5/images/loading.gif +0 -0
- themes/theme5/images/loading_background.png +0 -0
- themes/theme6/colorbox.css +18 -9
- themes/theme7/colorbox.css +19 -34
- themes/theme7/images/ie6/borderBottomCenter.png +0 -0
- themes/theme7/images/ie6/borderBottomLeft.png +0 -0
- themes/theme7/images/ie6/borderBottomRight.png +0 -0
- themes/theme7/images/ie6/borderMiddleLeft.png +0 -0
- themes/theme7/images/ie6/borderMiddleRight.png +0 -0
- themes/theme7/images/ie6/borderTopCenter.png +0 -0
- themes/theme7/images/ie6/borderTopLeft.png +0 -0
- themes/theme7/images/ie6/borderTopRight.png +0 -0
- themes/theme8/colorbox.css +19 -10
- themes/theme9/colorbox.css +22 -46
- themes/theme9/images/ie6/borderBottomCenter.png +0 -0
- themes/theme9/images/ie6/borderBottomLeft.png +0 -0
- themes/theme9/images/ie6/borderBottomRight.png +0 -0
- themes/theme9/images/ie6/borderMiddleLeft.png +0 -0
- themes/theme9/images/ie6/borderMiddleRight.png +0 -0
- themes/theme9/images/ie6/borderTopCenter.png +0 -0
- themes/theme9/images/ie6/borderTopLeft.png +0 -0
- themes/theme9/images/ie6/borderTopRight.png +0 -0
.gitignore
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
.idea
|
2 |
-
target
|
3 |
-
*.iml
|
|
|
|
|
|
LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The MIT License (MIT)
|
2 |
+
|
3 |
+
Copyright (c) 2009 Arne Franken
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6 |
+
this software and associated documentation files (the "Software"), to deal in
|
7 |
+
the Software without restriction, including without limitation the rights to
|
8 |
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9 |
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10 |
+
subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17 |
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18 |
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19 |
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20 |
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
# Plugin Name #
|
2 |
Contributors: techotronic
|
3 |
-
Donate link: http://www.techotronic.de/donate/
|
4 |
Tags: jquery, colorbox, lightbox, images, pictures, photos, gallery, javascript, overlay, nextgen gallery, nextgen-gallery, image, picture, photo, media, slideshow, ngg, mu
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 4.
|
8 |
|
9 |
Adds Colorbox/Lightbox functionality to images, grouped by post or page. Works for WordPress and NextGEN galleries. Comes with different themes.
|
10 |
|
@@ -140,6 +139,17 @@ Do not forget to activate auto Colorbox if you want the Lightbox/Colorbox to wor
|
|
140 |
I'll include new FAQs in newer versions.
|
141 |
|
142 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
### 4.5 (2012-11-03) ###
|
144 |
* NEW: Bulgarian translation by Nikolay Zaynelov
|
145 |
* BUGFIX: Zoom overlay does not break floating images any more
|
1 |
# Plugin Name #
|
2 |
Contributors: techotronic
|
|
|
3 |
Tags: jquery, colorbox, lightbox, images, pictures, photos, gallery, javascript, overlay, nextgen gallery, nextgen-gallery, image, picture, photo, media, slideshow, ngg, mu
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 4.6.1
|
6 |
+
Stable tag: 4.6.2
|
7 |
|
8 |
Adds Colorbox/Lightbox functionality to images, grouped by post or page. Works for WordPress and NextGEN galleries. Comes with different themes.
|
9 |
|
139 |
I'll include new FAQs in newer versions.
|
140 |
|
141 |
## Changelog ##
|
142 |
+
|
143 |
+
### 4.6.2 (2016-11-14) ###
|
144 |
+
* BUGFIX: use __construct() to support newer PHP versions
|
145 |
+
* CHANGE: Add some graphix
|
146 |
+
|
147 |
+
### 4.6 (2012-01-21) ###
|
148 |
+
* NEW: Czech translation by David Weis
|
149 |
+
* CHANGE: Update of the Slovak translation by B. Radenovich
|
150 |
+
* CHANGE: update Colorbox version to 1.3.21
|
151 |
+
* CHANGE: update jQuery version to 1.9.0 (if selected on settings page)
|
152 |
+
|
153 |
### 4.5 (2012-11-03) ###
|
154 |
* NEW: Bulgarian translation by Nikolay Zaynelov
|
155 |
* BUGFIX: Zoom overlay does not break floating images any more
|
includes/settings-page.php
CHANGED
@@ -13,17 +13,33 @@
|
|
13 |
require_once 'settings-page/sp-javascript-header.php';
|
14 |
?>
|
15 |
<div class="wrap">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
<div>
|
17 |
-
|
18 |
-
<h2><?php printf(__('%1$s Settings', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?></h2>
|
19 |
<br class="clear"/>
|
20 |
|
21 |
<?php settings_fields(JQUERYCOLORBOX_SETTINGSNAME); ?>
|
22 |
|
23 |
<?php
|
24 |
require_once 'settings-page/sp-left-column.php';
|
25 |
-
require_once 'settings-page/sp-right-column.php';
|
26 |
-
|
27 |
</div>
|
28 |
<?php
|
29 |
require_once 'settings-page/sp-footer.php';
|
13 |
require_once 'settings-page/sp-javascript-header.php';
|
14 |
?>
|
15 |
<div class="wrap">
|
16 |
+
<?php
|
17 |
+
if (!is_plugin_active( 'sumome/sumome.php' ))
|
18 |
+
{
|
19 |
+
add_thickbox();
|
20 |
+
?>
|
21 |
+
<style type="text/css">
|
22 |
+
#aio_global_notification a.button:active {vertical-align:baseline;}
|
23 |
+
</style>
|
24 |
+
<div id="aio_global_notification" style="border:3px solid #31964D;position:relative;background:#6AB07B;color:#ffffff;height:70px;margin:5px 0 15px;padding:1px 12px;">
|
25 |
+
<p style="font-size:16px;line-height:40px;">
|
26 |
+
<?php _e('Tools to grow your Email List, Social Sharing and Analytics.'); ?> <a style="background-color: #6267BE;border-color: #3C3F76;" href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox button button-primary">Get SumoMe WordPress Plugin</a>
|
27 |
+
</p>
|
28 |
+
</div>
|
29 |
+
<?php
|
30 |
+
}
|
31 |
+
?>
|
32 |
+
|
33 |
<div>
|
34 |
+
<h1><?php printf(__('%1$s Settings', JQUERYCOLORBOX_TEXTDOMAIN), JQUERYCOLORBOX_NAME); ?></h1>
|
|
|
35 |
<br class="clear"/>
|
36 |
|
37 |
<?php settings_fields(JQUERYCOLORBOX_SETTINGSNAME); ?>
|
38 |
|
39 |
<?php
|
40 |
require_once 'settings-page/sp-left-column.php';
|
41 |
+
//require_once 'settings-page/sp-right-column.php';
|
42 |
+
?>
|
43 |
</div>
|
44 |
<?php
|
45 |
require_once 'settings-page/sp-footer.php';
|
includes/settings-page/sp-colorbox-settings.php
CHANGED
@@ -10,10 +10,8 @@
|
|
10 |
*/
|
11 |
?>
|
12 |
<div id="jquery-colorbox-plugin-settings" class="postbox">
|
13 |
-
<h3 id="colorbox-settings"><?php _e('Colorbox settings', JQUERYCOLORBOX_TEXTDOMAIN); ?></h3>
|
14 |
-
|
15 |
<div class="inside">
|
16 |
-
|
17 |
<table class="form-table">
|
18 |
<tr valign="top">
|
19 |
<th scope="row">
|
10 |
*/
|
11 |
?>
|
12 |
<div id="jquery-colorbox-plugin-settings" class="postbox">
|
|
|
|
|
13 |
<div class="inside">
|
14 |
+
<h3 id="colorbox-settings"><?php _e('Colorbox settings', JQUERYCOLORBOX_TEXTDOMAIN); ?></h3>
|
15 |
<table class="form-table">
|
16 |
<tr valign="top">
|
17 |
<th scope="row">
|
includes/settings-page/sp-delete-settings.php
CHANGED
@@ -11,9 +11,8 @@
|
|
11 |
?>
|
12 |
<div id="poststuff">
|
13 |
<div id="jquery-colorbox-delete_settings" class="postbox">
|
14 |
-
<h3 id="delete_options"><?php _e('Delete Settings', JQUERYCOLORBOX_TEXTDOMAIN); ?></h3>
|
15 |
-
|
16 |
<div class="inside">
|
|
|
17 |
<p><?php _e('Check the box and click this button to delete settings of this plugin.', JQUERYCOLORBOX_TEXTDOMAIN); ?></p>
|
18 |
|
19 |
<form name="delete_settings" method="post" action="admin-post.php">
|
11 |
?>
|
12 |
<div id="poststuff">
|
13 |
<div id="jquery-colorbox-delete_settings" class="postbox">
|
|
|
|
|
14 |
<div class="inside">
|
15 |
+
<h3 id="delete_options"><?php _e('Delete Settings', JQUERYCOLORBOX_TEXTDOMAIN); ?></h3>
|
16 |
<p><?php _e('Check the box and click this button to delete settings of this plugin.', JQUERYCOLORBOX_TEXTDOMAIN); ?></p>
|
17 |
|
18 |
<form name="delete_settings" method="post" action="admin-post.php">
|
includes/settings-page/sp-left-column.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
* Left column for settings page
|
10 |
*/
|
11 |
?>
|
12 |
-
<div class="postbox-container"
|
13 |
<form name="jquery-colorbox-settings-update" method="post" action="admin-post.php">
|
14 |
<?php if (function_exists('wp_nonce_field') === true) wp_nonce_field('jquery-colorbox-settings-form'); ?>
|
15 |
<div id="poststuff">
|
9 |
* Left column for settings page
|
10 |
*/
|
11 |
?>
|
12 |
+
<div class="postbox-container">
|
13 |
<form name="jquery-colorbox-settings-update" method="post" action="admin-post.php">
|
14 |
<?php if (function_exists('wp_nonce_field') === true) wp_nonce_field('jquery-colorbox-settings-form'); ?>
|
15 |
<div id="poststuff">
|
includes/settings-page/sp-plugin-settings.php
CHANGED
@@ -10,10 +10,9 @@
|
|
10 |
*/
|
11 |
?>
|
12 |
<div id="jquery-colorbox-settings" class="postbox">
|
13 |
-
<h3 id="plugin-settings"><?php _e('Plugin settings', JQUERYCOLORBOX_TEXTDOMAIN); ?></h3>
|
14 |
|
15 |
<div class="inside">
|
16 |
-
|
17 |
<table class="form-table">
|
18 |
<tr>
|
19 |
<th scope="row">
|
10 |
*/
|
11 |
?>
|
12 |
<div id="jquery-colorbox-settings" class="postbox">
|
|
|
13 |
|
14 |
<div class="inside">
|
15 |
+
<h3 id="plugin-settings"><?php _e('Plugin settings', JQUERYCOLORBOX_TEXTDOMAIN); ?></h3>
|
16 |
<table class="form-table">
|
17 |
<tr>
|
18 |
<th scope="row">
|
jquery-colorbox.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "jquery-colorbox",
|
3 |
+
"title": "jQuery Colorbox",
|
4 |
+
"description": "Add jQuery lightbox for images automatically in WordPress",
|
5 |
+
"version": "1.4.33",
|
6 |
+
"dependencies": {
|
7 |
+
"jquery": ">=1.3.2",
|
8 |
+
"colorbox": "1.4.33"
|
9 |
+
},
|
10 |
+
"keywords": [
|
11 |
+
"modal",
|
12 |
+
"lightbox",
|
13 |
+
"window",
|
14 |
+
"popup",
|
15 |
+
"ui",
|
16 |
+
"jQuery"
|
17 |
+
],
|
18 |
+
"author": {
|
19 |
+
"name": "Arne Frnaken",
|
20 |
+
"url": "http://www.techotronic.de",
|
21 |
+
"email": "colorbox@techotronic.de"
|
22 |
+
},
|
23 |
+
"licenses": [
|
24 |
+
{
|
25 |
+
"type": "MIT",
|
26 |
+
"url": "http://www.opensource.org/licenses/mit-license.php"
|
27 |
+
}
|
28 |
+
],
|
29 |
+
"homepage": "http://www.techotronic.de/plugins/jquery-colorbox/",
|
30 |
+
"demo": "http://www.techotronic.de/plugins/jquery-colorbox/"
|
31 |
+
}
|
jquery-colorbox.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Plugin Name: jQuery Colorbox
|
7 |
* Plugin URI: http://www.techotronic.de/plugins/jquery-colorbox/
|
8 |
* Description: Used to overlay images on the current page. Images in one post are grouped automatically.
|
9 |
-
* Version: 4.
|
10 |
* Author: Arne Franken
|
11 |
* Author URI: http://www.techotronic.de/
|
12 |
* License: GPL
|
@@ -19,8 +19,8 @@
|
|
19 |
?>
|
20 |
<?php
|
21 |
//define constants
|
22 |
-
define('JQUERYCOLORBOX_VERSION', '4.
|
23 |
-
define('COLORBOXLIBRARY_VERSION', '1.
|
24 |
|
25 |
if (!defined('JQUERYCOLORBOX_PLUGIN_BASENAME')) {
|
26 |
//jquery-colorbox/jquery-colorbox.php
|
@@ -48,7 +48,7 @@ if (!defined('JQUERYCOLORBOX_SETTINGSNAME')) {
|
|
48 |
define('JQUERYCOLORBOX_SETTINGSNAME', 'jquery-colorbox_settings');
|
49 |
}
|
50 |
if (!defined('JQUERYLIBRARY_VERSION')) {
|
51 |
-
define('JQUERYLIBRARY_VERSION', '1.
|
52 |
}
|
53 |
if (!defined('JQUERYCOLORBOX_USERAGENT')) {
|
54 |
define('JQUERYCOLORBOX_USERAGENT', 'jQuery Colorbox V' . JQUERYCOLORBOX_VERSION . '; (' . get_bloginfo('url') . ')');
|
@@ -72,7 +72,7 @@ class JQueryColorbox {
|
|
72 |
* @author Arne Franken
|
73 |
*/
|
74 |
//public static function JQueryColorbox() {
|
75 |
-
function
|
76 |
if (!function_exists('plugins_url')) {
|
77 |
return;
|
78 |
}
|
@@ -133,7 +133,8 @@ class JQueryColorbox {
|
|
133 |
if (is_admin()) {
|
134 |
require_once 'includes/jquery-colorbox-backend.php';
|
135 |
new JQueryColorboxBackend($this->colorboxSettings, $this->colorboxThemes, $this->colorboxUnits, $this->colorboxTransitions, $this->jQueryColorboxDefaultSettings());
|
136 |
-
}
|
|
|
137 |
require_once 'includes/jquery-colorbox-frontend.php';
|
138 |
new JQueryColorboxFrontend($this->colorboxSettings);
|
139 |
}
|
6 |
* Plugin Name: jQuery Colorbox
|
7 |
* Plugin URI: http://www.techotronic.de/plugins/jquery-colorbox/
|
8 |
* Description: Used to overlay images on the current page. Images in one post are grouped automatically.
|
9 |
+
* Version: 4.6.2
|
10 |
* Author: Arne Franken
|
11 |
* Author URI: http://www.techotronic.de/
|
12 |
* License: GPL
|
19 |
?>
|
20 |
<?php
|
21 |
//define constants
|
22 |
+
define('JQUERYCOLORBOX_VERSION', '4.6.2');
|
23 |
+
define('COLORBOXLIBRARY_VERSION', '1.4.33');
|
24 |
|
25 |
if (!defined('JQUERYCOLORBOX_PLUGIN_BASENAME')) {
|
26 |
//jquery-colorbox/jquery-colorbox.php
|
48 |
define('JQUERYCOLORBOX_SETTINGSNAME', 'jquery-colorbox_settings');
|
49 |
}
|
50 |
if (!defined('JQUERYLIBRARY_VERSION')) {
|
51 |
+
define('JQUERYLIBRARY_VERSION', '1.10.1');
|
52 |
}
|
53 |
if (!defined('JQUERYCOLORBOX_USERAGENT')) {
|
54 |
define('JQUERYCOLORBOX_USERAGENT', 'jQuery Colorbox V' . JQUERYCOLORBOX_VERSION . '; (' . get_bloginfo('url') . ')');
|
72 |
* @author Arne Franken
|
73 |
*/
|
74 |
//public static function JQueryColorbox() {
|
75 |
+
function __construct() {
|
76 |
if (!function_exists('plugins_url')) {
|
77 |
return;
|
78 |
}
|
133 |
if (is_admin()) {
|
134 |
require_once 'includes/jquery-colorbox-backend.php';
|
135 |
new JQueryColorboxBackend($this->colorboxSettings, $this->colorboxThemes, $this->colorboxUnits, $this->colorboxTransitions, $this->jQueryColorboxDefaultSettings());
|
136 |
+
}
|
137 |
+
else {
|
138 |
require_once 'includes/jquery-colorbox-frontend.php';
|
139 |
new JQueryColorboxFrontend($this->colorboxSettings);
|
140 |
}
|
js/jquery-colorbox-wrapper-min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var COLORBOX_INTERNAL_LINK_PATTERN=/^#.*/;var COLORBOX_SUFFIX_PATTERN=/\.(?:jpe?g|gif|png|bmp)/i;var COLORBOX_MANUAL="colorbox-manual";var COLORBOX_OFF_CLASS=".colorbox-off";var COLORBOX_LINK_CLASS=".colorbox-link";var COLORBOX_OFF="colorbox-off";var COLORBOX_CLASS_PATTERN="colorbox-[0-9]+";var COLORBOX_LINK_CLASS_PATTERN="colorbox-link-[0-9]+";jQuery(document).ready(function(){if(typeof jQueryColorboxSettingsArray!=="object"){jQueryColorboxSettingsArray=getColorboxConfigDefaults()}if(jQueryColorboxSettingsArray.autoColorboxJavaScript==="true"){colorboxAddManualClass()}if(jQueryColorboxSettingsArray.colorboxAddClassToLinks==="true"){colorboxAddClassToLinks()}if(jQueryColorboxSettingsArray.autoHideFlash==="true"){colorboxHideFlash();colorboxShowFlash()}colorboxSelector()});(function(a){colorboxShowFlash=function(){a(document).bind("cbox_closed",function(){var
|
1 |
+
var COLORBOX_INTERNAL_LINK_PATTERN=/^#.*/;var COLORBOX_SUFFIX_PATTERN=/\.(?:jpe?g|gif|png|bmp)/i;var COLORBOX_MANUAL="colorbox-manual";var COLORBOX_OFF_CLASS=".colorbox-off";var COLORBOX_LINK_CLASS=".colorbox-link";var COLORBOX_OFF="colorbox-off";var COLORBOX_CLASS_PATTERN="colorbox-[0-9]+";var COLORBOX_LINK_CLASS_PATTERN="colorbox-link-[0-9]+";jQuery(document).ready(function(){emulateConsoleForIE();console.group("jQuery Colorbox log messages");if(typeof jQueryColorboxSettingsArray!=="object"){jQueryColorboxSettingsArray=getColorboxConfigDefaults()}if(jQueryColorboxSettingsArray.autoColorboxJavaScript==="true"){colorboxAddManualClass()}if(jQueryColorboxSettingsArray.colorboxAddClassToLinks==="true"){colorboxAddClassToLinks()}if(jQueryColorboxSettingsArray.autoHideFlash==="true"){colorboxHideFlash();colorboxShowFlash()}colorboxSelector();console.groupEnd()});(function(a){emulateConsoleForIE=function(){if(!console){console={}}var b=["log","info","warn","error","debug","trace","dir","group","groupCollapsed","groupEnd","time","timeEnd","profile","profileEnd","dirxml","assert","count","markTimeline","timeStamp","clear"];for(var c=0;c<b.length;c++){if(!console[b[c]]){console[b[c]]=function(){}}}}})(jQuery);(function(a){colorboxShowFlash=function(){a(document).bind("cbox_closed",function(){console.group("Showing flash objects");var e=document.getElementsByTagName("object");for(var d=0;d<e.length;d++){console.debug("Show object %o",e[d]);e[d].style.visibility="visible"}var b=document.getElementsByTagName("embed");for(var c=0;c<b.length;c++){console.debug("Show embed %o",b[c]);b[c].style.visibility="visible"}console.groupEnd()})}})(jQuery);(function(a){colorboxHideFlash=function(){a(document).bind("cbox_open",function(){console.group("Hiding flash objects");var e=document.getElementsByTagName("object");for(var d=0;d<e.length;d++){console.debug("Hide object %o",e[d]);e[d].style.visibility="hidden"}var b=document.getElementsByTagName("embed");for(var c=0;c<b.length;c++){console.debug("Hide embed %o",b[c]);b[c].style.visibility="hidden"}console.groupEnd()})}})(jQuery);(function(a){colorboxAddClassToLinks=function(){console.group("Add colorbox-link class to links pointing to images");a("a:not(:contains(img))").each(function(d,f){var c=a(f);var b=c.attr("class");if(b!==undefined&&!b.match("colorbox")){var e=c.attr("href");if(e!==undefined&&a(f).attr("href").match(COLORBOX_SUFFIX_PATTERN)){console.debug("Add colorbox-link class to %o.",c);c.addClass("colorbox-link")}}});console.groupEnd()}})(jQuery);(function(a){colorboxAddManualClass=function(){console.group("Add colorbox-manual class to images");a("img").each(function(c,e){var d=a(e);var b=d.attr("class");if(b===undefined||!b.match("colorbox")){console.debug("Add colorbox-manual class to image %o",d);d.addClass("colorbox-manual")}});console.groupEnd()}})(jQuery);(function(a){colorboxSelector=function(){console.group("Find image links and apply colorbox effect.");a("a:has(img[class*=colorbox-]):not(.colorbox-off)").each(function(b,d){console.group("Found link %o.",d);ColorboxLocal=a.extend(true,{},jQueryColorboxSettingsArray);ColorboxLocal.colorboxMaxWidth=ColorboxLocal.colorboxImageMaxWidth;ColorboxLocal.colorboxMaxHeight=ColorboxLocal.colorboxImageMaxHeight;ColorboxLocal.colorboxHeight=ColorboxLocal.colorboxImageHeight;ColorboxLocal.colorboxWidth=ColorboxLocal.colorboxImageWidth;var c=a(d).attr("href");if(c!==undefined&&c.match(COLORBOX_SUFFIX_PATTERN)){colorboxImage(b,d)}console.groupEnd()});console.groupEnd();console.group("Find links and apply colorbox effect.");a("a[class*=colorbox-link]").each(function(b,d){console.group("Found link %o.",d);ColorboxLocal=a.extend(true,{},jQueryColorboxSettingsArray);var c=a(d).attr("href");if(c!==undefined){colorboxLink(b,d,c)}console.groupEnd()});console.groupEnd()}})(jQuery);(function(a){colorboxImage=function(b,g){var d=a(g).find("img:first");var f=a(g).attr("class");if(f!==undefined){ColorboxLocal.colorboxGroupId=f.match(COLORBOX_CLASS_PATTERN)||f.match(COLORBOX_MANUAL)}if(!ColorboxLocal.colorboxGroupId){var h=d.attr("class");if(h!==undefined&&!h.match(COLORBOX_OFF)){ColorboxLocal.colorboxGroupId=h.match(COLORBOX_CLASS_PATTERN)||h.match(COLORBOX_MANUAL)}if(ColorboxLocal.colorboxGroupId){ColorboxLocal.colorboxGroupId=ColorboxLocal.colorboxGroupId.toString().split("-")[1];if(ColorboxLocal.colorboxGroupId==="manual"){ColorboxLocal.colorboxGroupId="nofollow"}var c=d.attr("title");if(c!==undefined){ColorboxLocal.colorboxTitle=c}else{var e=d.attr("alt");if(e!==undefined){ColorboxLocal.colorboxTitle=e}}if(jQueryColorboxSettingsArray.addZoomOverlay==="true"){colorboxAddZoomOverlayToImages(a(g),d)}console.debug("Call colorbox for image %o.",d);colorboxWrapper(g)}}}})(jQuery);(function(a){colorboxLink=function(c,e,f){ColorboxLocal.colorboxGroupId=a(e).attr("class").match(COLORBOX_LINK_CLASS_PATTERN);if(ColorboxLocal.colorboxGroupId!==undefined&&ColorboxLocal.colorboxGroupId!==null){ColorboxLocal.colorboxGroupId=ColorboxLocal.colorboxGroupId.toString().split("-")[2]}else{ColorboxLocal.colorboxGroupId="nofollow"}var b=a(e);var d=b.attr("title");if(d!==undefined){ColorboxLocal.colorboxTitle=d}else{ColorboxLocal.colorboxTitle=""}if(f.match(COLORBOX_SUFFIX_PATTERN)){ColorboxLocal.colorboxMaxWidth=ColorboxLocal.colorboxImageMaxWidth;ColorboxLocal.colorboxMaxHeight=ColorboxLocal.colorboxImageMaxHeight;ColorboxLocal.colorboxHeight=ColorboxLocal.colorboxImageHeight;ColorboxLocal.colorboxWidth=ColorboxLocal.colorboxImageWidth}else{ColorboxLocal.colorboxMaxWidth=false;ColorboxLocal.colorboxMaxHeight=false;ColorboxLocal.colorboxHeight=ColorboxLocal.colorboxLinkHeight;ColorboxLocal.colorboxWidth=ColorboxLocal.colorboxLinkWidth;if(f.match(COLORBOX_INTERNAL_LINK_PATTERN)){ColorboxLocal.colorboxInline=true}else{ColorboxLocal.colorboxIframe=true}}console.debug("Call colorbox for link %o.",e);colorboxWrapper(e)}})(jQuery);(function(a){colorboxWrapper=function(b){a.each(ColorboxLocal,function(c,d){if(d==="false"){ColorboxLocal[c]=false}else{if(d==="true"){ColorboxLocal[c]=true}}});console.debug("Apply colorbox to link %o with values %o",b,ColorboxLocal);a(b).colorbox({transition:ColorboxLocal.colorboxTransition,speed:parseInt(ColorboxLocal.colorboxSpeed),title:ColorboxLocal.colorboxTitle,rel:ColorboxLocal.colorboxGroupId,scalePhotos:ColorboxLocal.colorboxScalePhotos,scrolling:ColorboxLocal.colorboxScrolling,opacity:ColorboxLocal.colorboxOpacity,preloading:ColorboxLocal.colorboxPreloading,overlayClose:ColorboxLocal.colorboxOverlayClose,escKey:ColorboxLocal.colorboxEscKey,arrowKey:ColorboxLocal.colorboxArrowKey,loop:ColorboxLocal.colorboxLoop,current:ColorboxLocal.colorboxCurrent,previous:ColorboxLocal.colorboxPrevious,next:ColorboxLocal.colorboxNext,close:ColorboxLocal.colorboxClose,xhrError:ColorboxLocal.colorboxXhrError,imgError:ColorboxLocal.colorboxImgError,iframe:ColorboxLocal.colorboxIframe,inline:ColorboxLocal.colorboxInline,width:ColorboxLocal.colorboxWidth,height:ColorboxLocal.colorboxHeight,initialWidth:ColorboxLocal.colorboxInitialWidth,initialHeight:ColorboxLocal.colorboxInitialHeight,maxWidth:ColorboxLocal.colorboxMaxWidth,maxHeight:ColorboxLocal.colorboxMaxHeight,slideshow:ColorboxLocal.colorboxSlideshow,slideshowSpeed:parseInt(ColorboxLocal.colorboxSlideshowSpeed),slideshowAuto:ColorboxLocal.colorboxSlideshowAuto,slideshowStart:ColorboxLocal.colorboxSlideshowStart,slideshowStop:ColorboxLocal.colorboxSlideshowStop})}})(jQuery);(function(a){colorboxAddZoomOverlayToImages=function(c,d){console.debug("Add zoom hover to link %o",c);var b=a('<span class="zoomHover" style="opacity: 0; margin: 0; padding: 0;"></span>');c.css("float",d.css("float"));c.append(b);c.addClass("zoomLink");c.hover(function(){b.stop().animate({opacity:0.8},300);d.stop().animate({opacity:0.6},300)},function(){b.stop().animate({opacity:0},300);d.stop().animate({opacity:1},300)})}})(jQuery);(function(a){getColorboxConfigDefaults=function(){return{colorboxInline:false,colorboxIframe:false,colorboxGroupId:"",colorboxTitle:"",colorboxWidth:false,colorboxHeight:false,colorboxMaxWidth:false,colorboxMaxHeight:false,colorboxSlideshow:false,colorboxSlideshowAuto:false,colorboxScalePhotos:false,colorboxPreloading:false,colorboxOverlayClose:false,colorboxLoop:false,colorboxEscKey:true,colorboxArrowKey:true,colorboxScrolling:false,colorboxOpacity:"0.85",colorboxTransition:"elastic",colorboxSpeed:"350",colorboxSlideshowSpeed:"2500",colorboxClose:"close",colorboxNext:"next",colorboxPrevious:"previous",colorboxSlideshowStart:"start slideshow",colorboxSlideshowStop:"stop slideshow",colorboxCurrent:"{current} of {total} images",colorboxXhrError:"This content failed to load.",colorboxImgError:"This image failed to load.",colorboxImageMaxWidth:false,colorboxImageMaxHeight:false,colorboxImageHeight:false,colorboxImageWidth:false,colorboxLinkHeight:false,colorboxLinkWidth:false,colorboxInitialHeight:100,colorboxInitialWidth:300,autoColorboxJavaScript:false,autoHideFlash:false,autoColorbox:false,autoColorboxGalleries:false,colorboxAddClassToLinks:false,useGoogleJQuery:false,addZoomOverlay:false}}})(jQuery);
|
js/jquery-colorbox-wrapper.js
CHANGED
@@ -23,6 +23,9 @@ var COLORBOX_LINK_CLASS_PATTERN = "colorbox-link-[0-9]+";
|
|
23 |
*/
|
24 |
jQuery(document).ready(function() {
|
25 |
|
|
|
|
|
|
|
26 |
//check if config JavaScript was successfully inserted. Load defaults otherwise.
|
27 |
if(typeof jQueryColorboxSettingsArray !== 'object') {
|
28 |
jQueryColorboxSettingsArray = getColorboxConfigDefaults();
|
@@ -39,8 +42,37 @@ jQuery(document).ready(function() {
|
|
39 |
colorboxShowFlash();
|
40 |
}
|
41 |
colorboxSelector();
|
|
|
42 |
});
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
/**
|
45 |
* colorboxShowFlash
|
46 |
*
|
@@ -49,14 +81,18 @@ jQuery(document).ready(function() {
|
|
49 |
(function(jQuery) {
|
50 |
colorboxShowFlash = function() {
|
51 |
jQuery(document).bind('cbox_closed', function() {
|
|
|
52 |
var flashObjects = document.getElementsByTagName("object");
|
53 |
for (var i = 0; i < flashObjects.length; i++) {
|
|
|
54 |
flashObjects[i].style.visibility = "visible";
|
55 |
}
|
56 |
var flashEmbeds = document.getElementsByTagName("embed");
|
57 |
for (var j = 0; j < flashEmbeds.length; j++) {
|
|
|
58 |
flashEmbeds[j].style.visibility = "visible";
|
59 |
}
|
|
|
60 |
});
|
61 |
};
|
62 |
})(jQuery);
|
@@ -71,14 +107,18 @@ jQuery(document).ready(function() {
|
|
71 |
(function(jQuery) {
|
72 |
colorboxHideFlash = function() {
|
73 |
jQuery(document).bind('cbox_open', function() {
|
|
|
74 |
var flashObjects = document.getElementsByTagName("object");
|
75 |
for (var i = 0; i < flashObjects.length; i++) {
|
|
|
76 |
flashObjects[i].style.visibility = "hidden";
|
77 |
}
|
78 |
var flashEmbeds = document.getElementsByTagName("embed");
|
79 |
for (var j = 0; j < flashEmbeds.length; j++) {
|
|
|
80 |
flashEmbeds[j].style.visibility = "hidden";
|
81 |
}
|
|
|
82 |
});
|
83 |
};
|
84 |
})(jQuery);
|
@@ -92,16 +132,19 @@ jQuery(document).ready(function() {
|
|
92 |
*/
|
93 |
(function(jQuery) {
|
94 |
colorboxAddClassToLinks = function() {
|
|
|
95 |
jQuery("a:not(:contains(img))").each(function(index, link) {
|
96 |
var $link = jQuery(link);
|
97 |
var $linkClass = $link.attr("class");
|
98 |
if ($linkClass !== undefined && !$linkClass.match('colorbox')) {
|
99 |
var $linkHref = $link.attr("href");
|
100 |
if ($linkHref !== undefined && jQuery(link).attr("href").match(COLORBOX_SUFFIX_PATTERN)) {
|
|
|
101 |
$link.addClass('colorbox-link');
|
102 |
}
|
103 |
}
|
104 |
});
|
|
|
105 |
};
|
106 |
})(jQuery);
|
107 |
|
@@ -114,13 +157,16 @@ jQuery(document).ready(function() {
|
|
114 |
*/
|
115 |
(function(jQuery) {
|
116 |
colorboxAddManualClass = function() {
|
|
|
117 |
jQuery("img").each(function(index, image) {
|
118 |
var $img = jQuery(image);
|
119 |
var $imgClass = $img.attr("class");
|
120 |
if ($imgClass === undefined || !$imgClass.match('colorbox')) {
|
|
|
121 |
$img.addClass('colorbox-manual');
|
122 |
}
|
123 |
});
|
|
|
124 |
};
|
125 |
})(jQuery);
|
126 |
|
@@ -133,8 +179,9 @@ jQuery(document).ready(function() {
|
|
133 |
*/
|
134 |
(function(jQuery) {
|
135 |
colorboxSelector = function() {
|
136 |
-
|
137 |
jQuery("a:has(img[class*=colorbox-]):not(.colorbox-off)").each(function(index, link) {
|
|
|
138 |
//create local copy of Colorbox array so that modifications can be made for every link
|
139 |
ColorboxLocal = jQuery.extend(true,{},jQueryColorboxSettingsArray);
|
140 |
|
@@ -151,9 +198,13 @@ jQuery(document).ready(function() {
|
|
151 |
//TODO: does not work, every link from an image will be opened in a colorbox...
|
152 |
//colorboxLink(index, link,$linkHref)
|
153 |
//}
|
|
|
154 |
});
|
|
|
155 |
|
|
|
156 |
jQuery("a[class*=colorbox-link]").each(function(index, link) {
|
|
|
157 |
//create local copy of Colorbox array so that modifications can be made for every link
|
158 |
ColorboxLocal = jQuery.extend(true,{},jQueryColorboxSettingsArray);
|
159 |
|
@@ -161,7 +212,9 @@ jQuery(document).ready(function() {
|
|
161 |
if ($linkHref !== undefined) {
|
162 |
colorboxLink(index, link,$linkHref);
|
163 |
}
|
|
|
164 |
});
|
|
|
165 |
};
|
166 |
})(jQuery);
|
167 |
|
@@ -201,11 +254,18 @@ jQuery(document).ready(function() {
|
|
201 |
if ($imageTitle !== undefined) {
|
202 |
ColorboxLocal.colorboxTitle = $imageTitle;
|
203 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
|
205 |
if (jQueryColorboxSettingsArray.addZoomOverlay === "true") {
|
206 |
colorboxAddZoomOverlayToImages(jQuery(link), $image);
|
207 |
}
|
208 |
-
|
209 |
colorboxWrapper(link);
|
210 |
}
|
211 |
}
|
@@ -268,7 +328,7 @@ jQuery(document).ready(function() {
|
|
268 |
ColorboxLocal.colorboxIframe = true;
|
269 |
}
|
270 |
}
|
271 |
-
|
272 |
colorboxWrapper(link);
|
273 |
};
|
274 |
})(jQuery);
|
@@ -294,12 +354,7 @@ jQuery(document).ready(function() {
|
|
294 |
}
|
295 |
});
|
296 |
|
297 |
-
|
298 |
-
// var currentArray;
|
299 |
-
// currentArray = '<!--';
|
300 |
-
// currentArray = currentArray + printArray(ColorboxLocal);
|
301 |
-
// currentArray = currentArray + '-->';
|
302 |
-
// ColorboxLocal.colorboxTitle += ColorboxLocal.colorboxTitle + currentArray;
|
303 |
|
304 |
//finally call Colorbox library
|
305 |
jQuery(link).colorbox({
|
@@ -379,7 +434,8 @@ jQuery(document).ready(function() {
|
|
379 |
*/
|
380 |
(function (jQuery) {
|
381 |
colorboxAddZoomOverlayToImages = function ($link, $image) {
|
382 |
-
|
|
|
383 |
|
384 |
//add float from image to link, otherwise the zoom overlay would not be visible
|
385 |
$link.css("float",$image.css("float"));
|
@@ -464,43 +520,3 @@ jQuery(document).ready(function() {
|
|
464 |
})(jQuery);
|
465 |
|
466 |
// getColorboxConfigDefaults()
|
467 |
-
|
468 |
-
/**
|
469 |
-
* Print given array
|
470 |
-
*/
|
471 |
-
(function (jQuery) {
|
472 |
-
printArray = function(array, level) {
|
473 |
-
var output = "";
|
474 |
-
if (!level) {
|
475 |
-
level = 0;
|
476 |
-
}
|
477 |
-
|
478 |
-
//The padding given at the beginning of the line.
|
479 |
-
var padding = "";
|
480 |
-
for (var j = 0; j < level + 1; j++) {
|
481 |
-
padding += " ";
|
482 |
-
}
|
483 |
-
|
484 |
-
if (typeof(array) === 'object') { //Array/Hashes/Objects
|
485 |
-
for (var item in array) {
|
486 |
-
|
487 |
-
var value = array[item];
|
488 |
-
|
489 |
-
if (typeof(value) === 'object') { //If it is an array,
|
490 |
-
output += padding + "'" + item + "' ...\n";
|
491 |
-
output += printArray(value, level + 1);
|
492 |
-
}
|
493 |
-
else {
|
494 |
-
output += padding + "'" + item + "' = \"" + value + "\"\n";
|
495 |
-
}
|
496 |
-
}
|
497 |
-
}
|
498 |
-
else { //Stings/Chars/Numbers etc.
|
499 |
-
output = "===>" + array + "<===(" + typeof(array) + ")";
|
500 |
-
}
|
501 |
-
|
502 |
-
return output;
|
503 |
-
};
|
504 |
-
})(jQuery);
|
505 |
-
|
506 |
-
// printArray()
|
23 |
*/
|
24 |
jQuery(document).ready(function() {
|
25 |
|
26 |
+
emulateConsoleForIE();
|
27 |
+
|
28 |
+
console.group('jQuery Colorbox log messages');
|
29 |
//check if config JavaScript was successfully inserted. Load defaults otherwise.
|
30 |
if(typeof jQueryColorboxSettingsArray !== 'object') {
|
31 |
jQueryColorboxSettingsArray = getColorboxConfigDefaults();
|
42 |
colorboxShowFlash();
|
43 |
}
|
44 |
colorboxSelector();
|
45 |
+
console.groupEnd();
|
46 |
});
|
47 |
|
48 |
+
/**
|
49 |
+
* Make console.log do nothing in IE 9 and below, otherwise JavaScript would break
|
50 |
+
*
|
51 |
+
* @since 4.3
|
52 |
+
* @author Arne Franken
|
53 |
+
*/
|
54 |
+
(function(jQuery) {
|
55 |
+
emulateConsoleForIE = function() {
|
56 |
+
|
57 |
+
if (!console) {
|
58 |
+
console = {};
|
59 |
+
}
|
60 |
+
// union of Chrome, FF, IE, and Safari console methods
|
61 |
+
var m = [
|
62 |
+
"log", "info", "warn", "error", "debug", "trace", "dir", "group",
|
63 |
+
"groupCollapsed", "groupEnd", "time", "timeEnd", "profile", "profileEnd",
|
64 |
+
"dirxml", "assert", "count", "markTimeline", "timeStamp", "clear"
|
65 |
+
];
|
66 |
+
// define undefined methods as noops to prevent errors
|
67 |
+
for (var i = 0; i < m.length; i++) {
|
68 |
+
if (!console[m[i]]) {
|
69 |
+
console[m[i]] = function() {};
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
}
|
74 |
+
})(jQuery);
|
75 |
+
|
76 |
/**
|
77 |
* colorboxShowFlash
|
78 |
*
|
81 |
(function(jQuery) {
|
82 |
colorboxShowFlash = function() {
|
83 |
jQuery(document).bind('cbox_closed', function() {
|
84 |
+
console.group('Showing flash objects');
|
85 |
var flashObjects = document.getElementsByTagName("object");
|
86 |
for (var i = 0; i < flashObjects.length; i++) {
|
87 |
+
console.debug('Show object %o',flashObjects[i]);
|
88 |
flashObjects[i].style.visibility = "visible";
|
89 |
}
|
90 |
var flashEmbeds = document.getElementsByTagName("embed");
|
91 |
for (var j = 0; j < flashEmbeds.length; j++) {
|
92 |
+
console.debug('Show embed %o',flashEmbeds[j]);
|
93 |
flashEmbeds[j].style.visibility = "visible";
|
94 |
}
|
95 |
+
console.groupEnd();
|
96 |
});
|
97 |
};
|
98 |
})(jQuery);
|
107 |
(function(jQuery) {
|
108 |
colorboxHideFlash = function() {
|
109 |
jQuery(document).bind('cbox_open', function() {
|
110 |
+
console.group('Hiding flash objects');
|
111 |
var flashObjects = document.getElementsByTagName("object");
|
112 |
for (var i = 0; i < flashObjects.length; i++) {
|
113 |
+
console.debug('Hide object %o',flashObjects[i]);
|
114 |
flashObjects[i].style.visibility = "hidden";
|
115 |
}
|
116 |
var flashEmbeds = document.getElementsByTagName("embed");
|
117 |
for (var j = 0; j < flashEmbeds.length; j++) {
|
118 |
+
console.debug('Hide embed %o',flashEmbeds[j]);
|
119 |
flashEmbeds[j].style.visibility = "hidden";
|
120 |
}
|
121 |
+
console.groupEnd();
|
122 |
});
|
123 |
};
|
124 |
})(jQuery);
|
132 |
*/
|
133 |
(function(jQuery) {
|
134 |
colorboxAddClassToLinks = function() {
|
135 |
+
console.group('Add colorbox-link class to links pointing to images');
|
136 |
jQuery("a:not(:contains(img))").each(function(index, link) {
|
137 |
var $link = jQuery(link);
|
138 |
var $linkClass = $link.attr("class");
|
139 |
if ($linkClass !== undefined && !$linkClass.match('colorbox')) {
|
140 |
var $linkHref = $link.attr("href");
|
141 |
if ($linkHref !== undefined && jQuery(link).attr("href").match(COLORBOX_SUFFIX_PATTERN)) {
|
142 |
+
console.debug("Add colorbox-link class to %o.",$link);
|
143 |
$link.addClass('colorbox-link');
|
144 |
}
|
145 |
}
|
146 |
});
|
147 |
+
console.groupEnd();
|
148 |
};
|
149 |
})(jQuery);
|
150 |
|
157 |
*/
|
158 |
(function(jQuery) {
|
159 |
colorboxAddManualClass = function() {
|
160 |
+
console.group('Add colorbox-manual class to images');
|
161 |
jQuery("img").each(function(index, image) {
|
162 |
var $img = jQuery(image);
|
163 |
var $imgClass = $img.attr("class");
|
164 |
if ($imgClass === undefined || !$imgClass.match('colorbox')) {
|
165 |
+
console.debug('Add colorbox-manual class to image %o',$img);
|
166 |
$img.addClass('colorbox-manual');
|
167 |
}
|
168 |
});
|
169 |
+
console.groupEnd();
|
170 |
};
|
171 |
})(jQuery);
|
172 |
|
179 |
*/
|
180 |
(function(jQuery) {
|
181 |
colorboxSelector = function() {
|
182 |
+
console.group('Find image links and apply colorbox effect.');
|
183 |
jQuery("a:has(img[class*=colorbox-]):not(.colorbox-off)").each(function(index, link) {
|
184 |
+
console.group("Found link %o.",link);
|
185 |
//create local copy of Colorbox array so that modifications can be made for every link
|
186 |
ColorboxLocal = jQuery.extend(true,{},jQueryColorboxSettingsArray);
|
187 |
|
198 |
//TODO: does not work, every link from an image will be opened in a colorbox...
|
199 |
//colorboxLink(index, link,$linkHref)
|
200 |
//}
|
201 |
+
console.groupEnd();
|
202 |
});
|
203 |
+
console.groupEnd();
|
204 |
|
205 |
+
console.group('Find links and apply colorbox effect.');
|
206 |
jQuery("a[class*=colorbox-link]").each(function(index, link) {
|
207 |
+
console.group("Found link %o.",link);
|
208 |
//create local copy of Colorbox array so that modifications can be made for every link
|
209 |
ColorboxLocal = jQuery.extend(true,{},jQueryColorboxSettingsArray);
|
210 |
|
212 |
if ($linkHref !== undefined) {
|
213 |
colorboxLink(index, link,$linkHref);
|
214 |
}
|
215 |
+
console.groupEnd();
|
216 |
});
|
217 |
+
console.groupEnd();
|
218 |
};
|
219 |
})(jQuery);
|
220 |
|
254 |
if ($imageTitle !== undefined) {
|
255 |
ColorboxLocal.colorboxTitle = $imageTitle;
|
256 |
}
|
257 |
+
else {
|
258 |
+
//try to use the alt of the img as the title for the Colorbox.
|
259 |
+
var $imageAlt = $image.attr("alt");
|
260 |
+
if ($imageAlt !== undefined) {
|
261 |
+
ColorboxLocal.colorboxTitle = $imageAlt;
|
262 |
+
}
|
263 |
+
}
|
264 |
|
265 |
if (jQueryColorboxSettingsArray.addZoomOverlay === "true") {
|
266 |
colorboxAddZoomOverlayToImages(jQuery(link), $image);
|
267 |
}
|
268 |
+
console.debug("Call colorbox for image %o.",$image);
|
269 |
colorboxWrapper(link);
|
270 |
}
|
271 |
}
|
328 |
ColorboxLocal.colorboxIframe = true;
|
329 |
}
|
330 |
}
|
331 |
+
console.debug("Call colorbox for link %o.",link);
|
332 |
colorboxWrapper(link);
|
333 |
};
|
334 |
})(jQuery);
|
354 |
}
|
355 |
});
|
356 |
|
357 |
+
console.debug("Apply colorbox to link %o with values %o",link,ColorboxLocal);
|
|
|
|
|
|
|
|
|
|
|
358 |
|
359 |
//finally call Colorbox library
|
360 |
jQuery(link).colorbox({
|
434 |
*/
|
435 |
(function (jQuery) {
|
436 |
colorboxAddZoomOverlayToImages = function ($link, $image) {
|
437 |
+
console.debug("Add zoom hover to link %o",$link);
|
438 |
+
var $zoomHover = jQuery('<span class="zoomHover" style="opacity: 0; margin: 0; padding: 0;"></span>');
|
439 |
|
440 |
//add float from image to link, otherwise the zoom overlay would not be visible
|
441 |
$link.css("float",$image.css("float"));
|
520 |
})(jQuery);
|
521 |
|
522 |
// getColorboxConfigDefaults()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/jquery.colorbox-min.js
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
(
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
Colorbox v1.4.33 - 2013-10-31
|
3 |
+
jQuery lightbox and modal window plugin
|
4 |
+
(c) 2013 Jack Moore - http://www.jacklmoore.com/colorbox
|
5 |
+
license: http://www.opensource.org/licenses/mit-license.php
|
6 |
+
*/
|
7 |
+
(function(e,t,i){function o(i,o,n){var r=t.createElement(i);return o&&(r.id=Z+o),n&&(r.style.cssText=n),e(r)}function n(){return i.innerHeight?i.innerHeight:e(i).height()}function r(e){var t=k.length,i=(z+e)%t;return 0>i?t+i:i}function h(e,t){return Math.round((/%/.test(e)?("x"===t?E.width():n())/100:1)*parseInt(e,10))}function l(e,t){return e.photo||e.photoRegex.test(t)}function s(e,t){return e.retinaUrl&&i.devicePixelRatio>1?t.replace(e.photoRegex,e.retinaSuffix):t}function a(e){"contains"in g[0]&&!g[0].contains(e.target)&&(e.stopPropagation(),g.focus())}function d(){var t,i=e.data(N,Y);null==i?(B=e.extend({},X),console&&console.log&&console.log("Error: cboxElement missing settings object")):B=e.extend({},i);for(t in B)e.isFunction(B[t])&&"on"!==t.slice(0,2)&&(B[t]=B[t].call(N));B.rel=B.rel||N.rel||e(N).data("rel")||"nofollow",B.href=B.href||e(N).attr("href"),B.title=B.title||N.title,"string"==typeof B.href&&(B.href=e.trim(B.href))}function c(i,o){e(t).trigger(i),lt.triggerHandler(i),e.isFunction(o)&&o.call(N)}function u(i){q||(N=i,d(),k=e(N),z=0,"nofollow"!==B.rel&&(k=e("."+et).filter(function(){var t,i=e.data(this,Y);return i&&(t=e(this).data("rel")||i.rel||this.rel),t===B.rel}),z=k.index(N),-1===z&&(k=k.add(N),z=k.length-1)),w.css({opacity:parseFloat(B.opacity),cursor:B.overlayClose?"pointer":"auto",visibility:"visible"}).show(),J&&g.add(w).removeClass(J),B.className&&g.add(w).addClass(B.className),J=B.className,B.closeButton?K.html(B.close).appendTo(y):K.appendTo("<div/>"),U||(U=$=!0,g.css({visibility:"hidden",display:"block"}),H=o(st,"LoadedContent","width:0; height:0; overflow:hidden"),y.css({width:"",height:""}).append(H),O=x.height()+C.height()+y.outerHeight(!0)-y.height(),_=b.width()+T.width()+y.outerWidth(!0)-y.width(),D=H.outerHeight(!0),A=H.outerWidth(!0),B.w=h(B.initialWidth,"x"),B.h=h(B.initialHeight,"y"),H.css({width:"",height:B.h}),Q.position(),c(tt,B.onOpen),P.add(L).hide(),g.focus(),B.trapFocus&&t.addEventListener&&(t.addEventListener("focus",a,!0),lt.one(rt,function(){t.removeEventListener("focus",a,!0)})),B.returnFocus&<.one(rt,function(){e(N).focus()})),m())}function f(){!g&&t.body&&(V=!1,E=e(i),g=o(st).attr({id:Y,"class":e.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),w=o(st,"Overlay").hide(),F=e([o(st,"LoadingOverlay")[0],o(st,"LoadingGraphic")[0]]),v=o(st,"Wrapper"),y=o(st,"Content").append(L=o(st,"Title"),S=o(st,"Current"),I=e('<button type="button"/>').attr({id:Z+"Previous"}),R=e('<button type="button"/>').attr({id:Z+"Next"}),M=o("button","Slideshow"),F),K=e('<button type="button"/>').attr({id:Z+"Close"}),v.append(o(st).append(o(st,"TopLeft"),x=o(st,"TopCenter"),o(st,"TopRight")),o(st,!1,"clear:left").append(b=o(st,"MiddleLeft"),y,T=o(st,"MiddleRight")),o(st,!1,"clear:left").append(o(st,"BottomLeft"),C=o(st,"BottomCenter"),o(st,"BottomRight"))).find("div div").css({"float":"left"}),W=o(st,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),P=R.add(I).add(S).add(M),e(t.body).append(w,g.append(v,W)))}function p(){function i(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey||(e.preventDefault(),u(this))}return g?(V||(V=!0,R.click(function(){Q.next()}),I.click(function(){Q.prev()}),K.click(function(){Q.close()}),w.click(function(){B.overlayClose&&Q.close()}),e(t).bind("keydown."+Z,function(e){var t=e.keyCode;U&&B.escKey&&27===t&&(e.preventDefault(),Q.close()),U&&B.arrowKey&&k[1]&&!e.altKey&&(37===t?(e.preventDefault(),I.click()):39===t&&(e.preventDefault(),R.click()))}),e.isFunction(e.fn.on)?e(t).on("click."+Z,"."+et,i):e("."+et).live("click."+Z,i)),!0):!1}function m(){var n,r,a,u=Q.prep,f=++at;$=!0,j=!1,N=k[z],d(),c(ht),c(it,B.onLoad),B.h=B.height?h(B.height,"y")-D-O:B.innerHeight&&h(B.innerHeight,"y"),B.w=B.width?h(B.width,"x")-A-_:B.innerWidth&&h(B.innerWidth,"x"),B.mw=B.w,B.mh=B.h,B.maxWidth&&(B.mw=h(B.maxWidth,"x")-A-_,B.mw=B.w&&B.w<B.mw?B.w:B.mw),B.maxHeight&&(B.mh=h(B.maxHeight,"y")-D-O,B.mh=B.h&&B.h<B.mh?B.h:B.mh),n=B.href,G=setTimeout(function(){F.show()},100),B.inline?(a=o(st).hide().insertBefore(e(n)[0]),lt.one(ht,function(){a.replaceWith(H.children())}),u(e(n))):B.iframe?u(" "):B.html?u(B.html):l(B,n)?(n=s(B,n),j=t.createElement("img"),e(j).addClass(Z+"Photo").bind("error",function(){B.title=!1,u(o(st,"Error").html(B.imgError))}).one("load",function(){var t;f===at&&(e.each(["alt","longdesc","aria-describedby"],function(t,i){var o=e(N).attr(i)||e(N).attr("data-"+i);o&&j.setAttribute(i,o)}),B.retinaImage&&i.devicePixelRatio>1&&(j.height=j.height/i.devicePixelRatio,j.width=j.width/i.devicePixelRatio),B.scalePhotos&&(r=function(){j.height-=j.height*t,j.width-=j.width*t},B.mw&&j.width>B.mw&&(t=(j.width-B.mw)/j.width,r()),B.mh&&j.height>B.mh&&(t=(j.height-B.mh)/j.height,r())),B.h&&(j.style.marginTop=Math.max(B.mh-j.height,0)/2+"px"),k[1]&&(B.loop||k[z+1])&&(j.style.cursor="pointer",j.onclick=function(){Q.next()}),j.style.width=j.width+"px",j.style.height=j.height+"px",setTimeout(function(){u(j)},1))}),setTimeout(function(){j.src=n},1)):n&&W.load(n,B.data,function(t,i){f===at&&u("error"===i?o(st,"Error").html(B.xhrError):e(this).contents())})}var w,g,v,y,x,b,T,C,k,E,H,W,F,L,S,M,R,I,K,P,B,O,_,D,A,N,z,j,U,$,q,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1},Y="colorbox",Z="cbox",et=Z+"Element",tt=Z+"_open",it=Z+"_load",ot=Z+"_complete",nt=Z+"_cleanup",rt=Z+"_closed",ht=Z+"_purge",lt=e("<a/>"),st="div",at=0,dt={},ct=function(){function e(){clearTimeout(h)}function t(){(B.loop||k[z+1])&&(e(),h=setTimeout(Q.next,B.slideshowSpeed))}function i(){M.html(B.slideshowStop).unbind(s).one(s,o),lt.bind(ot,t).bind(it,e),g.removeClass(l+"off").addClass(l+"on")}function o(){e(),lt.unbind(ot,t).unbind(it,e),M.html(B.slideshowStart).unbind(s).one(s,function(){Q.next(),i()}),g.removeClass(l+"on").addClass(l+"off")}function n(){r=!1,M.hide(),e(),lt.unbind(ot,t).unbind(it,e),g.removeClass(l+"off "+l+"on")}var r,h,l=Z+"Slideshow_",s="click."+Z;return function(){r?B.slideshow||(lt.unbind(nt,n),n()):B.slideshow&&k[1]&&(r=!0,lt.one(nt,n),B.slideshowAuto?i():o(),M.show())}}();e.colorbox||(e(f),Q=e.fn[Y]=e[Y]=function(t,i){var o=this;if(t=t||{},f(),p()){if(e.isFunction(o))o=e("<a/>"),t.open=!0;else if(!o[0])return o;i&&(t.onComplete=i),o.each(function(){e.data(this,Y,e.extend({},e.data(this,Y)||X,t))}).addClass(et),(e.isFunction(t.open)&&t.open.call(o)||t.open)&&u(o[0])}return o},Q.position=function(t,i){function o(){x[0].style.width=C[0].style.width=y[0].style.width=parseInt(g[0].style.width,10)-_+"px",y[0].style.height=b[0].style.height=T[0].style.height=parseInt(g[0].style.height,10)-O+"px"}var r,l,s,a=0,d=0,c=g.offset();if(E.unbind("resize."+Z),g.css({top:-9e4,left:-9e4}),l=E.scrollTop(),s=E.scrollLeft(),B.fixed?(c.top-=l,c.left-=s,g.css({position:"fixed"})):(a=l,d=s,g.css({position:"absolute"})),d+=B.right!==!1?Math.max(E.width()-B.w-A-_-h(B.right,"x"),0):B.left!==!1?h(B.left,"x"):Math.round(Math.max(E.width()-B.w-A-_,0)/2),a+=B.bottom!==!1?Math.max(n()-B.h-D-O-h(B.bottom,"y"),0):B.top!==!1?h(B.top,"y"):Math.round(Math.max(n()-B.h-D-O,0)/2),g.css({top:c.top,left:c.left,visibility:"visible"}),v[0].style.width=v[0].style.height="9999px",r={width:B.w+A+_,height:B.h+D+O,top:a,left:d},t){var u=0;e.each(r,function(e){return r[e]!==dt[e]?(u=t,void 0):void 0}),t=u}dt=r,t||g.css(r),g.dequeue().animate(r,{duration:t||0,complete:function(){o(),$=!1,v[0].style.width=B.w+A+_+"px",v[0].style.height=B.h+D+O+"px",B.reposition&&setTimeout(function(){E.bind("resize."+Z,Q.position)},1),i&&i()},step:o})},Q.resize=function(e){var t;U&&(e=e||{},e.width&&(B.w=h(e.width,"x")-A-_),e.innerWidth&&(B.w=h(e.innerWidth,"x")),H.css({width:B.w}),e.height&&(B.h=h(e.height,"y")-D-O),e.innerHeight&&(B.h=h(e.innerHeight,"y")),e.innerHeight||e.height||(t=H.scrollTop(),H.css({height:"auto"}),B.h=H.height()),H.css({height:B.h}),t&&H.scrollTop(t),Q.position("none"===B.transition?0:B.speed))},Q.prep=function(i){function n(){return B.w=B.w||H.width(),B.w=B.mw&&B.mw<B.w?B.mw:B.w,B.w}function h(){return B.h=B.h||H.height(),B.h=B.mh&&B.mh<B.h?B.mh:B.h,B.h}if(U){var a,d="none"===B.transition?0:B.speed;H.empty().remove(),H=o(st,"LoadedContent").append(i),H.hide().appendTo(W.show()).css({width:n(),overflow:B.scrolling?"auto":"hidden"}).css({height:h()}).prependTo(y),W.hide(),e(j).css({"float":"none"}),a=function(){function i(){e.support.opacity===!1&&g[0].style.removeAttribute("filter")}var n,h,a=k.length,u="frameBorder",f="allowTransparency";U&&(h=function(){clearTimeout(G),F.hide(),c(ot,B.onComplete)},L.html(B.title).add(H).show(),a>1?("string"==typeof B.current&&S.html(B.current.replace("{current}",z+1).replace("{total}",a)).show(),R[B.loop||a-1>z?"show":"hide"]().html(B.next),I[B.loop||z?"show":"hide"]().html(B.previous),ct(),B.preloading&&e.each([r(-1),r(1)],function(){var i,o,n=k[this],r=e.data(n,Y);r&&r.href?(i=r.href,e.isFunction(i)&&(i=i.call(n))):i=e(n).attr("href"),i&&l(r,i)&&(i=s(r,i),o=t.createElement("img"),o.src=i)})):P.hide(),B.iframe?(n=o("iframe")[0],u in n&&(n[u]=0),f in n&&(n[f]="true"),B.scrolling||(n.scrolling="no"),e(n).attr({src:B.href,name:(new Date).getTime(),"class":Z+"Iframe",allowFullScreen:!0,webkitAllowFullScreen:!0,mozallowfullscreen:!0}).one("load",h).appendTo(H),lt.one(ht,function(){n.src="//about:blank"}),B.fastIframe&&e(n).trigger("load")):h(),"fade"===B.transition?g.fadeTo(d,1,i):i())},"fade"===B.transition?g.fadeTo(d,0,function(){Q.position(0,a)}):Q.position(d,a)}},Q.next=function(){!$&&k[1]&&(B.loop||k[z+1])&&(z=r(1),u(k[z]))},Q.prev=function(){!$&&k[1]&&(B.loop||z)&&(z=r(-1),u(k[z]))},Q.close=function(){U&&!q&&(q=!0,U=!1,c(nt,B.onCleanup),E.unbind("."+Z),w.fadeTo(B.fadeOut||0,0),g.stop().fadeTo(B.fadeOut||0,0,function(){g.add(w).css({opacity:1,cursor:"auto"}).hide(),c(ht),H.empty().remove(),setTimeout(function(){q=!1,c(rt,B.onClosed)},1)}))},Q.remove=function(){g&&(g.stop(),e.colorbox.close(),g.stop().remove(),w.remove(),q=!1,g=null,e("."+et).removeData(Y).removeClass(et),e(t).unbind("click."+Z))},Q.element=function(){return e(N)},Q.settings=X)})(jQuery,document,window);
|
js/jquery.colorbox.js
CHANGED
@@ -1,13 +1,24 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
4 |
(function ($, document, window) {
|
5 |
var
|
6 |
// Default settings object.
|
7 |
// See http://jacklmoore.com/colorbox for details.
|
8 |
defaults = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
transition: "elastic",
|
10 |
speed: 300,
|
|
|
11 |
width: false,
|
12 |
initialWidth: "600",
|
13 |
innerWidth: false,
|
@@ -18,17 +29,39 @@
|
|
18 |
maxHeight: false,
|
19 |
scalePhotos: true,
|
20 |
scrolling: true,
|
21 |
-
inline: false,
|
22 |
-
html: false,
|
23 |
-
iframe: false,
|
24 |
-
fastIframe: true,
|
25 |
-
photo: false,
|
26 |
href: false,
|
27 |
title: false,
|
28 |
rel: false,
|
29 |
opacity: 0.9,
|
30 |
preloading: true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
|
|
32 |
current: "image {current} of {total}",
|
33 |
previous: "previous",
|
34 |
next: "next",
|
@@ -36,29 +69,16 @@
|
|
36 |
xhrError: "This content failed to load.",
|
37 |
imgError: "This image failed to load.",
|
38 |
|
39 |
-
|
40 |
returnFocus: true,
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
slideshowAuto: true,
|
45 |
-
slideshowSpeed: 2500,
|
46 |
-
slideshowStart: "start slideshow",
|
47 |
-
slideshowStop: "stop slideshow",
|
48 |
onOpen: false,
|
49 |
onLoad: false,
|
50 |
onComplete: false,
|
51 |
onCleanup: false,
|
52 |
-
onClosed: false
|
53 |
-
overlayClose: true,
|
54 |
-
escKey: true,
|
55 |
-
arrowKey: true,
|
56 |
-
top: false,
|
57 |
-
bottom: false,
|
58 |
-
left: false,
|
59 |
-
right: false,
|
60 |
-
fixed: false,
|
61 |
-
data: undefined
|
62 |
},
|
63 |
|
64 |
// Abstracting the HTML and event identifiers for easy rebranding
|
@@ -73,11 +93,6 @@
|
|
73 |
event_cleanup = prefix + '_cleanup',
|
74 |
event_closed = prefix + '_closed',
|
75 |
event_purge = prefix + '_purge',
|
76 |
-
|
77 |
-
// Special Handling for IE
|
78 |
-
isIE = !$.support.opacity && !$.support.style, // IE7 & IE8
|
79 |
-
isIE6 = isIE && !window.XMLHttpRequest, // IE6
|
80 |
-
event_ie6 = prefix + '_IE6',
|
81 |
|
82 |
// Cached jQuery Object Variables
|
83 |
$overlay,
|
@@ -100,6 +115,7 @@
|
|
100 |
$prev,
|
101 |
$close,
|
102 |
$groupControls,
|
|
|
103 |
|
104 |
// Variables for cached values or use across multiple functions
|
105 |
settings,
|
@@ -116,13 +132,16 @@
|
|
116 |
loadingTimer,
|
117 |
publicMethod,
|
118 |
div = "div",
|
|
|
|
|
|
|
119 |
init;
|
120 |
|
121 |
// ****************
|
122 |
// HELPER FUNCTIONS
|
123 |
// ****************
|
124 |
|
125 |
-
//
|
126 |
function $tag(tag, id, css) {
|
127 |
var element = document.createElement(tag);
|
128 |
|
@@ -136,6 +155,12 @@
|
|
136 |
|
137 |
return $(element);
|
138 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
|
140 |
// Determine the next and previous members in a group.
|
141 |
function getIndex(increment) {
|
@@ -148,23 +173,24 @@
|
|
148 |
|
149 |
// Convert '%' and 'px' values to integers
|
150 |
function setSize(size, dimension) {
|
151 |
-
return Math.round((/%/.test(size) ? ((dimension === 'x' ?
|
152 |
}
|
153 |
|
154 |
// Checks an href to see if it is a photo.
|
155 |
-
// There is a force photo option (photo: true) for hrefs that cannot be matched by
|
156 |
-
function isImage(url) {
|
157 |
-
return settings.photo ||
|
158 |
}
|
159 |
-
|
160 |
-
function
|
161 |
-
|
162 |
-
// window.innerWidth is unsupported in IE8 and lower.
|
163 |
-
return window.innerWidth || $window.width();
|
164 |
}
|
165 |
|
166 |
-
function
|
167 |
-
|
|
|
|
|
|
|
168 |
}
|
169 |
|
170 |
// Assigns function results to their respective properties
|
@@ -187,7 +213,7 @@
|
|
187 |
}
|
188 |
}
|
189 |
|
190 |
-
settings.rel = settings.rel || element.rel || 'nofollow';
|
191 |
settings.href = settings.href || $(element).attr('href');
|
192 |
settings.title = settings.title || element.title;
|
193 |
|
@@ -197,61 +223,98 @@
|
|
197 |
}
|
198 |
|
199 |
function trigger(event, callback) {
|
200 |
-
|
201 |
-
|
|
|
|
|
|
|
|
|
|
|
202 |
callback.call(element);
|
203 |
}
|
204 |
}
|
205 |
|
206 |
-
|
207 |
-
|
208 |
-
var
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
.unbind(click)
|
221 |
-
.bind(event_complete, function () {
|
222 |
-
if (settings.loop || $related[index + 1]) {
|
223 |
-
timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
|
224 |
-
}
|
225 |
-
})
|
226 |
-
.bind(event_load, function () {
|
227 |
-
clearTimeout(timeOut);
|
228 |
-
})
|
229 |
-
.one(click + ' ' + event_cleanup, stop);
|
230 |
-
$box.removeClass(className + "off").addClass(className + "on");
|
231 |
timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
|
232 |
-
};
|
233 |
-
|
234 |
-
stop = function () {
|
235 |
-
clearTimeout(timeOut);
|
236 |
-
$slideshow
|
237 |
-
.text(settings.slideshowStart)
|
238 |
-
.unbind([event_complete, event_load, event_cleanup, click].join(' '))
|
239 |
-
.one(click, function () {
|
240 |
-
publicMethod.next();
|
241 |
-
start();
|
242 |
-
});
|
243 |
-
$box.removeClass(className + "on").addClass(className + "off");
|
244 |
-
};
|
245 |
-
|
246 |
-
if (settings.slideshowAuto) {
|
247 |
-
start();
|
248 |
-
} else {
|
249 |
-
stop();
|
250 |
}
|
251 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
$box.removeClass(className + "off " + className + "on");
|
253 |
}
|
254 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
|
256 |
function launch(target) {
|
257 |
if (!closing) {
|
@@ -270,78 +333,119 @@
|
|
270 |
relRelated;
|
271 |
|
272 |
if (data) {
|
273 |
-
relRelated = data.rel || this.rel;
|
274 |
}
|
275 |
|
276 |
return (relRelated === settings.rel);
|
277 |
});
|
278 |
index = $related.index(element);
|
279 |
|
280 |
-
// Check direct calls to
|
281 |
if (index === -1) {
|
282 |
$related = $related.add(element);
|
283 |
index = $related.length - 1;
|
284 |
}
|
285 |
}
|
286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
if (!open) {
|
288 |
open = active = true; // Prevents the page-change action from queuing up if the visitor holds down the left or right keys.
|
289 |
|
290 |
-
|
|
|
291 |
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
// Opens inital empty
|
302 |
settings.w = setSize(settings.initialWidth, 'x');
|
303 |
settings.h = setSize(settings.initialHeight, 'y');
|
|
|
304 |
publicMethod.position();
|
305 |
-
|
306 |
-
if (isIE6) {
|
307 |
-
$window.bind('resize.' + event_ie6 + ' scroll.' + event_ie6, function () {
|
308 |
-
$overlay.css({width: winWidth(), height: winHeight(), top: $window.scrollTop(), left: $window.scrollLeft()});
|
309 |
-
}).trigger('resize.' + event_ie6);
|
310 |
-
}
|
311 |
-
|
312 |
trigger(event_open, settings.onOpen);
|
313 |
|
314 |
$groupControls.add($title).hide();
|
|
|
|
|
315 |
|
316 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
}
|
318 |
-
|
319 |
-
publicMethod.load(true);
|
320 |
}
|
321 |
}
|
322 |
|
323 |
-
//
|
324 |
// so that the browser will go ahead and load the CSS background images.
|
325 |
function appendHTML() {
|
326 |
if (!$box && document.body) {
|
327 |
init = false;
|
328 |
-
|
329 |
$window = $(window);
|
330 |
-
$box = $tag(div).attr({
|
331 |
-
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
333 |
$wrap = $tag(div, "Wrapper");
|
334 |
$content = $tag(div, "Content").append(
|
335 |
-
$loaded = $tag(div, "LoadedContent", 'width:0; height:0; overflow:hidden'),
|
336 |
$title = $tag(div, "Title"),
|
337 |
$current = $tag(div, "Current"),
|
338 |
-
$
|
339 |
-
$
|
340 |
-
$slideshow = $tag(
|
341 |
-
$
|
342 |
);
|
|
|
|
|
343 |
|
344 |
-
$wrap.append( // The 3x3 Grid that makes up
|
345 |
$tag(div).append(
|
346 |
$tag(div, "TopLeft"),
|
347 |
$topBorder = $tag(div, "TopCenter"),
|
@@ -359,7 +463,7 @@
|
|
359 |
)
|
360 |
).find('div div').css({'float': 'left'});
|
361 |
|
362 |
-
$loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none');
|
363 |
|
364 |
$groupControls = $next.add($prev).add($current).add($slideshow);
|
365 |
|
@@ -367,21 +471,21 @@
|
|
367 |
}
|
368 |
}
|
369 |
|
370 |
-
// Add
|
371 |
function addBindings() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
372 |
if ($box) {
|
373 |
if (!init) {
|
374 |
init = true;
|
375 |
|
376 |
-
// Cache values needed for size calculations
|
377 |
-
interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();//Subtraction needed for IE6
|
378 |
-
interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width();
|
379 |
-
loadedHeight = $loaded.outerHeight(true);
|
380 |
-
loadedWidth = $loaded.outerWidth(true);
|
381 |
-
|
382 |
-
// Setting padding to remove the need to do size conversions during the animation step.
|
383 |
-
$box.css({"padding-bottom": interfaceHeight, "padding-right": interfaceWidth});
|
384 |
-
|
385 |
// Anonymous functions here keep the public method from being cached, thereby allowing them to be redefined on the fly.
|
386 |
$next.click(function () {
|
387 |
publicMethod.next();
|
@@ -405,7 +509,7 @@
|
|
405 |
e.preventDefault();
|
406 |
publicMethod.close();
|
407 |
}
|
408 |
-
if (open && settings.arrowKey && $related[1]) {
|
409 |
if (key === 37) {
|
410 |
e.preventDefault();
|
411 |
$prev.click();
|
@@ -416,21 +520,22 @@
|
|
416 |
}
|
417 |
});
|
418 |
|
419 |
-
|
420 |
-
//
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
|
|
427 |
}
|
428 |
return true;
|
429 |
}
|
430 |
return false;
|
431 |
}
|
432 |
|
433 |
-
// Don't do anything if
|
434 |
if ($.colorbox) {
|
435 |
return;
|
436 |
}
|
@@ -441,8 +546,8 @@
|
|
441 |
|
442 |
// ****************
|
443 |
// PUBLIC FUNCTIONS
|
444 |
-
// Usage format: $.
|
445 |
-
// Usage from within an iframe: parent
|
446 |
// ****************
|
447 |
|
448 |
publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) {
|
@@ -453,13 +558,11 @@
|
|
453 |
appendHTML();
|
454 |
|
455 |
if (addBindings()) {
|
456 |
-
if (
|
457 |
-
if ($this.selector) { // if a selector was given and it didn't match any elements, go ahead and exit.
|
458 |
-
return $this;
|
459 |
-
}
|
460 |
-
// if no selector was given (ie. $.colorbox()), create a temporary element to work with
|
461 |
$this = $('<a/>');
|
462 |
-
options.open = true;
|
|
|
|
|
463 |
}
|
464 |
|
465 |
if (callback) {
|
@@ -495,7 +598,7 @@
|
|
495 |
scrollTop = $window.scrollTop();
|
496 |
scrollLeft = $window.scrollLeft();
|
497 |
|
498 |
-
if (settings.fixed
|
499 |
offset.top -= scrollTop;
|
500 |
offset.left -= scrollLeft;
|
501 |
$box.css({position: 'fixed'});
|
@@ -507,44 +610,57 @@
|
|
507 |
|
508 |
// keeps the top and left positions within the browser's viewport.
|
509 |
if (settings.right !== false) {
|
510 |
-
left += Math.max(
|
511 |
} else if (settings.left !== false) {
|
512 |
left += setSize(settings.left, 'x');
|
513 |
} else {
|
514 |
-
left += Math.round(Math.max(
|
515 |
}
|
516 |
|
517 |
if (settings.bottom !== false) {
|
518 |
-
top += Math.max(
|
519 |
} else if (settings.top !== false) {
|
520 |
top += setSize(settings.top, 'y');
|
521 |
} else {
|
522 |
-
top += Math.round(Math.max(
|
523 |
}
|
524 |
|
525 |
-
$box.css({top: offset.top, left: offset.left});
|
526 |
-
|
527 |
-
// setting the speed to 0 to reduce the delay between same-sized content.
|
528 |
-
speed = ($box.width() === settings.w + loadedWidth && $box.height() === settings.h + loadedHeight) ? 0 : speed || 0;
|
529 |
|
530 |
// this gives the wrapper plenty of breathing room so it's floated contents can move around smoothly,
|
531 |
// but it has to be shrank down around the size of div#colorbox when it's done. If not,
|
532 |
// it can invoke an obscure IE bug when using iframes.
|
533 |
$wrap[0].style.width = $wrap[0].style.height = "9999px";
|
534 |
|
535 |
-
function modalDimensions(
|
536 |
-
$topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width =
|
537 |
-
$content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height =
|
538 |
}
|
539 |
|
540 |
-
css = {width: settings.w + loadedWidth, height: settings.h + loadedHeight, top: top, left: left};
|
541 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
$box.css(css);
|
543 |
}
|
|
|
544 |
$box.dequeue().animate(css, {
|
545 |
-
duration: speed,
|
546 |
complete: function () {
|
547 |
-
modalDimensions(
|
548 |
|
549 |
active = false;
|
550 |
|
@@ -562,35 +678,45 @@
|
|
562 |
loadedCallback();
|
563 |
}
|
564 |
},
|
565 |
-
step:
|
566 |
-
modalDimensions(this);
|
567 |
-
}
|
568 |
});
|
569 |
};
|
570 |
|
571 |
publicMethod.resize = function (options) {
|
|
|
|
|
572 |
if (open) {
|
573 |
options = options || {};
|
574 |
|
575 |
if (options.width) {
|
576 |
settings.w = setSize(options.width, 'x') - loadedWidth - interfaceWidth;
|
577 |
}
|
|
|
578 |
if (options.innerWidth) {
|
579 |
settings.w = setSize(options.innerWidth, 'x');
|
580 |
}
|
|
|
581 |
$loaded.css({width: settings.w});
|
582 |
|
583 |
if (options.height) {
|
584 |
settings.h = setSize(options.height, 'y') - loadedHeight - interfaceHeight;
|
585 |
}
|
|
|
586 |
if (options.innerHeight) {
|
587 |
settings.h = setSize(options.innerHeight, 'y');
|
588 |
}
|
|
|
589 |
if (!options.innerHeight && !options.height) {
|
|
|
590 |
$loaded.css({height: "auto"});
|
591 |
settings.h = $loaded.height();
|
592 |
}
|
|
|
593 |
$loaded.css({height: settings.h});
|
|
|
|
|
|
|
|
|
594 |
|
595 |
publicMethod.position(settings.transition === "none" ? 0 : settings.speed);
|
596 |
}
|
@@ -602,8 +728,9 @@
|
|
602 |
}
|
603 |
|
604 |
var callback, speed = settings.transition === "none" ? 0 : settings.speed;
|
605 |
-
|
606 |
-
$loaded.remove();
|
|
|
607 |
$loaded = $tag(div, 'LoadedContent').append(object);
|
608 |
|
609 |
function getWidth() {
|
@@ -626,54 +753,32 @@
|
|
626 |
$loadingBay.hide();
|
627 |
|
628 |
// floating the IMG removes the bottom line-height and fixed a problem where IE miscalculates the width of the parent element as 100% of the document width.
|
629 |
-
//$(photo).css({'float': 'none', marginLeft: 'auto', marginRight: 'auto'});
|
630 |
|
631 |
$(photo).css({'float': 'none'});
|
632 |
-
|
633 |
-
// Hides SELECT elements in IE6 because they would otherwise sit on top of the overlay.
|
634 |
-
if (isIE6) {
|
635 |
-
$('select').not($box.find('select')).filter(function () {
|
636 |
-
return this.style.visibility !== 'hidden';
|
637 |
-
}).css({'visibility': 'hidden'}).one(event_cleanup, function () {
|
638 |
-
this.style.visibility = 'inherit';
|
639 |
-
});
|
640 |
-
}
|
641 |
-
|
642 |
callback = function () {
|
643 |
-
var
|
644 |
-
i,
|
645 |
-
total = $related.length,
|
646 |
iframe,
|
647 |
frameBorder = 'frameBorder',
|
648 |
allowTransparency = 'allowTransparency',
|
649 |
-
complete
|
650 |
-
src,
|
651 |
-
img,
|
652 |
-
data;
|
653 |
|
654 |
if (!open) {
|
655 |
return;
|
656 |
}
|
657 |
|
658 |
-
function removeFilter() {
|
659 |
-
if (
|
660 |
$box[0].style.removeAttribute('filter');
|
661 |
}
|
662 |
}
|
663 |
|
664 |
complete = function () {
|
665 |
clearTimeout(loadingTimer);
|
666 |
-
|
667 |
-
$loadingOverlay.detach().hide();
|
668 |
trigger(event_complete, settings.onComplete);
|
669 |
};
|
670 |
-
|
671 |
-
if (isIE) {
|
672 |
-
//This fadeIn helps the bicubic resampling to kick-in.
|
673 |
-
if (photo) {
|
674 |
-
$loaded.fadeIn(100);
|
675 |
-
}
|
676 |
-
}
|
677 |
|
678 |
$title.html(settings.title).add($loaded).show();
|
679 |
|
@@ -685,33 +790,31 @@
|
|
685 |
$next[(settings.loop || index < total - 1) ? "show" : "hide"]().html(settings.next);
|
686 |
$prev[(settings.loop || index) ? "show" : "hide"]().html(settings.previous);
|
687 |
|
688 |
-
|
689 |
-
$slideshow.show();
|
690 |
-
}
|
691 |
|
692 |
// Preloads images within a rel group
|
693 |
if (settings.preloading) {
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
if (data && data.href) {
|
702 |
src = data.href;
|
703 |
if ($.isFunction(src)) {
|
704 |
src = src.call(i);
|
705 |
}
|
706 |
} else {
|
707 |
-
src = i.href;
|
708 |
}
|
709 |
|
710 |
-
if (isImage(src)) {
|
711 |
-
|
|
|
712 |
img.src = src;
|
713 |
}
|
714 |
-
}
|
715 |
}
|
716 |
} else {
|
717 |
$groupControls.hide();
|
@@ -723,23 +826,34 @@
|
|
723 |
if (frameBorder in iframe) {
|
724 |
iframe[frameBorder] = 0;
|
725 |
}
|
|
|
726 |
if (allowTransparency in iframe) {
|
727 |
iframe[allowTransparency] = "true";
|
728 |
}
|
729 |
-
|
730 |
-
iframe.name = prefix + (+new Date());
|
731 |
-
if (settings.fastIframe) {
|
732 |
-
complete();
|
733 |
-
} else {
|
734 |
-
$(iframe).one('load', complete);
|
735 |
-
}
|
736 |
-
iframe.src = settings.href;
|
737 |
if (!settings.scrolling) {
|
738 |
iframe.scrolling = "no";
|
739 |
}
|
740 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
741 |
iframe.src = "//about:blank";
|
742 |
});
|
|
|
|
|
|
|
|
|
743 |
} else {
|
744 |
complete();
|
745 |
}
|
@@ -760,8 +874,8 @@
|
|
760 |
}
|
761 |
};
|
762 |
|
763 |
-
|
764 |
-
var href, setResize, prep = publicMethod.prep;
|
765 |
|
766 |
active = true;
|
767 |
|
@@ -769,9 +883,7 @@
|
|
769 |
|
770 |
element = $related[index];
|
771 |
|
772 |
-
|
773 |
-
makeSettings();
|
774 |
-
}
|
775 |
|
776 |
trigger(event_purge);
|
777 |
|
@@ -803,15 +915,18 @@
|
|
803 |
href = settings.href;
|
804 |
|
805 |
loadingTimer = setTimeout(function () {
|
806 |
-
$loadingOverlay.show()
|
807 |
}, 100);
|
808 |
|
809 |
if (settings.inline) {
|
810 |
// Inserts an empty placeholder where inline content is being pulled from.
|
811 |
-
// An event is bound to put inline content back when
|
812 |
-
$tag(div).hide().insertBefore($(href)[0])
|
813 |
-
|
|
|
|
|
814 |
});
|
|
|
815 |
prep($(href));
|
816 |
} else if (settings.iframe) {
|
817 |
// IFrame element won't be added to the DOM until it is ready to be displayed,
|
@@ -819,17 +934,37 @@
|
|
819 |
prep(" ");
|
820 |
} else if (settings.html) {
|
821 |
prep(settings.html);
|
822 |
-
} else if (isImage(href)) {
|
823 |
-
|
|
|
|
|
|
|
|
|
|
|
824 |
.addClass(prefix + 'Photo')
|
825 |
-
.error
|
826 |
settings.title = false;
|
827 |
prep($tag(div, 'Error').html(settings.imgError));
|
828 |
})
|
829 |
-
.load
|
830 |
var percent;
|
831 |
-
|
832 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
833 |
if (settings.scalePhotos) {
|
834 |
setResize = function () {
|
835 |
photo.height -= photo.height * percent;
|
@@ -846,7 +981,7 @@
|
|
846 |
}
|
847 |
|
848 |
if (settings.h) {
|
849 |
-
photo.style.marginTop = Math.max(settings.
|
850 |
}
|
851 |
|
852 |
if ($related[1] && (settings.loop || $related[index + 1])) {
|
@@ -855,11 +990,10 @@
|
|
855 |
publicMethod.next();
|
856 |
};
|
857 |
}
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
setTimeout(function () { // A pause because Chrome will sometimes report a 0 by 0 size otherwise.
|
864 |
prep(photo);
|
865 |
}, 1);
|
@@ -869,28 +1003,30 @@
|
|
869 |
photo.src = href;
|
870 |
}, 1);
|
871 |
} else if (href) {
|
872 |
-
$loadingBay.load(href, settings.data, function (data, status
|
873 |
-
|
|
|
|
|
874 |
});
|
875 |
}
|
876 |
-
}
|
877 |
|
878 |
// Navigates to the next page/image in a set.
|
879 |
publicMethod.next = function () {
|
880 |
if (!active && $related[1] && (settings.loop || $related[index + 1])) {
|
881 |
index = getIndex(1);
|
882 |
-
|
883 |
}
|
884 |
};
|
885 |
|
886 |
publicMethod.prev = function () {
|
887 |
if (!active && $related[1] && (settings.loop || index)) {
|
888 |
index = getIndex(-1);
|
889 |
-
|
890 |
}
|
891 |
};
|
892 |
|
893 |
-
// Note: to use this within an iframe use the following format: parent
|
894 |
publicMethod.close = function () {
|
895 |
if (open && !closing) {
|
896 |
|
@@ -900,17 +1036,17 @@
|
|
900 |
|
901 |
trigger(event_cleanup, settings.onCleanup);
|
902 |
|
903 |
-
$window.unbind('.' + prefix
|
904 |
|
905 |
-
$overlay.fadeTo(
|
906 |
|
907 |
-
$box.stop().fadeTo(
|
908 |
|
909 |
$box.add($overlay).css({'opacity': 1, cursor: 'auto'}).hide();
|
910 |
|
911 |
trigger(event_purge);
|
912 |
|
913 |
-
$loaded.remove();
|
914 |
|
915 |
setTimeout(function () {
|
916 |
closing = false;
|
@@ -920,18 +1056,24 @@
|
|
920 |
}
|
921 |
};
|
922 |
|
923 |
-
// Removes changes
|
924 |
-
// from jQuery.
|
925 |
publicMethod.remove = function () {
|
926 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
927 |
$box = null;
|
928 |
$('.' + boxElement)
|
929 |
.removeData(colorbox)
|
930 |
-
.removeClass(boxElement)
|
931 |
-
|
|
|
932 |
};
|
933 |
|
934 |
-
// A method for fetching the current element
|
935 |
// returns a jQuery object.
|
936 |
publicMethod.element = function () {
|
937 |
return $(element);
|
@@ -939,4 +1081,4 @@
|
|
939 |
|
940 |
publicMethod.settings = defaults;
|
941 |
|
942 |
-
}(jQuery, document,
|
1 |
+
/*!
|
2 |
+
Colorbox v1.4.33 - 2013-10-31
|
3 |
+
jQuery lightbox and modal window plugin
|
4 |
+
(c) 2013 Jack Moore - http://www.jacklmoore.com/colorbox
|
5 |
+
license: http://www.opensource.org/licenses/mit-license.php
|
6 |
+
*/
|
7 |
(function ($, document, window) {
|
8 |
var
|
9 |
// Default settings object.
|
10 |
// See http://jacklmoore.com/colorbox for details.
|
11 |
defaults = {
|
12 |
+
// data sources
|
13 |
+
html: false,
|
14 |
+
photo: false,
|
15 |
+
iframe: false,
|
16 |
+
inline: false,
|
17 |
+
|
18 |
+
// behavior and appearance
|
19 |
transition: "elastic",
|
20 |
speed: 300,
|
21 |
+
fadeOut: 300,
|
22 |
width: false,
|
23 |
initialWidth: "600",
|
24 |
innerWidth: false,
|
29 |
maxHeight: false,
|
30 |
scalePhotos: true,
|
31 |
scrolling: true,
|
|
|
|
|
|
|
|
|
|
|
32 |
href: false,
|
33 |
title: false,
|
34 |
rel: false,
|
35 |
opacity: 0.9,
|
36 |
preloading: true,
|
37 |
+
className: false,
|
38 |
+
overlayClose: true,
|
39 |
+
escKey: true,
|
40 |
+
arrowKey: true,
|
41 |
+
top: false,
|
42 |
+
bottom: false,
|
43 |
+
left: false,
|
44 |
+
right: false,
|
45 |
+
fixed: false,
|
46 |
+
data: undefined,
|
47 |
+
closeButton: true,
|
48 |
+
fastIframe: true,
|
49 |
+
open: false,
|
50 |
+
reposition: true,
|
51 |
+
loop: true,
|
52 |
+
slideshow: false,
|
53 |
+
slideshowAuto: true,
|
54 |
+
slideshowSpeed: 2500,
|
55 |
+
slideshowStart: "start slideshow",
|
56 |
+
slideshowStop: "stop slideshow",
|
57 |
+
photoRegex: /\.(gif|png|jp(e|g|eg)|bmp|ico|webp)((#|\?).*)?$/i,
|
58 |
+
|
59 |
+
// alternate image paths for high-res displays
|
60 |
+
retinaImage: false,
|
61 |
+
retinaUrl: false,
|
62 |
+
retinaSuffix: '@2x.$1',
|
63 |
|
64 |
+
// internationalization
|
65 |
current: "image {current} of {total}",
|
66 |
previous: "previous",
|
67 |
next: "next",
|
69 |
xhrError: "This content failed to load.",
|
70 |
imgError: "This image failed to load.",
|
71 |
|
72 |
+
// accessbility
|
73 |
returnFocus: true,
|
74 |
+
trapFocus: true,
|
75 |
+
|
76 |
+
// callbacks
|
|
|
|
|
|
|
|
|
77 |
onOpen: false,
|
78 |
onLoad: false,
|
79 |
onComplete: false,
|
80 |
onCleanup: false,
|
81 |
+
onClosed: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
},
|
83 |
|
84 |
// Abstracting the HTML and event identifiers for easy rebranding
|
93 |
event_cleanup = prefix + '_cleanup',
|
94 |
event_closed = prefix + '_closed',
|
95 |
event_purge = prefix + '_purge',
|
|
|
|
|
|
|
|
|
|
|
96 |
|
97 |
// Cached jQuery Object Variables
|
98 |
$overlay,
|
115 |
$prev,
|
116 |
$close,
|
117 |
$groupControls,
|
118 |
+
$events = $('<a/>'), // $([]) would be prefered, but there is an issue with jQuery 1.4.2
|
119 |
|
120 |
// Variables for cached values or use across multiple functions
|
121 |
settings,
|
132 |
loadingTimer,
|
133 |
publicMethod,
|
134 |
div = "div",
|
135 |
+
className,
|
136 |
+
requests = 0,
|
137 |
+
previousCSS = {},
|
138 |
init;
|
139 |
|
140 |
// ****************
|
141 |
// HELPER FUNCTIONS
|
142 |
// ****************
|
143 |
|
144 |
+
// Convenience function for creating new jQuery objects
|
145 |
function $tag(tag, id, css) {
|
146 |
var element = document.createElement(tag);
|
147 |
|
155 |
|
156 |
return $(element);
|
157 |
}
|
158 |
+
|
159 |
+
// Get the window height using innerHeight when available to avoid an issue with iOS
|
160 |
+
// http://bugs.jquery.com/ticket/6724
|
161 |
+
function winheight() {
|
162 |
+
return window.innerHeight ? window.innerHeight : $(window).height();
|
163 |
+
}
|
164 |
|
165 |
// Determine the next and previous members in a group.
|
166 |
function getIndex(increment) {
|
173 |
|
174 |
// Convert '%' and 'px' values to integers
|
175 |
function setSize(size, dimension) {
|
176 |
+
return Math.round((/%/.test(size) ? ((dimension === 'x' ? $window.width() : winheight()) / 100) : 1) * parseInt(size, 10));
|
177 |
}
|
178 |
|
179 |
// Checks an href to see if it is a photo.
|
180 |
+
// There is a force photo option (photo: true) for hrefs that cannot be matched by the regex.
|
181 |
+
function isImage(settings, url) {
|
182 |
+
return settings.photo || settings.photoRegex.test(url);
|
183 |
}
|
184 |
+
|
185 |
+
function retinaUrl(settings, url) {
|
186 |
+
return settings.retinaUrl && window.devicePixelRatio > 1 ? url.replace(settings.photoRegex, settings.retinaSuffix) : url;
|
|
|
|
|
187 |
}
|
188 |
|
189 |
+
function trapFocus(e) {
|
190 |
+
if ('contains' in $box[0] && !$box[0].contains(e.target)) {
|
191 |
+
e.stopPropagation();
|
192 |
+
$box.focus();
|
193 |
+
}
|
194 |
}
|
195 |
|
196 |
// Assigns function results to their respective properties
|
213 |
}
|
214 |
}
|
215 |
|
216 |
+
settings.rel = settings.rel || element.rel || $(element).data('rel') || 'nofollow';
|
217 |
settings.href = settings.href || $(element).attr('href');
|
218 |
settings.title = settings.title || element.title;
|
219 |
|
223 |
}
|
224 |
|
225 |
function trigger(event, callback) {
|
226 |
+
// for external use
|
227 |
+
$(document).trigger(event);
|
228 |
+
|
229 |
+
// for internal use
|
230 |
+
$events.triggerHandler(event);
|
231 |
+
|
232 |
+
if ($.isFunction(callback)) {
|
233 |
callback.call(element);
|
234 |
}
|
235 |
}
|
236 |
|
237 |
+
|
238 |
+
var slideshow = (function(){
|
239 |
+
var active,
|
240 |
+
className = prefix + "Slideshow_",
|
241 |
+
click = "click." + prefix,
|
242 |
+
timeOut;
|
243 |
+
|
244 |
+
function clear () {
|
245 |
+
clearTimeout(timeOut);
|
246 |
+
}
|
247 |
+
|
248 |
+
function set() {
|
249 |
+
if (settings.loop || $related[index + 1]) {
|
250 |
+
clear();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
timeOut = setTimeout(publicMethod.next, settings.slideshowSpeed);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
}
|
253 |
+
}
|
254 |
+
|
255 |
+
function start() {
|
256 |
+
$slideshow
|
257 |
+
.html(settings.slideshowStop)
|
258 |
+
.unbind(click)
|
259 |
+
.one(click, stop);
|
260 |
+
|
261 |
+
$events
|
262 |
+
.bind(event_complete, set)
|
263 |
+
.bind(event_load, clear);
|
264 |
+
|
265 |
+
$box.removeClass(className + "off").addClass(className + "on");
|
266 |
+
}
|
267 |
+
|
268 |
+
function stop() {
|
269 |
+
clear();
|
270 |
+
|
271 |
+
$events
|
272 |
+
.unbind(event_complete, set)
|
273 |
+
.unbind(event_load, clear);
|
274 |
+
|
275 |
+
$slideshow
|
276 |
+
.html(settings.slideshowStart)
|
277 |
+
.unbind(click)
|
278 |
+
.one(click, function () {
|
279 |
+
publicMethod.next();
|
280 |
+
start();
|
281 |
+
});
|
282 |
+
|
283 |
+
$box.removeClass(className + "on").addClass(className + "off");
|
284 |
+
}
|
285 |
+
|
286 |
+
function reset() {
|
287 |
+
active = false;
|
288 |
+
$slideshow.hide();
|
289 |
+
clear();
|
290 |
+
$events
|
291 |
+
.unbind(event_complete, set)
|
292 |
+
.unbind(event_load, clear);
|
293 |
$box.removeClass(className + "off " + className + "on");
|
294 |
}
|
295 |
+
|
296 |
+
return function(){
|
297 |
+
if (active) {
|
298 |
+
if (!settings.slideshow) {
|
299 |
+
$events.unbind(event_cleanup, reset);
|
300 |
+
reset();
|
301 |
+
}
|
302 |
+
} else {
|
303 |
+
if (settings.slideshow && $related[1]) {
|
304 |
+
active = true;
|
305 |
+
$events.one(event_cleanup, reset);
|
306 |
+
if (settings.slideshowAuto) {
|
307 |
+
start();
|
308 |
+
} else {
|
309 |
+
stop();
|
310 |
+
}
|
311 |
+
$slideshow.show();
|
312 |
+
}
|
313 |
+
}
|
314 |
+
};
|
315 |
+
|
316 |
+
}());
|
317 |
+
|
318 |
|
319 |
function launch(target) {
|
320 |
if (!closing) {
|
333 |
relRelated;
|
334 |
|
335 |
if (data) {
|
336 |
+
relRelated = $(this).data('rel') || data.rel || this.rel;
|
337 |
}
|
338 |
|
339 |
return (relRelated === settings.rel);
|
340 |
});
|
341 |
index = $related.index(element);
|
342 |
|
343 |
+
// Check direct calls to Colorbox.
|
344 |
if (index === -1) {
|
345 |
$related = $related.add(element);
|
346 |
index = $related.length - 1;
|
347 |
}
|
348 |
}
|
349 |
|
350 |
+
$overlay.css({
|
351 |
+
opacity: parseFloat(settings.opacity),
|
352 |
+
cursor: settings.overlayClose ? "pointer" : "auto",
|
353 |
+
visibility: 'visible'
|
354 |
+
}).show();
|
355 |
+
|
356 |
+
|
357 |
+
if (className) {
|
358 |
+
$box.add($overlay).removeClass(className);
|
359 |
+
}
|
360 |
+
if (settings.className) {
|
361 |
+
$box.add($overlay).addClass(settings.className);
|
362 |
+
}
|
363 |
+
className = settings.className;
|
364 |
+
|
365 |
+
if (settings.closeButton) {
|
366 |
+
$close.html(settings.close).appendTo($content);
|
367 |
+
} else {
|
368 |
+
$close.appendTo('<div/>');
|
369 |
+
}
|
370 |
+
|
371 |
if (!open) {
|
372 |
open = active = true; // Prevents the page-change action from queuing up if the visitor holds down the left or right keys.
|
373 |
|
374 |
+
// Show colorbox so the sizes can be calculated in older versions of jQuery
|
375 |
+
$box.css({visibility:'hidden', display:'block'});
|
376 |
|
377 |
+
$loaded = $tag(div, 'LoadedContent', 'width:0; height:0; overflow:hidden');
|
378 |
+
$content.css({width:'', height:''}).append($loaded);
|
379 |
+
|
380 |
+
// Cache values needed for size calculations
|
381 |
+
interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height();
|
382 |
+
interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width();
|
383 |
+
loadedHeight = $loaded.outerHeight(true);
|
384 |
+
loadedWidth = $loaded.outerWidth(true);
|
385 |
+
|
386 |
+
// Opens inital empty Colorbox prior to content being loaded.
|
387 |
settings.w = setSize(settings.initialWidth, 'x');
|
388 |
settings.h = setSize(settings.initialHeight, 'y');
|
389 |
+
$loaded.css({width:'', height:settings.h});
|
390 |
publicMethod.position();
|
391 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
trigger(event_open, settings.onOpen);
|
393 |
|
394 |
$groupControls.add($title).hide();
|
395 |
+
|
396 |
+
$box.focus();
|
397 |
|
398 |
+
if (settings.trapFocus) {
|
399 |
+
// Confine focus to the modal
|
400 |
+
// Uses event capturing that is not supported in IE8-
|
401 |
+
if (document.addEventListener) {
|
402 |
+
|
403 |
+
document.addEventListener('focus', trapFocus, true);
|
404 |
+
|
405 |
+
$events.one(event_closed, function () {
|
406 |
+
document.removeEventListener('focus', trapFocus, true);
|
407 |
+
});
|
408 |
+
}
|
409 |
+
}
|
410 |
+
|
411 |
+
// Return focus on closing
|
412 |
+
if (settings.returnFocus) {
|
413 |
+
$events.one(event_closed, function () {
|
414 |
+
$(element).focus();
|
415 |
+
});
|
416 |
+
}
|
417 |
}
|
418 |
+
load();
|
|
|
419 |
}
|
420 |
}
|
421 |
|
422 |
+
// Colorbox's markup needs to be added to the DOM prior to being called
|
423 |
// so that the browser will go ahead and load the CSS background images.
|
424 |
function appendHTML() {
|
425 |
if (!$box && document.body) {
|
426 |
init = false;
|
|
|
427 |
$window = $(window);
|
428 |
+
$box = $tag(div).attr({
|
429 |
+
id: colorbox,
|
430 |
+
'class': $.support.opacity === false ? prefix + 'IE' : '', // class for optional IE8 & lower targeted CSS.
|
431 |
+
role: 'dialog',
|
432 |
+
tabindex: '-1'
|
433 |
+
}).hide();
|
434 |
+
$overlay = $tag(div, "Overlay").hide();
|
435 |
+
$loadingOverlay = $([$tag(div, "LoadingOverlay")[0],$tag(div, "LoadingGraphic")[0]]);
|
436 |
$wrap = $tag(div, "Wrapper");
|
437 |
$content = $tag(div, "Content").append(
|
|
|
438 |
$title = $tag(div, "Title"),
|
439 |
$current = $tag(div, "Current"),
|
440 |
+
$prev = $('<button type="button"/>').attr({id:prefix+'Previous'}),
|
441 |
+
$next = $('<button type="button"/>').attr({id:prefix+'Next'}),
|
442 |
+
$slideshow = $tag('button', "Slideshow"),
|
443 |
+
$loadingOverlay
|
444 |
);
|
445 |
+
|
446 |
+
$close = $('<button type="button"/>').attr({id:prefix+'Close'});
|
447 |
|
448 |
+
$wrap.append( // The 3x3 Grid that makes up Colorbox
|
449 |
$tag(div).append(
|
450 |
$tag(div, "TopLeft"),
|
451 |
$topBorder = $tag(div, "TopCenter"),
|
463 |
)
|
464 |
).find('div div').css({'float': 'left'});
|
465 |
|
466 |
+
$loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;');
|
467 |
|
468 |
$groupControls = $next.add($prev).add($current).add($slideshow);
|
469 |
|
471 |
}
|
472 |
}
|
473 |
|
474 |
+
// Add Colorbox's event bindings
|
475 |
function addBindings() {
|
476 |
+
function clickHandler(e) {
|
477 |
+
// ignore non-left-mouse-clicks and clicks modified with ctrl / command, shift, or alt.
|
478 |
+
// See: http://jacklmoore.com/notes/click-events/
|
479 |
+
if (!(e.which > 1 || e.shiftKey || e.altKey || e.metaKey || e.ctrlKey)) {
|
480 |
+
e.preventDefault();
|
481 |
+
launch(this);
|
482 |
+
}
|
483 |
+
}
|
484 |
+
|
485 |
if ($box) {
|
486 |
if (!init) {
|
487 |
init = true;
|
488 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
// Anonymous functions here keep the public method from being cached, thereby allowing them to be redefined on the fly.
|
490 |
$next.click(function () {
|
491 |
publicMethod.next();
|
509 |
e.preventDefault();
|
510 |
publicMethod.close();
|
511 |
}
|
512 |
+
if (open && settings.arrowKey && $related[1] && !e.altKey) {
|
513 |
if (key === 37) {
|
514 |
e.preventDefault();
|
515 |
$prev.click();
|
520 |
}
|
521 |
});
|
522 |
|
523 |
+
if ($.isFunction($.fn.on)) {
|
524 |
+
// For jQuery 1.7+
|
525 |
+
$(document).on('click.'+prefix, '.'+boxElement, clickHandler);
|
526 |
+
} else {
|
527 |
+
// For jQuery 1.3.x -> 1.6.x
|
528 |
+
// This code is never reached in jQuery 1.9, so do not contact me about 'live' being removed.
|
529 |
+
// This is not here for jQuery 1.9, it's here for legacy users.
|
530 |
+
$('.'+boxElement).live('click.'+prefix, clickHandler);
|
531 |
+
}
|
532 |
}
|
533 |
return true;
|
534 |
}
|
535 |
return false;
|
536 |
}
|
537 |
|
538 |
+
// Don't do anything if Colorbox already exists.
|
539 |
if ($.colorbox) {
|
540 |
return;
|
541 |
}
|
546 |
|
547 |
// ****************
|
548 |
// PUBLIC FUNCTIONS
|
549 |
+
// Usage format: $.colorbox.close();
|
550 |
+
// Usage from within an iframe: parent.jQuery.colorbox.close();
|
551 |
// ****************
|
552 |
|
553 |
publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) {
|
558 |
appendHTML();
|
559 |
|
560 |
if (addBindings()) {
|
561 |
+
if ($.isFunction($this)) { // assume a call to $.colorbox
|
|
|
|
|
|
|
|
|
562 |
$this = $('<a/>');
|
563 |
+
options.open = true;
|
564 |
+
} else if (!$this[0]) { // colorbox being applied to empty collection
|
565 |
+
return $this;
|
566 |
}
|
567 |
|
568 |
if (callback) {
|
598 |
scrollTop = $window.scrollTop();
|
599 |
scrollLeft = $window.scrollLeft();
|
600 |
|
601 |
+
if (settings.fixed) {
|
602 |
offset.top -= scrollTop;
|
603 |
offset.left -= scrollLeft;
|
604 |
$box.css({position: 'fixed'});
|
610 |
|
611 |
// keeps the top and left positions within the browser's viewport.
|
612 |
if (settings.right !== false) {
|
613 |
+
left += Math.max($window.width() - settings.w - loadedWidth - interfaceWidth - setSize(settings.right, 'x'), 0);
|
614 |
} else if (settings.left !== false) {
|
615 |
left += setSize(settings.left, 'x');
|
616 |
} else {
|
617 |
+
left += Math.round(Math.max($window.width() - settings.w - loadedWidth - interfaceWidth, 0) / 2);
|
618 |
}
|
619 |
|
620 |
if (settings.bottom !== false) {
|
621 |
+
top += Math.max(winheight() - settings.h - loadedHeight - interfaceHeight - setSize(settings.bottom, 'y'), 0);
|
622 |
} else if (settings.top !== false) {
|
623 |
top += setSize(settings.top, 'y');
|
624 |
} else {
|
625 |
+
top += Math.round(Math.max(winheight() - settings.h - loadedHeight - interfaceHeight, 0) / 2);
|
626 |
}
|
627 |
|
628 |
+
$box.css({top: offset.top, left: offset.left, visibility:'visible'});
|
|
|
|
|
|
|
629 |
|
630 |
// this gives the wrapper plenty of breathing room so it's floated contents can move around smoothly,
|
631 |
// but it has to be shrank down around the size of div#colorbox when it's done. If not,
|
632 |
// it can invoke an obscure IE bug when using iframes.
|
633 |
$wrap[0].style.width = $wrap[0].style.height = "9999px";
|
634 |
|
635 |
+
function modalDimensions() {
|
636 |
+
$topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width = (parseInt($box[0].style.width,10) - interfaceWidth)+'px';
|
637 |
+
$content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height = (parseInt($box[0].style.height,10) - interfaceHeight)+'px';
|
638 |
}
|
639 |
|
640 |
+
css = {width: settings.w + loadedWidth + interfaceWidth, height: settings.h + loadedHeight + interfaceHeight, top: top, left: left};
|
641 |
+
|
642 |
+
// setting the speed to 0 if the content hasn't changed size or position
|
643 |
+
if (speed) {
|
644 |
+
var tempSpeed = 0;
|
645 |
+
$.each(css, function(i){
|
646 |
+
if (css[i] !== previousCSS[i]) {
|
647 |
+
tempSpeed = speed;
|
648 |
+
return;
|
649 |
+
}
|
650 |
+
});
|
651 |
+
speed = tempSpeed;
|
652 |
+
}
|
653 |
+
|
654 |
+
previousCSS = css;
|
655 |
+
|
656 |
+
if (!speed) {
|
657 |
$box.css(css);
|
658 |
}
|
659 |
+
|
660 |
$box.dequeue().animate(css, {
|
661 |
+
duration: speed || 0,
|
662 |
complete: function () {
|
663 |
+
modalDimensions();
|
664 |
|
665 |
active = false;
|
666 |
|
678 |
loadedCallback();
|
679 |
}
|
680 |
},
|
681 |
+
step: modalDimensions
|
|
|
|
|
682 |
});
|
683 |
};
|
684 |
|
685 |
publicMethod.resize = function (options) {
|
686 |
+
var scrolltop;
|
687 |
+
|
688 |
if (open) {
|
689 |
options = options || {};
|
690 |
|
691 |
if (options.width) {
|
692 |
settings.w = setSize(options.width, 'x') - loadedWidth - interfaceWidth;
|
693 |
}
|
694 |
+
|
695 |
if (options.innerWidth) {
|
696 |
settings.w = setSize(options.innerWidth, 'x');
|
697 |
}
|
698 |
+
|
699 |
$loaded.css({width: settings.w});
|
700 |
|
701 |
if (options.height) {
|
702 |
settings.h = setSize(options.height, 'y') - loadedHeight - interfaceHeight;
|
703 |
}
|
704 |
+
|
705 |
if (options.innerHeight) {
|
706 |
settings.h = setSize(options.innerHeight, 'y');
|
707 |
}
|
708 |
+
|
709 |
if (!options.innerHeight && !options.height) {
|
710 |
+
scrolltop = $loaded.scrollTop();
|
711 |
$loaded.css({height: "auto"});
|
712 |
settings.h = $loaded.height();
|
713 |
}
|
714 |
+
|
715 |
$loaded.css({height: settings.h});
|
716 |
+
|
717 |
+
if(scrolltop) {
|
718 |
+
$loaded.scrollTop(scrolltop);
|
719 |
+
}
|
720 |
|
721 |
publicMethod.position(settings.transition === "none" ? 0 : settings.speed);
|
722 |
}
|
728 |
}
|
729 |
|
730 |
var callback, speed = settings.transition === "none" ? 0 : settings.speed;
|
731 |
+
|
732 |
+
$loaded.empty().remove(); // Using empty first may prevent some IE7 issues.
|
733 |
+
|
734 |
$loaded = $tag(div, 'LoadedContent').append(object);
|
735 |
|
736 |
function getWidth() {
|
753 |
$loadingBay.hide();
|
754 |
|
755 |
// floating the IMG removes the bottom line-height and fixed a problem where IE miscalculates the width of the parent element as 100% of the document width.
|
|
|
756 |
|
757 |
$(photo).css({'float': 'none'});
|
758 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
759 |
callback = function () {
|
760 |
+
var total = $related.length,
|
|
|
|
|
761 |
iframe,
|
762 |
frameBorder = 'frameBorder',
|
763 |
allowTransparency = 'allowTransparency',
|
764 |
+
complete;
|
|
|
|
|
|
|
765 |
|
766 |
if (!open) {
|
767 |
return;
|
768 |
}
|
769 |
|
770 |
+
function removeFilter() { // Needed for IE7 & IE8 in versions of jQuery prior to 1.7.2
|
771 |
+
if ($.support.opacity === false) {
|
772 |
$box[0].style.removeAttribute('filter');
|
773 |
}
|
774 |
}
|
775 |
|
776 |
complete = function () {
|
777 |
clearTimeout(loadingTimer);
|
778 |
+
$loadingOverlay.hide();
|
|
|
779 |
trigger(event_complete, settings.onComplete);
|
780 |
};
|
781 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
782 |
|
783 |
$title.html(settings.title).add($loaded).show();
|
784 |
|
790 |
$next[(settings.loop || index < total - 1) ? "show" : "hide"]().html(settings.next);
|
791 |
$prev[(settings.loop || index) ? "show" : "hide"]().html(settings.previous);
|
792 |
|
793 |
+
slideshow();
|
|
|
|
|
794 |
|
795 |
// Preloads images within a rel group
|
796 |
if (settings.preloading) {
|
797 |
+
$.each([getIndex(-1), getIndex(1)], function(){
|
798 |
+
var src,
|
799 |
+
img,
|
800 |
+
i = $related[this],
|
801 |
+
data = $.data(i, colorbox);
|
802 |
+
|
|
|
803 |
if (data && data.href) {
|
804 |
src = data.href;
|
805 |
if ($.isFunction(src)) {
|
806 |
src = src.call(i);
|
807 |
}
|
808 |
} else {
|
809 |
+
src = $(i).attr('href');
|
810 |
}
|
811 |
|
812 |
+
if (src && isImage(data, src)) {
|
813 |
+
src = retinaUrl(data, src);
|
814 |
+
img = document.createElement('img');
|
815 |
img.src = src;
|
816 |
}
|
817 |
+
});
|
818 |
}
|
819 |
} else {
|
820 |
$groupControls.hide();
|
826 |
if (frameBorder in iframe) {
|
827 |
iframe[frameBorder] = 0;
|
828 |
}
|
829 |
+
|
830 |
if (allowTransparency in iframe) {
|
831 |
iframe[allowTransparency] = "true";
|
832 |
}
|
833 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
834 |
if (!settings.scrolling) {
|
835 |
iframe.scrolling = "no";
|
836 |
}
|
837 |
+
|
838 |
+
$(iframe)
|
839 |
+
.attr({
|
840 |
+
src: settings.href,
|
841 |
+
name: (new Date()).getTime(), // give the iframe a unique name to prevent caching
|
842 |
+
'class': prefix + 'Iframe',
|
843 |
+
allowFullScreen : true, // allow HTML5 video to go fullscreen
|
844 |
+
webkitAllowFullScreen : true,
|
845 |
+
mozallowfullscreen : true
|
846 |
+
})
|
847 |
+
.one('load', complete)
|
848 |
+
.appendTo($loaded);
|
849 |
+
|
850 |
+
$events.one(event_purge, function () {
|
851 |
iframe.src = "//about:blank";
|
852 |
});
|
853 |
+
|
854 |
+
if (settings.fastIframe) {
|
855 |
+
$(iframe).trigger('load');
|
856 |
+
}
|
857 |
} else {
|
858 |
complete();
|
859 |
}
|
874 |
}
|
875 |
};
|
876 |
|
877 |
+
function load () {
|
878 |
+
var href, setResize, prep = publicMethod.prep, $inline, request = ++requests;
|
879 |
|
880 |
active = true;
|
881 |
|
883 |
|
884 |
element = $related[index];
|
885 |
|
886 |
+
makeSettings();
|
|
|
|
|
887 |
|
888 |
trigger(event_purge);
|
889 |
|
915 |
href = settings.href;
|
916 |
|
917 |
loadingTimer = setTimeout(function () {
|
918 |
+
$loadingOverlay.show();
|
919 |
}, 100);
|
920 |
|
921 |
if (settings.inline) {
|
922 |
// Inserts an empty placeholder where inline content is being pulled from.
|
923 |
+
// An event is bound to put inline content back when Colorbox closes or loads new content.
|
924 |
+
$inline = $tag(div).hide().insertBefore($(href)[0]);
|
925 |
+
|
926 |
+
$events.one(event_purge, function () {
|
927 |
+
$inline.replaceWith($loaded.children());
|
928 |
});
|
929 |
+
|
930 |
prep($(href));
|
931 |
} else if (settings.iframe) {
|
932 |
// IFrame element won't be added to the DOM until it is ready to be displayed,
|
934 |
prep(" ");
|
935 |
} else if (settings.html) {
|
936 |
prep(settings.html);
|
937 |
+
} else if (isImage(settings, href)) {
|
938 |
+
|
939 |
+
href = retinaUrl(settings, href);
|
940 |
+
|
941 |
+
photo = document.createElement('img');
|
942 |
+
|
943 |
+
$(photo)
|
944 |
.addClass(prefix + 'Photo')
|
945 |
+
.bind('error',function () {
|
946 |
settings.title = false;
|
947 |
prep($tag(div, 'Error').html(settings.imgError));
|
948 |
})
|
949 |
+
.one('load', function () {
|
950 |
var percent;
|
951 |
+
|
952 |
+
if (request !== requests) {
|
953 |
+
return;
|
954 |
+
}
|
955 |
+
|
956 |
+
$.each(['alt', 'longdesc', 'aria-describedby'], function(i,val){
|
957 |
+
var attr = $(element).attr(val) || $(element).attr('data-'+val);
|
958 |
+
if (attr) {
|
959 |
+
photo.setAttribute(val, attr);
|
960 |
+
}
|
961 |
+
});
|
962 |
+
|
963 |
+
if (settings.retinaImage && window.devicePixelRatio > 1) {
|
964 |
+
photo.height = photo.height / window.devicePixelRatio;
|
965 |
+
photo.width = photo.width / window.devicePixelRatio;
|
966 |
+
}
|
967 |
+
|
968 |
if (settings.scalePhotos) {
|
969 |
setResize = function () {
|
970 |
photo.height -= photo.height * percent;
|
981 |
}
|
982 |
|
983 |
if (settings.h) {
|
984 |
+
photo.style.marginTop = Math.max(settings.mh - photo.height, 0) / 2 + 'px';
|
985 |
}
|
986 |
|
987 |
if ($related[1] && (settings.loop || $related[index + 1])) {
|
990 |
publicMethod.next();
|
991 |
};
|
992 |
}
|
993 |
+
|
994 |
+
photo.style.width = photo.width + 'px';
|
995 |
+
photo.style.height = photo.height + 'px';
|
996 |
+
|
|
|
997 |
setTimeout(function () { // A pause because Chrome will sometimes report a 0 by 0 size otherwise.
|
998 |
prep(photo);
|
999 |
}, 1);
|
1003 |
photo.src = href;
|
1004 |
}, 1);
|
1005 |
} else if (href) {
|
1006 |
+
$loadingBay.load(href, settings.data, function (data, status) {
|
1007 |
+
if (request === requests) {
|
1008 |
+
prep(status === 'error' ? $tag(div, 'Error').html(settings.xhrError) : $(this).contents());
|
1009 |
+
}
|
1010 |
});
|
1011 |
}
|
1012 |
+
}
|
1013 |
|
1014 |
// Navigates to the next page/image in a set.
|
1015 |
publicMethod.next = function () {
|
1016 |
if (!active && $related[1] && (settings.loop || $related[index + 1])) {
|
1017 |
index = getIndex(1);
|
1018 |
+
launch($related[index]);
|
1019 |
}
|
1020 |
};
|
1021 |
|
1022 |
publicMethod.prev = function () {
|
1023 |
if (!active && $related[1] && (settings.loop || index)) {
|
1024 |
index = getIndex(-1);
|
1025 |
+
launch($related[index]);
|
1026 |
}
|
1027 |
};
|
1028 |
|
1029 |
+
// Note: to use this within an iframe use the following format: parent.jQuery.colorbox.close();
|
1030 |
publicMethod.close = function () {
|
1031 |
if (open && !closing) {
|
1032 |
|
1036 |
|
1037 |
trigger(event_cleanup, settings.onCleanup);
|
1038 |
|
1039 |
+
$window.unbind('.' + prefix);
|
1040 |
|
1041 |
+
$overlay.fadeTo(settings.fadeOut || 0, 0);
|
1042 |
|
1043 |
+
$box.stop().fadeTo(settings.fadeOut || 0, 0, function () {
|
1044 |
|
1045 |
$box.add($overlay).css({'opacity': 1, cursor: 'auto'}).hide();
|
1046 |
|
1047 |
trigger(event_purge);
|
1048 |
|
1049 |
+
$loaded.empty().remove(); // Using empty first may prevent some IE7 issues.
|
1050 |
|
1051 |
setTimeout(function () {
|
1052 |
closing = false;
|
1056 |
}
|
1057 |
};
|
1058 |
|
1059 |
+
// Removes changes Colorbox made to the document, but does not remove the plugin.
|
|
|
1060 |
publicMethod.remove = function () {
|
1061 |
+
if (!$box) { return; }
|
1062 |
+
|
1063 |
+
$box.stop();
|
1064 |
+
$.colorbox.close();
|
1065 |
+
$box.stop().remove();
|
1066 |
+
$overlay.remove();
|
1067 |
+
closing = false;
|
1068 |
$box = null;
|
1069 |
$('.' + boxElement)
|
1070 |
.removeData(colorbox)
|
1071 |
+
.removeClass(boxElement);
|
1072 |
+
|
1073 |
+
$(document).unbind('click.'+prefix);
|
1074 |
};
|
1075 |
|
1076 |
+
// A method for fetching the current element Colorbox is referencing.
|
1077 |
// returns a jQuery object.
|
1078 |
publicMethod.element = function () {
|
1079 |
return $(element);
|
1081 |
|
1082 |
publicMethod.settings = defaults;
|
1083 |
|
1084 |
+
}(jQuery, document, window));
|
localization/jquery-colorbox-cs_CZ.mo
ADDED
Binary file
|
localization/jquery-colorbox-cs_CZ.po
ADDED
@@ -0,0 +1,646 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: jQuery-Colorbox\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-11-19 00:22+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-11-20 09:53+0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: DWeis\n"
|
9 |
+
"Language: cs_CZ\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Generator: Poedit 1.5.4\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
17 |
+
|
18 |
+
#: jquery-colorbox.php:37
|
19 |
+
msgid "jQuery Colorbox"
|
20 |
+
msgstr "jQuery Colorbox"
|
21 |
+
|
22 |
+
#: jquery-colorbox.php:98
|
23 |
+
msgid "Theme #1"
|
24 |
+
msgstr "Téma #1"
|
25 |
+
|
26 |
+
#: jquery-colorbox.php:99
|
27 |
+
msgid "Theme #2"
|
28 |
+
msgstr "Téma #2"
|
29 |
+
|
30 |
+
#: jquery-colorbox.php:100
|
31 |
+
msgid "Theme #3"
|
32 |
+
msgstr "Téma #3"
|
33 |
+
|
34 |
+
#: jquery-colorbox.php:101
|
35 |
+
msgid "Theme #4"
|
36 |
+
msgstr "Téma #4"
|
37 |
+
|
38 |
+
#: jquery-colorbox.php:102
|
39 |
+
msgid "Theme #5"
|
40 |
+
msgstr "Téma #5"
|
41 |
+
|
42 |
+
#: jquery-colorbox.php:103
|
43 |
+
msgid "Theme #6"
|
44 |
+
msgstr "Téma #6"
|
45 |
+
|
46 |
+
#: jquery-colorbox.php:104
|
47 |
+
msgid "Theme #7"
|
48 |
+
msgstr "Téma #7"
|
49 |
+
|
50 |
+
#: jquery-colorbox.php:105
|
51 |
+
msgid "Theme #8"
|
52 |
+
msgstr "Téma #8"
|
53 |
+
|
54 |
+
#: jquery-colorbox.php:106
|
55 |
+
msgid "Theme #9"
|
56 |
+
msgstr "Téma #9"
|
57 |
+
|
58 |
+
#: jquery-colorbox.php:107
|
59 |
+
msgid "Theme #10"
|
60 |
+
msgstr "Téma #10"
|
61 |
+
|
62 |
+
#: jquery-colorbox.php:108
|
63 |
+
msgid "Theme #11"
|
64 |
+
msgstr "Téma #11"
|
65 |
+
|
66 |
+
#: jquery-colorbox.php:114
|
67 |
+
msgid "Theme #12"
|
68 |
+
msgstr "Téma #12"
|
69 |
+
|
70 |
+
#: jquery-colorbox.php:115
|
71 |
+
msgid "Theme #13"
|
72 |
+
msgstr "Téma #13"
|
73 |
+
|
74 |
+
#: jquery-colorbox.php:116
|
75 |
+
msgid "Theme #14"
|
76 |
+
msgstr "Téma #14"
|
77 |
+
|
78 |
+
#: jquery-colorbox.php:117
|
79 |
+
msgid "Theme #15"
|
80 |
+
msgstr "Téma #15"
|
81 |
+
|
82 |
+
#: jquery-colorbox.php:122
|
83 |
+
msgid "percent"
|
84 |
+
msgstr "procent"
|
85 |
+
|
86 |
+
#: jquery-colorbox.php:123 includes/settings-page/sp-colorbox-settings.php:248
|
87 |
+
#: includes/settings-page/sp-colorbox-settings.php:257
|
88 |
+
msgid "pixels"
|
89 |
+
msgstr "pixelů"
|
90 |
+
|
91 |
+
#: jquery-colorbox.php:128
|
92 |
+
msgid "elastic"
|
93 |
+
msgstr "elastický"
|
94 |
+
|
95 |
+
#: jquery-colorbox.php:129
|
96 |
+
msgid "fade"
|
97 |
+
msgstr "slábnout"
|
98 |
+
|
99 |
+
#: jquery-colorbox.php:130
|
100 |
+
msgid "none"
|
101 |
+
msgstr "žádný"
|
102 |
+
|
103 |
+
#: includes/jquery-colorbox-backend.php:84
|
104 |
+
#, php-format
|
105 |
+
msgid "Successfully updated %1$s settings."
|
106 |
+
msgstr "Úspěšně aktualizováné %1$s nastavení."
|
107 |
+
|
108 |
+
#: includes/jquery-colorbox-backend.php:86
|
109 |
+
#, php-format
|
110 |
+
msgid "%1$s settings were successfully deleted."
|
111 |
+
msgstr "%1$s nastavení bylo úspěšně vymazáno."
|
112 |
+
|
113 |
+
#: includes/jquery-colorbox-backend.php:111
|
114 |
+
msgid "needs attention: the plugin is not activated to work for all images."
|
115 |
+
msgstr "vyžaduje pozornost: plugin není aktivován pro všechny obrázky."
|
116 |
+
|
117 |
+
#: includes/jquery-colorbox-backend.php:132
|
118 |
+
msgid "Settings"
|
119 |
+
msgstr "Nastavení"
|
120 |
+
|
121 |
+
#: includes/jquery-colorbox-backend.php:154
|
122 |
+
msgid "Did not update settings, you do not have the necessary rights."
|
123 |
+
msgstr "Nastavení nebylo aktualizováno, nemáte dostatočná oprávnění."
|
124 |
+
|
125 |
+
#: includes/jquery-colorbox-backend.php:187
|
126 |
+
#, php-format
|
127 |
+
msgid ""
|
128 |
+
"Did not delete %1$s settings. Either you dont have the nececssary rights or "
|
129 |
+
"you didnt check the checkbox."
|
130 |
+
msgstr ""
|
131 |
+
"Nastavení %1$s nebylo vymazáno. Buď nemáte potřebná oprávnění nebo nebylo "
|
132 |
+
"zaškrtnuto vyžadované políčko."
|
133 |
+
|
134 |
+
#: includes/jquery-colorbox-frontend.php:65
|
135 |
+
msgid "Using"
|
136 |
+
msgstr "S použitím"
|
137 |
+
|
138 |
+
#: includes/jquery-colorbox-frontend.php:175
|
139 |
+
msgid "close"
|
140 |
+
msgstr "zavřít"
|
141 |
+
|
142 |
+
#: includes/jquery-colorbox-frontend.php:176
|
143 |
+
msgid "next"
|
144 |
+
msgstr "další"
|
145 |
+
|
146 |
+
#: includes/jquery-colorbox-frontend.php:177
|
147 |
+
msgid "previous"
|
148 |
+
msgstr "předchozí"
|
149 |
+
|
150 |
+
#: includes/jquery-colorbox-frontend.php:178
|
151 |
+
msgid "start slideshow"
|
152 |
+
msgstr "Spustit prezentaci"
|
153 |
+
|
154 |
+
#: includes/jquery-colorbox-frontend.php:179
|
155 |
+
msgid "stop slideshow"
|
156 |
+
msgstr "Zastavit prezentaci"
|
157 |
+
|
158 |
+
#: includes/jquery-colorbox-frontend.php:180
|
159 |
+
msgid "{current} of {total} images"
|
160 |
+
msgstr "{current} z {total} obrázků"
|
161 |
+
|
162 |
+
#: includes/jquery-colorbox-frontend.php:181
|
163 |
+
msgid "This content failed to load."
|
164 |
+
msgstr "Selhalo načtení tohoto obsahu."
|
165 |
+
|
166 |
+
#: includes/jquery-colorbox-frontend.php:182
|
167 |
+
msgid "This image failed to load."
|
168 |
+
msgstr "Selhalo načtení tohoto obrázku."
|
169 |
+
|
170 |
+
#: includes/settings-page.php:18
|
171 |
+
#, php-format
|
172 |
+
msgid "%1$s Settings"
|
173 |
+
msgstr "%1$s Nastavení"
|
174 |
+
|
175 |
+
#: includes/settings-page/sp-colorbox-settings.php:13
|
176 |
+
msgid "Colorbox settings"
|
177 |
+
msgstr "ColorBox nastavení"
|
178 |
+
|
179 |
+
#: includes/settings-page/sp-colorbox-settings.php:20
|
180 |
+
msgid "Theme"
|
181 |
+
msgstr "Téma"
|
182 |
+
|
183 |
+
#: includes/settings-page/sp-colorbox-settings.php:32
|
184 |
+
msgid "Select the theme you want to use on your blog."
|
185 |
+
msgstr "Vyberte téma, které chcete použít."
|
186 |
+
|
187 |
+
#: includes/settings-page/sp-colorbox-settings.php:37
|
188 |
+
msgid "Theme screenshot"
|
189 |
+
msgstr "Náhled zvoleného tématu"
|
190 |
+
|
191 |
+
#: includes/settings-page/sp-colorbox-settings.php:48
|
192 |
+
msgid "Add Slideshow to groups"
|
193 |
+
msgstr "Přidat prezentaci u skupin"
|
194 |
+
|
195 |
+
#: includes/settings-page/sp-colorbox-settings.php:53
|
196 |
+
#, php-format
|
197 |
+
msgid "Add Slideshow functionality for %1$s Groups"
|
198 |
+
msgstr ""
|
199 |
+
"Přidá funkci prezentace %1$s na skupiny obrázků (skupina = když je více "
|
200 |
+
"obrázků pro zobrazení)"
|
201 |
+
|
202 |
+
#: includes/settings-page/sp-colorbox-settings.php:58
|
203 |
+
msgid "Start Slideshow automatically"
|
204 |
+
msgstr "Spustit prezentaci automaticky"
|
205 |
+
|
206 |
+
#: includes/settings-page/sp-colorbox-settings.php:63
|
207 |
+
#, php-format
|
208 |
+
msgid ""
|
209 |
+
"Start Slideshow automatically if slideshow functionality is added to %1$s "
|
210 |
+
"Groups"
|
211 |
+
msgstr ""
|
212 |
+
"Spustí prezentaci automaticky, pokud funkce prezentace %1$s na skupiny je "
|
213 |
+
"zapnutá."
|
214 |
+
|
215 |
+
#: includes/settings-page/sp-colorbox-settings.php:68
|
216 |
+
msgid "Speed of the slideshow"
|
217 |
+
msgstr "Rychlost prezentace"
|
218 |
+
|
219 |
+
#: includes/settings-page/sp-colorbox-settings.php:71
|
220 |
+
#: includes/settings-page/sp-colorbox-settings.php:313
|
221 |
+
msgid "milliseconds"
|
222 |
+
msgstr "milisekund"
|
223 |
+
|
224 |
+
#: includes/settings-page/sp-colorbox-settings.php:72
|
225 |
+
msgid "Sets the speed of the slideshow, in milliseconds"
|
226 |
+
msgstr "Nastaví rychlost prezentace, v milisekundách"
|
227 |
+
|
228 |
+
#: includes/settings-page/sp-colorbox-settings.php:77
|
229 |
+
msgid "Disable loop"
|
230 |
+
msgstr "Zakázat opakování (smyčku)"
|
231 |
+
|
232 |
+
#: includes/settings-page/sp-colorbox-settings.php:81
|
233 |
+
msgid "Disable looping through image groups"
|
234 |
+
msgstr "Zakázat opakování u skupin obrázků"
|
235 |
+
|
236 |
+
#: includes/settings-page/sp-colorbox-settings.php:86
|
237 |
+
msgid "Disable keys"
|
238 |
+
msgstr "Zakázat klávesy"
|
239 |
+
|
240 |
+
#: includes/settings-page/sp-colorbox-settings.php:90
|
241 |
+
msgid ""
|
242 |
+
"Disable ESC to close Colorbox and arrow keys to go to next and previous "
|
243 |
+
"images"
|
244 |
+
msgstr ""
|
245 |
+
"Zakáže ESC pro zavření ColorBoxu a klávesy se šipkou pro přechod na další a "
|
246 |
+
"předchozí obrázek"
|
247 |
+
|
248 |
+
#: includes/settings-page/sp-colorbox-settings.php:95
|
249 |
+
msgid "Maximum width of an image"
|
250 |
+
msgstr "Maximální šířka obrázku"
|
251 |
+
|
252 |
+
#: includes/settings-page/sp-colorbox-settings.php:100
|
253 |
+
#: includes/settings-page/sp-colorbox-settings.php:150
|
254 |
+
#: includes/settings-page/sp-colorbox-settings.php:200
|
255 |
+
msgid "Do not set width"
|
256 |
+
msgstr "Bez nastavení šířky"
|
257 |
+
|
258 |
+
#: includes/settings-page/sp-colorbox-settings.php:104
|
259 |
+
msgid "Set maximum width of an image"
|
260 |
+
msgstr "Nastavte maximální šířku pro obrázek"
|
261 |
+
|
262 |
+
#: includes/settings-page/sp-colorbox-settings.php:115
|
263 |
+
msgid ""
|
264 |
+
"Set the maximum width of the image in the Colorbox in relation to the "
|
265 |
+
"browser window in percent or pixels. If maximum width is not set, image is "
|
266 |
+
"as wide as the Colorbox"
|
267 |
+
msgstr ""
|
268 |
+
"Nastavte maximální šířku obrazu v ColorBoxu ve vztahu k oknu prohlížeče v "
|
269 |
+
"procentech nebo pixelech. Pokud maximální šířka není nastavena, obraz je "
|
270 |
+
"stejně široký jako ColorBox"
|
271 |
+
|
272 |
+
#: includes/settings-page/sp-colorbox-settings.php:120
|
273 |
+
msgid "Maximum height of an image"
|
274 |
+
msgstr "Maximální výška obrázku"
|
275 |
+
|
276 |
+
#: includes/settings-page/sp-colorbox-settings.php:125
|
277 |
+
#: includes/settings-page/sp-colorbox-settings.php:175
|
278 |
+
#: includes/settings-page/sp-colorbox-settings.php:225
|
279 |
+
msgid "Do not set height"
|
280 |
+
msgstr "Bez nastavení výšky"
|
281 |
+
|
282 |
+
#: includes/settings-page/sp-colorbox-settings.php:129
|
283 |
+
msgid "Set maximum height of an image"
|
284 |
+
msgstr "Nastavte maximální výšku pro obrázek"
|
285 |
+
|
286 |
+
#: includes/settings-page/sp-colorbox-settings.php:140
|
287 |
+
msgid ""
|
288 |
+
"Set the maximum height of the image in the Colorbox in relation to the "
|
289 |
+
"browser window to a value in percent or pixels. If maximum height is not "
|
290 |
+
"set, the image is as high as the Colorbox"
|
291 |
+
msgstr ""
|
292 |
+
"Nastavte maximální výšku obrázku v ColorBoxu ve vztahu k oknu prohlížeče na "
|
293 |
+
"hodnotu v procentech nebo pixelech. Pokud maximální výška není nastavena, "
|
294 |
+
"obraz je stejně vysoký jako ColorBox"
|
295 |
+
|
296 |
+
#: includes/settings-page/sp-colorbox-settings.php:145
|
297 |
+
msgid "Maximum width of the Colorbox"
|
298 |
+
msgstr "Maximální šířka ColorBoxu"
|
299 |
+
|
300 |
+
#: includes/settings-page/sp-colorbox-settings.php:154
|
301 |
+
#: includes/settings-page/sp-colorbox-settings.php:204
|
302 |
+
msgid "Set width of the Colorbox"
|
303 |
+
msgstr "Nastavte šířku pro ColorBox"
|
304 |
+
|
305 |
+
#: includes/settings-page/sp-colorbox-settings.php:165
|
306 |
+
#: includes/settings-page/sp-colorbox-settings.php:215
|
307 |
+
msgid ""
|
308 |
+
"Set the maximum width of the Colorbox itself in relation to the browser "
|
309 |
+
"window to a value between in percent or pixels. If the image is bigger than "
|
310 |
+
"the colorbox, scrollbars are displayed. If width is not set, the Colorbox "
|
311 |
+
"will be as wide as the picture in it"
|
312 |
+
msgstr ""
|
313 |
+
"Nastavte maximální šířku pro ColorBoxu ve vztahu k oknu prohlížeče na "
|
314 |
+
"hodnotu v procentech nebo pixelech. Pokud je obrázek větší než ColorBox, "
|
315 |
+
"jsou zobrazeny posuvníky. Pokud šířka je nastavena, bude ColorBox stejně "
|
316 |
+
"široký jako obrázek v něm"
|
317 |
+
|
318 |
+
#: includes/settings-page/sp-colorbox-settings.php:170
|
319 |
+
msgid "Maximum height of the Colorbox"
|
320 |
+
msgstr "Maximální výška ColorBoxu"
|
321 |
+
|
322 |
+
#: includes/settings-page/sp-colorbox-settings.php:179
|
323 |
+
#: includes/settings-page/sp-colorbox-settings.php:229
|
324 |
+
msgid "Set height of the Colorbox"
|
325 |
+
msgstr "Nastavte výšku pro ColorBox"
|
326 |
+
|
327 |
+
#: includes/settings-page/sp-colorbox-settings.php:190
|
328 |
+
#: includes/settings-page/sp-colorbox-settings.php:240
|
329 |
+
msgid ""
|
330 |
+
"Set the maximum height of the Colorbox itself in relation to the browser "
|
331 |
+
"window to a value between in percent or pixels. If the image is bigger than "
|
332 |
+
"the colorbox, scrollbars are displayed. If height is not set, the Colorbox "
|
333 |
+
"will be as high as the picture in it"
|
334 |
+
msgstr ""
|
335 |
+
"Nastavte maximální výšku pro ColorBox ve vztahu k oknu prohlížeče na hodnotu "
|
336 |
+
"v procentech nebo pixelech. Pokud je obrázek větší než ColorBox, jsou "
|
337 |
+
"zobrazeny posuvníky. Pokud výška je nastavena, bude ColorBox stejně vysoký "
|
338 |
+
"jako obrázek v něm"
|
339 |
+
|
340 |
+
#: includes/settings-page/sp-colorbox-settings.php:195
|
341 |
+
msgid "Maximum width of the Colorbox used for links"
|
342 |
+
msgstr "Maximální šířka ColorBoxu použita pro odkazy"
|
343 |
+
|
344 |
+
#: includes/settings-page/sp-colorbox-settings.php:220
|
345 |
+
msgid "Maximum height of the Colorbox used for links"
|
346 |
+
msgstr "Maximální výška ColorBoxu použita pro odkazy"
|
347 |
+
|
348 |
+
#: includes/settings-page/sp-colorbox-settings.php:245
|
349 |
+
msgid "Initial width of the Colorbox"
|
350 |
+
msgstr "Nezměněná šířka ColorBoxu"
|
351 |
+
|
352 |
+
#: includes/settings-page/sp-colorbox-settings.php:249
|
353 |
+
msgid "Set the maximum width of the Colorbox before the content is loaded"
|
354 |
+
msgstr "Nastavit maximální šířku Colorboxu před načtením obsahu"
|
355 |
+
|
356 |
+
#: includes/settings-page/sp-colorbox-settings.php:254
|
357 |
+
msgid "Initial height of the Colorbox"
|
358 |
+
msgstr "Nezměněná výška ColorBoxu"
|
359 |
+
|
360 |
+
#: includes/settings-page/sp-colorbox-settings.php:258
|
361 |
+
msgid "Set the maximum height of the Colorbox before the content is loaded"
|
362 |
+
msgstr "Nastavit maximální výšku Colorboxu před načtením obsahu"
|
363 |
+
|
364 |
+
#: includes/settings-page/sp-colorbox-settings.php:263
|
365 |
+
msgid "Resize images"
|
366 |
+
msgstr "Změnit velikosti obrázků"
|
367 |
+
|
368 |
+
#: includes/settings-page/sp-colorbox-settings.php:268
|
369 |
+
msgid ""
|
370 |
+
"If enabled and if maximum width of images, maximum height of images, width "
|
371 |
+
"of the Colorbox, or height of the Colorbox have been defined, ColorBox will "
|
372 |
+
"scale photos to fit within the those values"
|
373 |
+
msgstr ""
|
374 |
+
"Pokud je povoleno a je nastavená maximální šířka obrázků, maximální výška "
|
375 |
+
"obrázků, šířka ColorBoxu, nebo výška ColorBoxu, bude ColorBox upravovat "
|
376 |
+
"velikost obrázků v rámci těchto nastavených hodnot"
|
377 |
+
|
378 |
+
#: includes/settings-page/sp-colorbox-settings.php:273
|
379 |
+
msgid "Close Colorbox on overlay click"
|
380 |
+
msgstr "Zavřít ColorBox při kliknutí mimo"
|
381 |
+
|
382 |
+
#: includes/settings-page/sp-colorbox-settings.php:278
|
383 |
+
msgid ""
|
384 |
+
"If checked, enables closing ColorBox by clicking on the background overlay"
|
385 |
+
msgstr ""
|
386 |
+
"Zaškrtnutím povolíte zavírání ColorBoxu kliknutím na pozadí (mimo obrázek)"
|
387 |
+
|
388 |
+
#: includes/settings-page/sp-colorbox-settings.php:283
|
389 |
+
msgid "Preload images"
|
390 |
+
msgstr "Přednačítání obrázků"
|
391 |
+
|
392 |
+
#: includes/settings-page/sp-colorbox-settings.php:288
|
393 |
+
msgid ""
|
394 |
+
"Allows for preloading of \"next\" and \"previous\" content in a group, after "
|
395 |
+
"the current content has finished loading. Uncheck box to disable."
|
396 |
+
msgstr ""
|
397 |
+
"Umožňuje přednačítání obrázků ve skupině \"Další \" a \"předchozí \", potom "
|
398 |
+
"co současný obsah dokončí načítání. Zrušte zaškrtnutí pole pro zakázat"
|
399 |
+
|
400 |
+
#: includes/settings-page/sp-colorbox-settings.php:293
|
401 |
+
msgid "Transition type"
|
402 |
+
msgstr "Typ přechodu"
|
403 |
+
|
404 |
+
#: includes/settings-page/sp-colorbox-settings.php:305
|
405 |
+
msgid ""
|
406 |
+
"The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or "
|
407 |
+
"\"none\""
|
408 |
+
msgstr ""
|
409 |
+
"Typ přechodu v ColorBoxu. Může být nastaven na \"elastický \", \"slábnout"
|
410 |
+
"\", nebo \"žádný \""
|
411 |
+
|
412 |
+
#: includes/settings-page/sp-colorbox-settings.php:310
|
413 |
+
msgid "Transition speed"
|
414 |
+
msgstr "Rychlost přechodu"
|
415 |
+
|
416 |
+
#: includes/settings-page/sp-colorbox-settings.php:314
|
417 |
+
msgid ""
|
418 |
+
"Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
|
419 |
+
msgstr ""
|
420 |
+
"Nastavuje rychlost u typů přechodů \"slábnout \" a \"elastický \" , v "
|
421 |
+
"milisekundách"
|
422 |
+
|
423 |
+
#: includes/settings-page/sp-colorbox-settings.php:319
|
424 |
+
msgid "Opacity"
|
425 |
+
msgstr "Průhlednost"
|
426 |
+
|
427 |
+
#: includes/settings-page/sp-colorbox-settings.php:323
|
428 |
+
msgid "The overlay opacity level. Range: 0 to 1"
|
429 |
+
msgstr "Úroveň průhlednosti pozadí. Rozsah: 0 až 1"
|
430 |
+
|
431 |
+
#: includes/settings-page/sp-colorbox-settings.php:329
|
432 |
+
#: includes/settings-page/sp-plugin-settings.php:134
|
433 |
+
msgid "Save Changes"
|
434 |
+
msgstr "Uložit změny"
|
435 |
+
|
436 |
+
#: includes/settings-page/sp-delete-settings.php:14
|
437 |
+
#: includes/settings-page/sp-delete-settings.php:23
|
438 |
+
msgid "Delete Settings"
|
439 |
+
msgstr "Odstranit nastavení"
|
440 |
+
|
441 |
+
#: includes/settings-page/sp-delete-settings.php:17
|
442 |
+
msgid "Check the box and click this button to delete settings of this plugin."
|
443 |
+
msgstr ""
|
444 |
+
"Zaškrtněte políčko a klikněte na toto tlačítko pro vymazání nastavení tohoto "
|
445 |
+
"pluginu."
|
446 |
+
|
447 |
+
#: includes/settings-page/sp-donate-box.php:14
|
448 |
+
msgid "Donate"
|
449 |
+
msgstr "Darovat"
|
450 |
+
|
451 |
+
#: includes/settings-page/sp-donate-box.php:18
|
452 |
+
msgid ""
|
453 |
+
"If you would like to make a small (or large) contribution towards future "
|
454 |
+
"development please consider making a donation."
|
455 |
+
msgstr ""
|
456 |
+
"Pokud máte zájem přispět k budoucímu rozvoji, zvažte prosím poskytnutí "
|
457 |
+
"malého (nebo velkého) daru."
|
458 |
+
|
459 |
+
#: includes/settings-page/sp-donate-box.php:20
|
460 |
+
msgid "Donate using Paypal"
|
461 |
+
msgstr "Přispějte přes PayPal"
|
462 |
+
|
463 |
+
#: includes/settings-page/sp-donate-box.php:24
|
464 |
+
msgid "Techotronic Development Support"
|
465 |
+
msgstr "Techotronic Development podpora"
|
466 |
+
|
467 |
+
#: includes/settings-page/sp-donate-box.php:28
|
468 |
+
msgid "Please enter the URL you'd like me to link to in the donors lists"
|
469 |
+
msgstr "Zadajte prosím URL adresu, kterou chcete jako odkaz v seznamu darců"
|
470 |
+
|
471 |
+
#: includes/settings-page/sp-donate-box.php:30
|
472 |
+
msgid "Return to Your Dashboard"
|
473 |
+
msgstr "Zpět na Ovládací panel"
|
474 |
+
|
475 |
+
#: includes/settings-page/sp-donate-box.php:34
|
476 |
+
msgid "Select Preset Amount"
|
477 |
+
msgstr "Vyberte přednastavenou hodnotu"
|
478 |
+
|
479 |
+
#: includes/settings-page/sp-donate-box.php:42
|
480 |
+
#: includes/settings-page/sp-donate-box.php:46
|
481 |
+
msgid "USD"
|
482 |
+
msgstr "USD"
|
483 |
+
|
484 |
+
#: includes/settings-page/sp-donate-box.php:43
|
485 |
+
msgid "Or"
|
486 |
+
msgstr "Nebo"
|
487 |
+
|
488 |
+
#: includes/settings-page/sp-donate-box.php:44
|
489 |
+
msgid "Enter Custom Amount"
|
490 |
+
msgstr "Zadejte vlastní částka"
|
491 |
+
|
492 |
+
#: includes/settings-page/sp-donate-box.php:48
|
493 |
+
msgid "Submit"
|
494 |
+
msgstr "Potvrdit"
|
495 |
+
|
496 |
+
#: includes/settings-page/sp-donations.php:14
|
497 |
+
msgid "Top donations"
|
498 |
+
msgstr "Najlepší dárci"
|
499 |
+
|
500 |
+
#: includes/settings-page/sp-donations.php:20
|
501 |
+
#: includes/settings-page/sp-donations.php:33
|
502 |
+
msgid "Thank you for your donation."
|
503 |
+
msgstr "Děkujeme za váš dar."
|
504 |
+
|
505 |
+
#: includes/settings-page/sp-donations.php:27
|
506 |
+
msgid "Latest donations"
|
507 |
+
msgstr "Poslední dárci"
|
508 |
+
|
509 |
+
#: includes/settings-page/sp-plugin-settings.php:13
|
510 |
+
msgid "Plugin settings"
|
511 |
+
msgstr "Nastavení"
|
512 |
+
|
513 |
+
#: includes/settings-page/sp-plugin-settings.php:20
|
514 |
+
#, php-format
|
515 |
+
msgid "Automate %1$s for all images in pages, posts and galleries"
|
516 |
+
msgstr ""
|
517 |
+
"Automaticky použít %1$s pro všechny obrázky v příspěvcích, stránkách a "
|
518 |
+
"galerií:"
|
519 |
+
|
520 |
+
#: includes/settings-page/sp-plugin-settings.php:25
|
521 |
+
msgid ""
|
522 |
+
"Automatically add colorbox-class to images in posts and pages. Also adds "
|
523 |
+
"colorbox-class to galleries. Images in one page or post are grouped "
|
524 |
+
"automatically."
|
525 |
+
msgstr ""
|
526 |
+
"Automaticky přidá ColorBox-class k obrázkům v příspěvcích a stránkách. Také "
|
527 |
+
"přidá, ColorBox-třídu do galerií. Obrázky z jedné stránky nebo příspěvku "
|
528 |
+
"jsou automaticky seskupeny do skupiny."
|
529 |
+
|
530 |
+
#: includes/settings-page/sp-plugin-settings.php:30
|
531 |
+
#, php-format
|
532 |
+
msgid "Automate %1$s for images in WordPress galleries only"
|
533 |
+
msgstr "Automaticky použít %1$s pouze pro obrázky v galeriích WordPress"
|
534 |
+
|
535 |
+
#: includes/settings-page/sp-plugin-settings.php:35
|
536 |
+
msgid ""
|
537 |
+
"Automatically add colorbox-class to images in WordPress galleries, but "
|
538 |
+
"nowhere else. Images in one page or post are grouped automatically."
|
539 |
+
msgstr ""
|
540 |
+
"Automaticky přidá ColorBox-class k obrázkům v galeriích WordPress, ale už "
|
541 |
+
"nikde jinde. Obrázky z jedné stránky nebo příspěvku jsou automaticky "
|
542 |
+
"seskupeny do skupiny."
|
543 |
+
|
544 |
+
#: includes/settings-page/sp-plugin-settings.php:40
|
545 |
+
#, php-format
|
546 |
+
msgid "Automate %1$s for all other images"
|
547 |
+
msgstr "Automaticky použít %1$s pro všechny ostatní obrázky"
|
548 |
+
|
549 |
+
#: includes/settings-page/sp-plugin-settings.php:45
|
550 |
+
msgid ""
|
551 |
+
"Automatically add colorbox-class to all images that are not in posts and "
|
552 |
+
"pages (e.g. the sidebar)."
|
553 |
+
msgstr ""
|
554 |
+
"Automaticky přidá colorbox-class pro všechny obrázky, které nejsou v "
|
555 |
+
"příspěvcích a stránkách (např. postranní panel)."
|
556 |
+
|
557 |
+
#: includes/settings-page/sp-plugin-settings.php:50
|
558 |
+
#, php-format
|
559 |
+
msgid "Automate %1$s for all text links to images"
|
560 |
+
msgstr "Automaticky použít %1$s pro všechny textové odkazy na obrázky"
|
561 |
+
|
562 |
+
#: includes/settings-page/sp-plugin-settings.php:54
|
563 |
+
msgid ""
|
564 |
+
"Automatically add colorbox-link-class to all links that point to images."
|
565 |
+
msgstr ""
|
566 |
+
"Automaticky přidat colorbox-link-class pro všechny odkazy, které ukazují na "
|
567 |
+
"obrazky."
|
568 |
+
|
569 |
+
#: includes/settings-page/sp-plugin-settings.php:59
|
570 |
+
msgid "Automate hiding of flash objects"
|
571 |
+
msgstr "Automatické skrytí Flash objektů"
|
572 |
+
|
573 |
+
#: includes/settings-page/sp-plugin-settings.php:64
|
574 |
+
msgid "Automatically hide embeded flash objects behind the Colorbox layer."
|
575 |
+
msgstr "Automaticky skryje vložené flash objekty za pozadím ColorBoxu."
|
576 |
+
|
577 |
+
#: includes/settings-page/sp-plugin-settings.php:70
|
578 |
+
msgid "Add Zoom overlay to pictures"
|
579 |
+
msgstr "Přidat lupu (Zoom) přes obrázky"
|
580 |
+
|
581 |
+
#: includes/settings-page/sp-plugin-settings.php:76
|
582 |
+
msgid "Add Zoom overlay to pictures that open in a Colorbox."
|
583 |
+
msgstr ""
|
584 |
+
"Přidá Zoom ikonku lupy - Lupa překryje obrázky (při najetí myší), které lze "
|
585 |
+
"otevřít v ColorBoxu."
|
586 |
+
|
587 |
+
#: includes/settings-page/sp-plugin-settings.php:82
|
588 |
+
msgid "Use jQuery library from Google"
|
589 |
+
msgstr "Použít jQuery knihovnu od Google"
|
590 |
+
|
591 |
+
#: includes/settings-page/sp-plugin-settings.php:88
|
592 |
+
#, php-format
|
593 |
+
msgid ""
|
594 |
+
"Use jQuery library version %1$s from Google instead of the one that comes "
|
595 |
+
"with WordPress."
|
596 |
+
msgstr "Použije jQuery knihovnu verze %1$s od Google místo té od WordPress."
|
597 |
+
|
598 |
+
#: includes/settings-page/sp-plugin-settings.php:94
|
599 |
+
msgid "Add JavaScript to footer"
|
600 |
+
msgstr "Přidat JavaScript do zápatí"
|
601 |
+
|
602 |
+
#: includes/settings-page/sp-plugin-settings.php:100
|
603 |
+
msgid "Add JavaScript to footer instead of the header."
|
604 |
+
msgstr "Přidá JavaScript do zápatí místo do záhlaví."
|
605 |
+
|
606 |
+
#: includes/settings-page/sp-plugin-settings.php:105
|
607 |
+
msgid "Remove link from Meta-box"
|
608 |
+
msgstr "Odebrat odkaz z Meta-boxu."
|
609 |
+
|
610 |
+
#: includes/settings-page/sp-plugin-settings.php:109
|
611 |
+
msgid "Remove the link to the developers site from the WordPress meta-box."
|
612 |
+
msgstr "Odebrat odkaz na stránku vývojářů."
|
613 |
+
|
614 |
+
#: includes/settings-page/sp-plugin-settings.php:114
|
615 |
+
msgid "Activate debug mode"
|
616 |
+
msgstr "Aktivace režimu zkoušení"
|
617 |
+
|
618 |
+
#: includes/settings-page/sp-plugin-settings.php:118
|
619 |
+
msgid ""
|
620 |
+
"Adds debug information and non-minified JavaScript to the page. Useful for "
|
621 |
+
"troubleshooting."
|
622 |
+
msgstr ""
|
623 |
+
"Přidá informaci o ladění a informace Java skriptu na stránku. Použitelné pro "
|
624 |
+
"řešení problémů."
|
625 |
+
|
626 |
+
#: includes/settings-page/sp-plugin-settings.php:123
|
627 |
+
msgid "Disable warning"
|
628 |
+
msgstr "Zakázat upozornění"
|
629 |
+
|
630 |
+
#: includes/settings-page/sp-plugin-settings.php:128
|
631 |
+
msgid ""
|
632 |
+
"Disables the warning that is displayed if the plugin is activated but the "
|
633 |
+
"auto-colorbox feature for all images is turned off."
|
634 |
+
msgstr ""
|
635 |
+
"Zakáže upozornění, které se zobrazí v případě, že plugin je aktivní, ale "
|
636 |
+
"automatická funkce ColorBox na všechny obrázky je vypnutá."
|
637 |
+
|
638 |
+
#: includes/settings-page/sp-translation.php:14
|
639 |
+
msgid "Translation"
|
640 |
+
msgstr "Překlad"
|
641 |
+
|
642 |
+
#: includes/settings-page/sp-translation.php:17
|
643 |
+
msgid ""
|
644 |
+
"The english translation was done by <a href=\"http://www.techotronic.de"
|
645 |
+
"\">Arne Franken</a>."
|
646 |
+
msgstr "Český překlad vytořil <a href=\"http://www.dweis.cz\">DWeis</a>."
|
localization/jquery-colorbox-sk_SK.mo
CHANGED
Binary file
|
localization/jquery-colorbox-sk_SK.po
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: jQuery-Colorbox\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2012-
|
6 |
-
"PO-Revision-Date: 2012-
|
7 |
"Last-Translator: Arne Franken <blog@techotronic.de>\n"
|
8 |
-
"Language-Team:
|
9 |
-
"Language:
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Generator: Poedit 1.5.
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
#: jquery-colorbox.php:37
|
19 |
msgid "jQuery Colorbox"
|
20 |
-
msgstr ""
|
21 |
|
22 |
#: jquery-colorbox.php:98
|
23 |
msgid "Theme #1"
|
@@ -86,15 +86,15 @@ msgstr "percent"
|
|
86 |
#: jquery-colorbox.php:123 includes/settings-page/sp-colorbox-settings.php:248
|
87 |
#: includes/settings-page/sp-colorbox-settings.php:257
|
88 |
msgid "pixels"
|
89 |
-
msgstr "
|
90 |
|
91 |
#: jquery-colorbox.php:128
|
92 |
msgid "elastic"
|
93 |
-
msgstr "
|
94 |
|
95 |
#: jquery-colorbox.php:129
|
96 |
msgid "fade"
|
97 |
-
msgstr "
|
98 |
|
99 |
#: jquery-colorbox.php:130
|
100 |
msgid "none"
|
@@ -103,17 +103,17 @@ msgstr "žiadny"
|
|
103 |
#: includes/jquery-colorbox-backend.php:84
|
104 |
#, php-format
|
105 |
msgid "Successfully updated %1$s settings."
|
106 |
-
msgstr "Úspešne
|
107 |
|
108 |
#: includes/jquery-colorbox-backend.php:86
|
109 |
#, php-format
|
110 |
msgid "%1$s settings were successfully deleted."
|
111 |
-
msgstr "%1$s nastavenia boli
|
112 |
|
113 |
#: includes/jquery-colorbox-backend.php:111
|
114 |
msgid "needs attention: the plugin is not activated to work for all images."
|
115 |
msgstr ""
|
116 |
-
"
|
117 |
|
118 |
#: includes/jquery-colorbox-backend.php:132
|
119 |
msgid "Settings"
|
@@ -121,7 +121,7 @@ msgstr "Nastavenia"
|
|
121 |
|
122 |
#: includes/jquery-colorbox-backend.php:154
|
123 |
msgid "Did not update settings, you do not have the necessary rights."
|
124 |
-
msgstr "
|
125 |
|
126 |
#: includes/jquery-colorbox-backend.php:187
|
127 |
#, php-format
|
@@ -129,16 +129,16 @@ msgid ""
|
|
129 |
"Did not delete %1$s settings. Either you dont have the nececssary rights or "
|
130 |
"you didnt check the checkbox."
|
131 |
msgstr ""
|
132 |
-
"
|
133 |
-
"
|
134 |
|
135 |
#: includes/jquery-colorbox-frontend.php:65
|
136 |
msgid "Using"
|
137 |
-
msgstr "
|
138 |
|
139 |
#: includes/jquery-colorbox-frontend.php:175
|
140 |
msgid "close"
|
141 |
-
msgstr "
|
142 |
|
143 |
#: includes/jquery-colorbox-frontend.php:176
|
144 |
msgid "next"
|
@@ -146,36 +146,36 @@ msgstr "ďalší"
|
|
146 |
|
147 |
#: includes/jquery-colorbox-frontend.php:177
|
148 |
msgid "previous"
|
149 |
-
msgstr "
|
150 |
|
151 |
#: includes/jquery-colorbox-frontend.php:178
|
152 |
msgid "start slideshow"
|
153 |
-
msgstr "
|
154 |
|
155 |
#: includes/jquery-colorbox-frontend.php:179
|
156 |
msgid "stop slideshow"
|
157 |
-
msgstr "
|
158 |
|
159 |
#: includes/jquery-colorbox-frontend.php:180
|
160 |
msgid "{current} of {total} images"
|
161 |
-
msgstr "{
|
162 |
|
163 |
#: includes/jquery-colorbox-frontend.php:181
|
164 |
msgid "This content failed to load."
|
165 |
-
msgstr ""
|
166 |
|
167 |
#: includes/jquery-colorbox-frontend.php:182
|
168 |
msgid "This image failed to load."
|
169 |
-
msgstr ""
|
170 |
|
171 |
#: includes/settings-page.php:18
|
172 |
#, php-format
|
173 |
msgid "%1$s Settings"
|
174 |
-
msgstr "%1$s
|
175 |
|
176 |
#: includes/settings-page/sp-colorbox-settings.php:13
|
177 |
msgid "Colorbox settings"
|
178 |
-
msgstr ""
|
179 |
|
180 |
#: includes/settings-page/sp-colorbox-settings.php:20
|
181 |
msgid "Theme"
|
@@ -183,24 +183,24 @@ msgstr "Téma"
|
|
183 |
|
184 |
#: includes/settings-page/sp-colorbox-settings.php:32
|
185 |
msgid "Select the theme you want to use on your blog."
|
186 |
-
msgstr "
|
187 |
|
188 |
#: includes/settings-page/sp-colorbox-settings.php:37
|
189 |
msgid "Theme screenshot"
|
190 |
-
msgstr "
|
191 |
|
192 |
#: includes/settings-page/sp-colorbox-settings.php:48
|
193 |
msgid "Add Slideshow to groups"
|
194 |
-
msgstr "Pridať
|
195 |
|
196 |
#: includes/settings-page/sp-colorbox-settings.php:53
|
197 |
#, php-format
|
198 |
msgid "Add Slideshow functionality for %1$s Groups"
|
199 |
-
msgstr "Pridať funkcie
|
200 |
|
201 |
#: includes/settings-page/sp-colorbox-settings.php:58
|
202 |
msgid "Start Slideshow automatically"
|
203 |
-
msgstr "
|
204 |
|
205 |
#: includes/settings-page/sp-colorbox-settings.php:63
|
206 |
#, php-format
|
@@ -208,12 +208,12 @@ msgid ""
|
|
208 |
"Start Slideshow automatically if slideshow functionality is added to %1$s "
|
209 |
"Groups"
|
210 |
msgstr ""
|
211 |
-
"Spustiť prezentáciu automaticky, ak
|
212 |
"Skupiny"
|
213 |
|
214 |
#: includes/settings-page/sp-colorbox-settings.php:68
|
215 |
msgid "Speed of the slideshow"
|
216 |
-
msgstr "Rýchlosť
|
217 |
|
218 |
#: includes/settings-page/sp-colorbox-settings.php:71
|
219 |
#: includes/settings-page/sp-colorbox-settings.php:313
|
@@ -222,15 +222,15 @@ msgstr "milisekúnd"
|
|
222 |
|
223 |
#: includes/settings-page/sp-colorbox-settings.php:72
|
224 |
msgid "Sets the speed of the slideshow, in milliseconds"
|
225 |
-
msgstr "
|
226 |
|
227 |
#: includes/settings-page/sp-colorbox-settings.php:77
|
228 |
msgid "Disable loop"
|
229 |
-
msgstr "Zakázať
|
230 |
|
231 |
#: includes/settings-page/sp-colorbox-settings.php:81
|
232 |
msgid "Disable looping through image groups"
|
233 |
-
msgstr "Zakázať
|
234 |
|
235 |
#: includes/settings-page/sp-colorbox-settings.php:86
|
236 |
msgid "Disable keys"
|
@@ -241,8 +241,8 @@ msgid ""
|
|
241 |
"Disable ESC to close Colorbox and arrow keys to go to next and previous "
|
242 |
"images"
|
243 |
msgstr ""
|
244 |
-
"Zakázať ESC
|
245 |
-
"
|
246 |
|
247 |
#: includes/settings-page/sp-colorbox-settings.php:95
|
248 |
msgid "Maximum width of an image"
|
@@ -252,11 +252,11 @@ msgstr "Maximálna šírka obrázku"
|
|
252 |
#: includes/settings-page/sp-colorbox-settings.php:150
|
253 |
#: includes/settings-page/sp-colorbox-settings.php:200
|
254 |
msgid "Do not set width"
|
255 |
-
msgstr "
|
256 |
|
257 |
#: includes/settings-page/sp-colorbox-settings.php:104
|
258 |
msgid "Set maximum width of an image"
|
259 |
-
msgstr "
|
260 |
|
261 |
#: includes/settings-page/sp-colorbox-settings.php:115
|
262 |
msgid ""
|
@@ -264,23 +264,23 @@ msgid ""
|
|
264 |
"browser window in percent or pixels. If maximum width is not set, image is "
|
265 |
"as wide as the Colorbox"
|
266 |
msgstr ""
|
267 |
-
"Nastavte maximálnu šírku
|
268 |
-
"percentách alebo pixeloch. Ak nie je
|
269 |
-
"rovnako
|
270 |
|
271 |
#: includes/settings-page/sp-colorbox-settings.php:120
|
272 |
msgid "Maximum height of an image"
|
273 |
-
msgstr "Maximálna výška
|
274 |
|
275 |
#: includes/settings-page/sp-colorbox-settings.php:125
|
276 |
#: includes/settings-page/sp-colorbox-settings.php:175
|
277 |
#: includes/settings-page/sp-colorbox-settings.php:225
|
278 |
msgid "Do not set height"
|
279 |
-
msgstr "
|
280 |
|
281 |
#: includes/settings-page/sp-colorbox-settings.php:129
|
282 |
msgid "Set maximum height of an image"
|
283 |
-
msgstr "
|
284 |
|
285 |
#: includes/settings-page/sp-colorbox-settings.php:140
|
286 |
msgid ""
|
@@ -288,18 +288,18 @@ msgid ""
|
|
288 |
"browser window to a value in percent or pixels. If maximum height is not "
|
289 |
"set, the image is as high as the Colorbox"
|
290 |
msgstr ""
|
291 |
-
"Nastavte maximálnu výšku obrázku v
|
292 |
-
"percentách alebo pixeloch. Ak nie je
|
293 |
-
"rovnako
|
294 |
|
295 |
#: includes/settings-page/sp-colorbox-settings.php:145
|
296 |
msgid "Maximum width of the Colorbox"
|
297 |
-
msgstr "Maximálna šírka
|
298 |
|
299 |
#: includes/settings-page/sp-colorbox-settings.php:154
|
300 |
#: includes/settings-page/sp-colorbox-settings.php:204
|
301 |
msgid "Set width of the Colorbox"
|
302 |
-
msgstr "
|
303 |
|
304 |
#: includes/settings-page/sp-colorbox-settings.php:165
|
305 |
#: includes/settings-page/sp-colorbox-settings.php:215
|
@@ -309,19 +309,19 @@ msgid ""
|
|
309 |
"the colorbox, scrollbars are displayed. If width is not set, the Colorbox "
|
310 |
"will be as wide as the picture in it"
|
311 |
msgstr ""
|
312 |
-
"Nastavte maximálnu šírku
|
313 |
-
"percentách alebo pixeloch. Ak je
|
314 |
-
"posuvníky. Ak šírka
|
315 |
-
"
|
316 |
|
317 |
#: includes/settings-page/sp-colorbox-settings.php:170
|
318 |
msgid "Maximum height of the Colorbox"
|
319 |
-
msgstr "Maximálna výška
|
320 |
|
321 |
#: includes/settings-page/sp-colorbox-settings.php:179
|
322 |
#: includes/settings-page/sp-colorbox-settings.php:229
|
323 |
msgid "Set height of the Colorbox"
|
324 |
-
msgstr "
|
325 |
|
326 |
#: includes/settings-page/sp-colorbox-settings.php:190
|
327 |
#: includes/settings-page/sp-colorbox-settings.php:240
|
@@ -331,44 +331,38 @@ msgid ""
|
|
331 |
"the colorbox, scrollbars are displayed. If height is not set, the Colorbox "
|
332 |
"will be as high as the picture in it"
|
333 |
msgstr ""
|
334 |
-
"Nastavte maximálnu výšku
|
335 |
-
"percentách alebo pixeloch. Ak je
|
336 |
-
"posuvníky. Ak
|
337 |
-
"
|
338 |
|
339 |
#: includes/settings-page/sp-colorbox-settings.php:195
|
340 |
-
#, fuzzy
|
341 |
msgid "Maximum width of the Colorbox used for links"
|
342 |
-
msgstr "Maximálna šírka
|
343 |
|
344 |
#: includes/settings-page/sp-colorbox-settings.php:220
|
345 |
-
#, fuzzy
|
346 |
msgid "Maximum height of the Colorbox used for links"
|
347 |
-
msgstr "Maximálna výška
|
348 |
|
349 |
#: includes/settings-page/sp-colorbox-settings.php:245
|
350 |
-
#, fuzzy
|
351 |
msgid "Initial width of the Colorbox"
|
352 |
-
msgstr "
|
353 |
|
354 |
#: includes/settings-page/sp-colorbox-settings.php:249
|
355 |
-
#, fuzzy
|
356 |
msgid "Set the maximum width of the Colorbox before the content is loaded"
|
357 |
-
msgstr "
|
358 |
|
359 |
#: includes/settings-page/sp-colorbox-settings.php:254
|
360 |
-
#, fuzzy
|
361 |
msgid "Initial height of the Colorbox"
|
362 |
-
msgstr "
|
363 |
|
364 |
#: includes/settings-page/sp-colorbox-settings.php:258
|
365 |
-
#, fuzzy
|
366 |
msgid "Set the maximum height of the Colorbox before the content is loaded"
|
367 |
-
msgstr "
|
368 |
|
369 |
#: includes/settings-page/sp-colorbox-settings.php:263
|
370 |
msgid "Resize images"
|
371 |
-
msgstr "
|
372 |
|
373 |
#: includes/settings-page/sp-colorbox-settings.php:268
|
374 |
msgid ""
|
@@ -376,32 +370,31 @@ msgid ""
|
|
376 |
"of the Colorbox, or height of the Colorbox have been defined, ColorBox will "
|
377 |
"scale photos to fit within the those values"
|
378 |
msgstr ""
|
379 |
-
"Ak je
|
380 |
-
"
|
381 |
-
"
|
382 |
|
383 |
#: includes/settings-page/sp-colorbox-settings.php:273
|
384 |
msgid "Close Colorbox on overlay click"
|
385 |
-
msgstr "
|
386 |
|
387 |
#: includes/settings-page/sp-colorbox-settings.php:278
|
388 |
msgid ""
|
389 |
"If checked, enables closing ColorBox by clicking on the background overlay"
|
390 |
msgstr ""
|
391 |
-
"
|
392 |
|
393 |
#: includes/settings-page/sp-colorbox-settings.php:283
|
394 |
msgid "Preload images"
|
395 |
-
msgstr "
|
396 |
|
397 |
#: includes/settings-page/sp-colorbox-settings.php:288
|
398 |
msgid ""
|
399 |
"Allows for preloading of \"next\" and \"previous\" content in a group, after "
|
400 |
"the current content has finished loading. Uncheck box to disable."
|
401 |
msgstr ""
|
402 |
-
"
|
403 |
-
"
|
404 |
-
"vypnutie."
|
405 |
|
406 |
#: includes/settings-page/sp-colorbox-settings.php:293
|
407 |
msgid "Transition type"
|
@@ -412,8 +405,8 @@ msgid ""
|
|
412 |
"The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or "
|
413 |
"\"none\""
|
414 |
msgstr ""
|
415 |
-
"
|
416 |
-
"
|
417 |
|
418 |
#: includes/settings-page/sp-colorbox-settings.php:310
|
419 |
msgid "Transition speed"
|
@@ -422,64 +415,64 @@ msgstr "Rýchlosť prechodu"
|
|
422 |
#: includes/settings-page/sp-colorbox-settings.php:314
|
423 |
msgid ""
|
424 |
"Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
|
425 |
-
msgstr ""
|
426 |
-
"Nastavenie rýchlosti \"śtrácanie\" a \"elastický\" prechodu, v millisekundách"
|
427 |
|
428 |
#: includes/settings-page/sp-colorbox-settings.php:319
|
429 |
msgid "Opacity"
|
430 |
-
msgstr "
|
431 |
|
432 |
#: includes/settings-page/sp-colorbox-settings.php:323
|
433 |
msgid "The overlay opacity level. Range: 0 to 1"
|
434 |
-
msgstr "
|
435 |
|
436 |
#: includes/settings-page/sp-colorbox-settings.php:329
|
437 |
#: includes/settings-page/sp-plugin-settings.php:134
|
438 |
msgid "Save Changes"
|
439 |
-
msgstr "
|
440 |
|
441 |
#: includes/settings-page/sp-delete-settings.php:14
|
442 |
#: includes/settings-page/sp-delete-settings.php:23
|
443 |
msgid "Delete Settings"
|
444 |
-
msgstr "
|
445 |
|
446 |
#: includes/settings-page/sp-delete-settings.php:17
|
447 |
msgid "Check the box and click this button to delete settings of this plugin."
|
448 |
msgstr ""
|
449 |
-
"
|
450 |
-
"pluginu"
|
|
|
451 |
|
452 |
#: includes/settings-page/sp-donate-box.php:14
|
453 |
msgid "Donate"
|
454 |
-
msgstr "
|
455 |
|
456 |
#: includes/settings-page/sp-donate-box.php:18
|
457 |
msgid ""
|
458 |
"If you would like to make a small (or large) contribution towards future "
|
459 |
"development please consider making a donation."
|
460 |
msgstr ""
|
461 |
-
"Ak by ste
|
462 |
-
"
|
463 |
|
464 |
#: includes/settings-page/sp-donate-box.php:20
|
465 |
msgid "Donate using Paypal"
|
466 |
-
msgstr ""
|
467 |
|
468 |
#: includes/settings-page/sp-donate-box.php:24
|
469 |
msgid "Techotronic Development Support"
|
470 |
-
msgstr "
|
471 |
|
472 |
#: includes/settings-page/sp-donate-box.php:28
|
473 |
msgid "Please enter the URL you'd like me to link to in the donors lists"
|
474 |
-
msgstr "Zadajte
|
475 |
|
476 |
#: includes/settings-page/sp-donate-box.php:30
|
477 |
msgid "Return to Your Dashboard"
|
478 |
-
msgstr "
|
479 |
|
480 |
#: includes/settings-page/sp-donate-box.php:34
|
481 |
msgid "Select Preset Amount"
|
482 |
-
msgstr "
|
483 |
|
484 |
#: includes/settings-page/sp-donate-box.php:42
|
485 |
#: includes/settings-page/sp-donate-box.php:46
|
@@ -492,34 +485,33 @@ msgstr "Alebo"
|
|
492 |
|
493 |
#: includes/settings-page/sp-donate-box.php:44
|
494 |
msgid "Enter Custom Amount"
|
495 |
-
msgstr "Zadajte
|
496 |
|
497 |
#: includes/settings-page/sp-donate-box.php:48
|
498 |
msgid "Submit"
|
499 |
-
msgstr "
|
500 |
|
501 |
#: includes/settings-page/sp-donations.php:14
|
502 |
msgid "Top donations"
|
503 |
-
msgstr "
|
504 |
|
505 |
#: includes/settings-page/sp-donations.php:20
|
506 |
#: includes/settings-page/sp-donations.php:33
|
507 |
msgid "Thank you for your donation."
|
508 |
-
msgstr ""
|
509 |
|
510 |
#: includes/settings-page/sp-donations.php:27
|
511 |
msgid "Latest donations"
|
512 |
-
msgstr "
|
513 |
|
514 |
#: includes/settings-page/sp-plugin-settings.php:13
|
515 |
-
#, fuzzy
|
516 |
msgid "Plugin settings"
|
517 |
-
msgstr "
|
518 |
|
519 |
#: includes/settings-page/sp-plugin-settings.php:20
|
520 |
-
#,
|
521 |
msgid "Automate %1$s for all images in pages, posts and galleries"
|
522 |
-
msgstr "
|
523 |
|
524 |
#: includes/settings-page/sp-plugin-settings.php:25
|
525 |
msgid ""
|
@@ -527,63 +519,67 @@ msgid ""
|
|
527 |
"colorbox-class to galleries. Images in one page or post are grouped "
|
528 |
"automatically."
|
529 |
msgstr ""
|
530 |
-
"Automaticky
|
531 |
-
"
|
532 |
-
"
|
533 |
|
534 |
#: includes/settings-page/sp-plugin-settings.php:30
|
535 |
-
#,
|
536 |
msgid "Automate %1$s for images in WordPress galleries only"
|
537 |
-
msgstr "
|
538 |
|
539 |
#: includes/settings-page/sp-plugin-settings.php:35
|
540 |
msgid ""
|
541 |
"Automatically add colorbox-class to images in WordPress galleries, but "
|
542 |
"nowhere else. Images in one page or post are grouped automatically."
|
543 |
msgstr ""
|
544 |
-
"Automaticky
|
545 |
-
"Obrázky
|
546 |
|
547 |
#: includes/settings-page/sp-plugin-settings.php:40
|
548 |
-
#,
|
549 |
msgid "Automate %1$s for all other images"
|
550 |
-
msgstr "
|
551 |
|
552 |
#: includes/settings-page/sp-plugin-settings.php:45
|
553 |
msgid ""
|
554 |
"Automatically add colorbox-class to all images that are not in posts and "
|
555 |
"pages (e.g. the sidebar)."
|
556 |
msgstr ""
|
|
|
|
|
557 |
|
558 |
#: includes/settings-page/sp-plugin-settings.php:50
|
559 |
-
#,
|
560 |
msgid "Automate %1$s for all text links to images"
|
561 |
-
msgstr "
|
562 |
|
563 |
#: includes/settings-page/sp-plugin-settings.php:54
|
564 |
msgid ""
|
565 |
"Automatically add colorbox-link-class to all links that point to images."
|
566 |
msgstr ""
|
|
|
|
|
567 |
|
568 |
#: includes/settings-page/sp-plugin-settings.php:59
|
569 |
msgid "Automate hiding of flash objects"
|
570 |
-
msgstr "
|
571 |
|
572 |
#: includes/settings-page/sp-plugin-settings.php:64
|
573 |
msgid "Automatically hide embeded flash objects behind the Colorbox layer."
|
574 |
-
msgstr "Automaticky skryť
|
575 |
|
576 |
#: includes/settings-page/sp-plugin-settings.php:70
|
577 |
msgid "Add Zoom overlay to pictures"
|
578 |
-
msgstr ""
|
579 |
|
580 |
#: includes/settings-page/sp-plugin-settings.php:76
|
581 |
msgid "Add Zoom overlay to pictures that open in a Colorbox."
|
582 |
-
msgstr ""
|
583 |
|
584 |
#: includes/settings-page/sp-plugin-settings.php:82
|
585 |
msgid "Use jQuery library from Google"
|
586 |
-
msgstr ""
|
587 |
|
588 |
#: includes/settings-page/sp-plugin-settings.php:88
|
589 |
#, php-format
|
@@ -591,44 +587,48 @@ msgid ""
|
|
591 |
"Use jQuery library version %1$s from Google instead of the one that comes "
|
592 |
"with WordPress."
|
593 |
msgstr ""
|
|
|
|
|
594 |
|
595 |
#: includes/settings-page/sp-plugin-settings.php:94
|
596 |
msgid "Add JavaScript to footer"
|
597 |
-
msgstr ""
|
598 |
|
599 |
#: includes/settings-page/sp-plugin-settings.php:100
|
600 |
msgid "Add JavaScript to footer instead of the header."
|
601 |
-
msgstr ""
|
602 |
|
603 |
#: includes/settings-page/sp-plugin-settings.php:105
|
604 |
msgid "Remove link from Meta-box"
|
605 |
-
msgstr ""
|
606 |
|
607 |
#: includes/settings-page/sp-plugin-settings.php:109
|
608 |
msgid "Remove the link to the developers site from the WordPress meta-box."
|
609 |
-
msgstr ""
|
610 |
|
611 |
#: includes/settings-page/sp-plugin-settings.php:114
|
612 |
msgid "Activate debug mode"
|
613 |
-
msgstr ""
|
614 |
|
615 |
#: includes/settings-page/sp-plugin-settings.php:118
|
616 |
msgid ""
|
617 |
"Adds debug information and non-minified JavaScript to the page. Useful for "
|
618 |
"troubleshooting."
|
619 |
msgstr ""
|
|
|
|
|
620 |
|
621 |
#: includes/settings-page/sp-plugin-settings.php:123
|
622 |
msgid "Disable warning"
|
623 |
-
msgstr "
|
624 |
|
625 |
#: includes/settings-page/sp-plugin-settings.php:128
|
626 |
msgid ""
|
627 |
"Disables the warning that is displayed if the plugin is activated but the "
|
628 |
"auto-colorbox feature for all images is turned off."
|
629 |
msgstr ""
|
630 |
-
"Zakáže varovanie,
|
631 |
-
"
|
632 |
|
633 |
#: includes/settings-page/sp-translation.php:14
|
634 |
msgid "Translation"
|
@@ -639,29 +639,32 @@ msgid ""
|
|
639 |
"The english translation was done by <a href=\"http://www.techotronic.de"
|
640 |
"\">Arne Franken</a>."
|
641 |
msgstr ""
|
642 |
-
"
|
643 |
-
"
|
644 |
|
645 |
#~ msgid "Make images draggable"
|
646 |
-
#~ msgstr "
|
647 |
|
648 |
#~ msgid "Make images draggable instead of scrollable"
|
649 |
-
#~ msgstr "
|
650 |
|
651 |
#~ msgid "Automate %1$s for all images"
|
652 |
-
#~ msgstr "
|
653 |
|
654 |
#~ msgid "Automate %1$s for images in WordPress galleries"
|
655 |
-
#~ msgstr "
|
|
|
|
|
|
|
656 |
|
657 |
#~ msgid "maxWidth"
|
658 |
-
#~ msgstr "
|
659 |
|
660 |
#~ msgid "maxHeight"
|
661 |
-
#~ msgstr "
|
662 |
|
663 |
#~ msgid "width"
|
664 |
-
#~ msgstr "
|
665 |
|
666 |
#~ msgid "height"
|
667 |
-
#~ msgstr "
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: jQuery-Colorbox 3.8.3 Arabic\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-12-15 23:44+0100\n"
|
6 |
+
"PO-Revision-Date: 2012-12-15 23:44+0100\n"
|
7 |
"Last-Translator: Arne Franken <blog@techotronic.de>\n"
|
8 |
+
"Language-Team: Mickey Mouse <modarsoos@yahoo.com>\n"
|
9 |
+
"Language: ar_SY\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
"X-Poedit-KeywordsList: _e;__\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Generator: Poedit 1.5.4\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
#: jquery-colorbox.php:37
|
19 |
msgid "jQuery Colorbox"
|
20 |
+
msgstr "jQuery Colorbox"
|
21 |
|
22 |
#: jquery-colorbox.php:98
|
23 |
msgid "Theme #1"
|
86 |
#: jquery-colorbox.php:123 includes/settings-page/sp-colorbox-settings.php:248
|
87 |
#: includes/settings-page/sp-colorbox-settings.php:257
|
88 |
msgid "pixels"
|
89 |
+
msgstr "pixelov"
|
90 |
|
91 |
#: jquery-colorbox.php:128
|
92 |
msgid "elastic"
|
93 |
+
msgstr "elastické"
|
94 |
|
95 |
#: jquery-colorbox.php:129
|
96 |
msgid "fade"
|
97 |
+
msgstr "Fade"
|
98 |
|
99 |
#: jquery-colorbox.php:130
|
100 |
msgid "none"
|
103 |
#: includes/jquery-colorbox-backend.php:84
|
104 |
#, php-format
|
105 |
msgid "Successfully updated %1$s settings."
|
106 |
+
msgstr "Úspešne aktualizovaný %1$ s nastavenia."
|
107 |
|
108 |
#: includes/jquery-colorbox-backend.php:86
|
109 |
#, php-format
|
110 |
msgid "%1$s settings were successfully deleted."
|
111 |
+
msgstr "%1$ s nastavenia boli úspešne odstránené."
|
112 |
|
113 |
#: includes/jquery-colorbox-backend.php:111
|
114 |
msgid "needs attention: the plugin is not activated to work for all images."
|
115 |
msgstr ""
|
116 |
+
"potrebuje pozornosť: plugin nie je aktivovaná pracovať pre všetky obrázky."
|
117 |
|
118 |
#: includes/jquery-colorbox-backend.php:132
|
119 |
msgid "Settings"
|
121 |
|
122 |
#: includes/jquery-colorbox-backend.php:154
|
123 |
msgid "Did not update settings, you do not have the necessary rights."
|
124 |
+
msgstr "Neaktualizoval nastavenia, nemáte potrebné práva."
|
125 |
|
126 |
#: includes/jquery-colorbox-backend.php:187
|
127 |
#, php-format
|
129 |
"Did not delete %1$s settings. Either you dont have the nececssary rights or "
|
130 |
"you didnt check the checkbox."
|
131 |
msgstr ""
|
132 |
+
"Vari odstrániť %1$s nastavenia. Buď nemáte k nececssary práva alebo ste "
|
133 |
+
"zaškrtnite políčko."
|
134 |
|
135 |
#: includes/jquery-colorbox-frontend.php:65
|
136 |
msgid "Using"
|
137 |
+
msgstr "Pomocou"
|
138 |
|
139 |
#: includes/jquery-colorbox-frontend.php:175
|
140 |
msgid "close"
|
141 |
+
msgstr "Zavrieť"
|
142 |
|
143 |
#: includes/jquery-colorbox-frontend.php:176
|
144 |
msgid "next"
|
146 |
|
147 |
#: includes/jquery-colorbox-frontend.php:177
|
148 |
msgid "previous"
|
149 |
+
msgstr "Predchádzajúci"
|
150 |
|
151 |
#: includes/jquery-colorbox-frontend.php:178
|
152 |
msgid "start slideshow"
|
153 |
+
msgstr "spustiť prezentáciu"
|
154 |
|
155 |
#: includes/jquery-colorbox-frontend.php:179
|
156 |
msgid "stop slideshow"
|
157 |
+
msgstr "zastaviť slideshow"
|
158 |
|
159 |
#: includes/jquery-colorbox-frontend.php:180
|
160 |
msgid "{current} of {total} images"
|
161 |
+
msgstr "{aktuálny} {celková} obrazov"
|
162 |
|
163 |
#: includes/jquery-colorbox-frontend.php:181
|
164 |
msgid "This content failed to load."
|
165 |
+
msgstr "Tento obsah sa nepodarilo načítať."
|
166 |
|
167 |
#: includes/jquery-colorbox-frontend.php:182
|
168 |
msgid "This image failed to load."
|
169 |
+
msgstr "Tento obrázok sa nepodarilo načítať."
|
170 |
|
171 |
#: includes/settings-page.php:18
|
172 |
#, php-format
|
173 |
msgid "%1$s Settings"
|
174 |
+
msgstr "%1$ s nastavenia"
|
175 |
|
176 |
#: includes/settings-page/sp-colorbox-settings.php:13
|
177 |
msgid "Colorbox settings"
|
178 |
+
msgstr "ColorBox nastavenia"
|
179 |
|
180 |
#: includes/settings-page/sp-colorbox-settings.php:20
|
181 |
msgid "Theme"
|
183 |
|
184 |
#: includes/settings-page/sp-colorbox-settings.php:32
|
185 |
msgid "Select the theme you want to use on your blog."
|
186 |
+
msgstr "Vybrať tému, ktoré chcete použiť na svoj blog."
|
187 |
|
188 |
#: includes/settings-page/sp-colorbox-settings.php:37
|
189 |
msgid "Theme screenshot"
|
190 |
+
msgstr "Téma screenshot"
|
191 |
|
192 |
#: includes/settings-page/sp-colorbox-settings.php:48
|
193 |
msgid "Add Slideshow to groups"
|
194 |
+
msgstr "Pridať Slideshow skupinám"
|
195 |
|
196 |
#: includes/settings-page/sp-colorbox-settings.php:53
|
197 |
#, php-format
|
198 |
msgid "Add Slideshow functionality for %1$s Groups"
|
199 |
+
msgstr "Pridať Slideshow funkcie pre %1$ s skupín"
|
200 |
|
201 |
#: includes/settings-page/sp-colorbox-settings.php:58
|
202 |
msgid "Start Slideshow automatically"
|
203 |
+
msgstr "Automaticky spustiť Slideshow"
|
204 |
|
205 |
#: includes/settings-page/sp-colorbox-settings.php:63
|
206 |
#, php-format
|
208 |
"Start Slideshow automatically if slideshow functionality is added to %1$s "
|
209 |
"Groups"
|
210 |
msgstr ""
|
211 |
+
"Spustiť prezentáciu automaticky, ak slideshow funkcie boli pridané k %1$s "
|
212 |
"Skupiny"
|
213 |
|
214 |
#: includes/settings-page/sp-colorbox-settings.php:68
|
215 |
msgid "Speed of the slideshow"
|
216 |
+
msgstr "Rýchlosť prezentácie"
|
217 |
|
218 |
#: includes/settings-page/sp-colorbox-settings.php:71
|
219 |
#: includes/settings-page/sp-colorbox-settings.php:313
|
222 |
|
223 |
#: includes/settings-page/sp-colorbox-settings.php:72
|
224 |
msgid "Sets the speed of the slideshow, in milliseconds"
|
225 |
+
msgstr "Nastaví rýchlosť prezentáciu, v milisekundách"
|
226 |
|
227 |
#: includes/settings-page/sp-colorbox-settings.php:77
|
228 |
msgid "Disable loop"
|
229 |
+
msgstr "Zakázať slučky"
|
230 |
|
231 |
#: includes/settings-page/sp-colorbox-settings.php:81
|
232 |
msgid "Disable looping through image groups"
|
233 |
+
msgstr "Zakázať smyčkování cez obrázok skupiny"
|
234 |
|
235 |
#: includes/settings-page/sp-colorbox-settings.php:86
|
236 |
msgid "Disable keys"
|
241 |
"Disable ESC to close Colorbox and arrow keys to go to next and previous "
|
242 |
"images"
|
243 |
msgstr ""
|
244 |
+
"Zakázať ESC zatvorte ColorBox a klávesov so šípkami pre prechod na ďalšie a "
|
245 |
+
"predchádzajúce obrázkov"
|
246 |
|
247 |
#: includes/settings-page/sp-colorbox-settings.php:95
|
248 |
msgid "Maximum width of an image"
|
252 |
#: includes/settings-page/sp-colorbox-settings.php:150
|
253 |
#: includes/settings-page/sp-colorbox-settings.php:200
|
254 |
msgid "Do not set width"
|
255 |
+
msgstr "Nastaviť šírku"
|
256 |
|
257 |
#: includes/settings-page/sp-colorbox-settings.php:104
|
258 |
msgid "Set maximum width of an image"
|
259 |
+
msgstr "Nastaví maximálnu šírku obrázka"
|
260 |
|
261 |
#: includes/settings-page/sp-colorbox-settings.php:115
|
262 |
msgid ""
|
264 |
"browser window in percent or pixels. If maximum width is not set, image is "
|
265 |
"as wide as the Colorbox"
|
266 |
msgstr ""
|
267 |
+
"Nastavte maximálnu šírku obrazu vo ColorBox vo vzťahu k okna prehliadača v "
|
268 |
+
"percentách alebo pixeloch. Ak maximálna šírka nie je nastavená, obraz je "
|
269 |
+
"rovnako široká ako ColorBox"
|
270 |
|
271 |
#: includes/settings-page/sp-colorbox-settings.php:120
|
272 |
msgid "Maximum height of an image"
|
273 |
+
msgstr "Maximálna výška obrazu"
|
274 |
|
275 |
#: includes/settings-page/sp-colorbox-settings.php:125
|
276 |
#: includes/settings-page/sp-colorbox-settings.php:175
|
277 |
#: includes/settings-page/sp-colorbox-settings.php:225
|
278 |
msgid "Do not set height"
|
279 |
+
msgstr "Nastaviť výšku"
|
280 |
|
281 |
#: includes/settings-page/sp-colorbox-settings.php:129
|
282 |
msgid "Set maximum height of an image"
|
283 |
+
msgstr "Nastaviť maximálnu výšku obrazu"
|
284 |
|
285 |
#: includes/settings-page/sp-colorbox-settings.php:140
|
286 |
msgid ""
|
288 |
"browser window to a value in percent or pixels. If maximum height is not "
|
289 |
"set, the image is as high as the Colorbox"
|
290 |
msgstr ""
|
291 |
+
"Nastavte maximálnu výšku obrázku v ColorBox vo vzťahu k okna prehliadača na "
|
292 |
+
"hodnotu v percentách alebo pixeloch. Ak maximálna výška nie je nastavená, "
|
293 |
+
"obraz je rovnako vysoká ako ColorBox"
|
294 |
|
295 |
#: includes/settings-page/sp-colorbox-settings.php:145
|
296 |
msgid "Maximum width of the Colorbox"
|
297 |
+
msgstr "Maximálna šírka Colorbox"
|
298 |
|
299 |
#: includes/settings-page/sp-colorbox-settings.php:154
|
300 |
#: includes/settings-page/sp-colorbox-settings.php:204
|
301 |
msgid "Set width of the Colorbox"
|
302 |
+
msgstr "Nastaviť šírku Colorbox"
|
303 |
|
304 |
#: includes/settings-page/sp-colorbox-settings.php:165
|
305 |
#: includes/settings-page/sp-colorbox-settings.php:215
|
309 |
"the colorbox, scrollbars are displayed. If width is not set, the Colorbox "
|
310 |
"will be as wide as the picture in it"
|
311 |
msgstr ""
|
312 |
+
"Nastavte maximálnu šírku ColorBox sám vo vzťahu k okna prehliadača na "
|
313 |
+
"hodnotu medzi v percentách alebo pixeloch. Ak je obrázok väčší než ColorBox, "
|
314 |
+
"sú zobrazené posuvníky. Ak šírka je nastavená, budú ColorBox byť rovnako "
|
315 |
+
"široká ako na obrázku v ňom"
|
316 |
|
317 |
#: includes/settings-page/sp-colorbox-settings.php:170
|
318 |
msgid "Maximum height of the Colorbox"
|
319 |
+
msgstr "Maximálna výška Colorbox"
|
320 |
|
321 |
#: includes/settings-page/sp-colorbox-settings.php:179
|
322 |
#: includes/settings-page/sp-colorbox-settings.php:229
|
323 |
msgid "Set height of the Colorbox"
|
324 |
+
msgstr "Nastaviť výšku Colorbox"
|
325 |
|
326 |
#: includes/settings-page/sp-colorbox-settings.php:190
|
327 |
#: includes/settings-page/sp-colorbox-settings.php:240
|
331 |
"the colorbox, scrollbars are displayed. If height is not set, the Colorbox "
|
332 |
"will be as high as the picture in it"
|
333 |
msgstr ""
|
334 |
+
"Nastavte maximálnu výšku ColorBox sám vo vzťahu k okna prehliadača na "
|
335 |
+
"hodnotu medzi v percentách alebo pixeloch. Ak je obrázok väčší než ColorBox, "
|
336 |
+
"sú zobrazené posuvníky. Ak výška je nastavená, budú ColorBox byť tak vysoké "
|
337 |
+
"ako na obrázku v ňom"
|
338 |
|
339 |
#: includes/settings-page/sp-colorbox-settings.php:195
|
|
|
340 |
msgid "Maximum width of the Colorbox used for links"
|
341 |
+
msgstr "Maximálna šírka Colorbox prepojení"
|
342 |
|
343 |
#: includes/settings-page/sp-colorbox-settings.php:220
|
|
|
344 |
msgid "Maximum height of the Colorbox used for links"
|
345 |
+
msgstr "Maximálna výška Colorbox prepojení"
|
346 |
|
347 |
#: includes/settings-page/sp-colorbox-settings.php:245
|
|
|
348 |
msgid "Initial width of the Colorbox"
|
349 |
+
msgstr "Počiatočné šírka Colorbox"
|
350 |
|
351 |
#: includes/settings-page/sp-colorbox-settings.php:249
|
|
|
352 |
msgid "Set the maximum width of the Colorbox before the content is loaded"
|
353 |
+
msgstr "Nastavená maximálna šírka Colorbox pred je načítaný obsah"
|
354 |
|
355 |
#: includes/settings-page/sp-colorbox-settings.php:254
|
|
|
356 |
msgid "Initial height of the Colorbox"
|
357 |
+
msgstr "Počiatočná výška Colorbox"
|
358 |
|
359 |
#: includes/settings-page/sp-colorbox-settings.php:258
|
|
|
360 |
msgid "Set the maximum height of the Colorbox before the content is loaded"
|
361 |
+
msgstr "Nastavená maximálna výška Colorbox pred je načítaný obsah"
|
362 |
|
363 |
#: includes/settings-page/sp-colorbox-settings.php:263
|
364 |
msgid "Resize images"
|
365 |
+
msgstr "Veľkosť obrázkov"
|
366 |
|
367 |
#: includes/settings-page/sp-colorbox-settings.php:268
|
368 |
msgid ""
|
370 |
"of the Colorbox, or height of the Colorbox have been defined, ColorBox will "
|
371 |
"scale photos to fit within the those values"
|
372 |
msgstr ""
|
373 |
+
"Ak je aktivovaný a ak je maximálna šírka obrázkov, maximálna výška obrázkov, "
|
374 |
+
"šírka ColorBox, alebo výška ColorBox boli definované, bude ColorBox mierka "
|
375 |
+
"fotografií prispôsobiť v rámci týchto hodnôt"
|
376 |
|
377 |
#: includes/settings-page/sp-colorbox-settings.php:273
|
378 |
msgid "Close Colorbox on overlay click"
|
379 |
+
msgstr "Kliknite na tlačidlo Zavrieť Colorbox na prekrytie"
|
380 |
|
381 |
#: includes/settings-page/sp-colorbox-settings.php:278
|
382 |
msgid ""
|
383 |
"If checked, enables closing ColorBox by clicking on the background overlay"
|
384 |
msgstr ""
|
385 |
+
"If checked, enables closing ColorBox by clicking on the background overlay"
|
386 |
|
387 |
#: includes/settings-page/sp-colorbox-settings.php:283
|
388 |
msgid "Preload images"
|
389 |
+
msgstr "Predbežné načítanie obrázkov"
|
390 |
|
391 |
#: includes/settings-page/sp-colorbox-settings.php:288
|
392 |
msgid ""
|
393 |
"Allows for preloading of \"next\" and \"previous\" content in a group, after "
|
394 |
"the current content has finished loading. Uncheck box to disable."
|
395 |
msgstr ""
|
396 |
+
"Allows for preloading of \"next\" and \"previous\" content in a group, after "
|
397 |
+
"the current content has finished loading. Uncheck box to disable."
|
|
|
398 |
|
399 |
#: includes/settings-page/sp-colorbox-settings.php:293
|
400 |
msgid "Transition type"
|
405 |
"The transition type of the Colorbox. Can be set to \"elastic\", \"fade\", or "
|
406 |
"\"none\""
|
407 |
msgstr ""
|
408 |
+
"Prechod typ ColorBox. Môže byť nastavený na \"elastic\", \"fade\", or \"none"
|
409 |
+
"\""
|
410 |
|
411 |
#: includes/settings-page/sp-colorbox-settings.php:310
|
412 |
msgid "Transition speed"
|
415 |
#: includes/settings-page/sp-colorbox-settings.php:314
|
416 |
msgid ""
|
417 |
"Sets the speed of the \"fade\" and \"elastic\" transitions, in milliseconds"
|
418 |
+
msgstr "Nastavuje rýchlosť \"fade\" and \"elastic\"prechody, v milisekundách"
|
|
|
419 |
|
420 |
#: includes/settings-page/sp-colorbox-settings.php:319
|
421 |
msgid "Opacity"
|
422 |
+
msgstr "Nepriehľadnosť"
|
423 |
|
424 |
#: includes/settings-page/sp-colorbox-settings.php:323
|
425 |
msgid "The overlay opacity level. Range: 0 to 1"
|
426 |
+
msgstr "Prekrytie krytie na úrovni. Rozsah: 0-1"
|
427 |
|
428 |
#: includes/settings-page/sp-colorbox-settings.php:329
|
429 |
#: includes/settings-page/sp-plugin-settings.php:134
|
430 |
msgid "Save Changes"
|
431 |
+
msgstr "Uložiť zmeny"
|
432 |
|
433 |
#: includes/settings-page/sp-delete-settings.php:14
|
434 |
#: includes/settings-page/sp-delete-settings.php:23
|
435 |
msgid "Delete Settings"
|
436 |
+
msgstr "Odstrániť nastavenia"
|
437 |
|
438 |
#: includes/settings-page/sp-delete-settings.php:17
|
439 |
msgid "Check the box and click this button to delete settings of this plugin."
|
440 |
msgstr ""
|
441 |
+
"Začiarknite políčko a kliknite na toto tlačidlo Odstrániť nastavenia tohto "
|
442 |
+
"pluginu.ضع علامة في المربع واضغط على زر حذف الإعدادات ليتم حذف إعدادات "
|
443 |
+
"البرنامج."
|
444 |
|
445 |
#: includes/settings-page/sp-donate-box.php:14
|
446 |
msgid "Donate"
|
447 |
+
msgstr "Darovať"
|
448 |
|
449 |
#: includes/settings-page/sp-donate-box.php:18
|
450 |
msgid ""
|
451 |
"If you would like to make a small (or large) contribution towards future "
|
452 |
"development please consider making a donation."
|
453 |
msgstr ""
|
454 |
+
"Ak by ste chceli, aby sa malý (alebo veľký) prispieť k budúcemu rozvoju "
|
455 |
+
"zvážte prosím poskytnutia daru."
|
456 |
|
457 |
#: includes/settings-page/sp-donate-box.php:20
|
458 |
msgid "Donate using Paypal"
|
459 |
+
msgstr "Darovať cez Paypal"
|
460 |
|
461 |
#: includes/settings-page/sp-donate-box.php:24
|
462 |
msgid "Techotronic Development Support"
|
463 |
+
msgstr "Podporu rozvoja Techotronic"
|
464 |
|
465 |
#: includes/settings-page/sp-donate-box.php:28
|
466 |
msgid "Please enter the URL you'd like me to link to in the donors lists"
|
467 |
+
msgstr "Zadajte adresu URL by ste mi odkaz v zozname darcov"
|
468 |
|
469 |
#: includes/settings-page/sp-donate-box.php:30
|
470 |
msgid "Return to Your Dashboard"
|
471 |
+
msgstr "Návrat na palubnej doske"
|
472 |
|
473 |
#: includes/settings-page/sp-donate-box.php:34
|
474 |
msgid "Select Preset Amount"
|
475 |
+
msgstr "Vyberte prednastavený typ sumy"
|
476 |
|
477 |
#: includes/settings-page/sp-donate-box.php:42
|
478 |
#: includes/settings-page/sp-donate-box.php:46
|
485 |
|
486 |
#: includes/settings-page/sp-donate-box.php:44
|
487 |
msgid "Enter Custom Amount"
|
488 |
+
msgstr "Zadajte vlastné čiastku"
|
489 |
|
490 |
#: includes/settings-page/sp-donate-box.php:48
|
491 |
msgid "Submit"
|
492 |
+
msgstr "Predložiť"
|
493 |
|
494 |
#: includes/settings-page/sp-donations.php:14
|
495 |
msgid "Top donations"
|
496 |
+
msgstr "Top dary"
|
497 |
|
498 |
#: includes/settings-page/sp-donations.php:20
|
499 |
#: includes/settings-page/sp-donations.php:33
|
500 |
msgid "Thank you for your donation."
|
501 |
+
msgstr "Ďakujeme vám za váš dar."
|
502 |
|
503 |
#: includes/settings-page/sp-donations.php:27
|
504 |
msgid "Latest donations"
|
505 |
+
msgstr "Najnovšie dary"
|
506 |
|
507 |
#: includes/settings-page/sp-plugin-settings.php:13
|
|
|
508 |
msgid "Plugin settings"
|
509 |
+
msgstr "Plugin nastavenia"
|
510 |
|
511 |
#: includes/settings-page/sp-plugin-settings.php:20
|
512 |
+
#, php-format
|
513 |
msgid "Automate %1$s for all images in pages, posts and galleries"
|
514 |
+
msgstr "Automatizovať %1$ s pre všetky obrázky v stránok, príspevky a galérií"
|
515 |
|
516 |
#: includes/settings-page/sp-plugin-settings.php:25
|
517 |
msgid ""
|
519 |
"colorbox-class to galleries. Images in one page or post are grouped "
|
520 |
"automatically."
|
521 |
msgstr ""
|
522 |
+
"Automaticky pridať ColorBox-triedu obrázkov v príspevkoch a stránok. Tiež "
|
523 |
+
"dodáva, ColorBox-triedu do galérií. Obrázky v jednej stránky alebo poštou sú "
|
524 |
+
"zoskupené automaticky."
|
525 |
|
526 |
#: includes/settings-page/sp-plugin-settings.php:30
|
527 |
+
#, php-format
|
528 |
msgid "Automate %1$s for images in WordPress galleries only"
|
529 |
+
msgstr "Automatizovať %1$ s pre obrázky v WordPress galérie iba"
|
530 |
|
531 |
#: includes/settings-page/sp-plugin-settings.php:35
|
532 |
msgid ""
|
533 |
"Automatically add colorbox-class to images in WordPress galleries, but "
|
534 |
"nowhere else. Images in one page or post are grouped automatically."
|
535 |
msgstr ""
|
536 |
+
"Automaticky pridať ColorBox-triedu obrázkov v galériach WordPress, ale nikde "
|
537 |
+
"inde. Obrázky v jednej stránky alebo poštou sú zoskupené automaticky."
|
538 |
|
539 |
#: includes/settings-page/sp-plugin-settings.php:40
|
540 |
+
#, php-format
|
541 |
msgid "Automate %1$s for all other images"
|
542 |
+
msgstr "Automatizovať %1$ s pre všetky ostatné obrázky"
|
543 |
|
544 |
#: includes/settings-page/sp-plugin-settings.php:45
|
545 |
msgid ""
|
546 |
"Automatically add colorbox-class to all images that are not in posts and "
|
547 |
"pages (e.g. the sidebar)."
|
548 |
msgstr ""
|
549 |
+
"Automaticky pridať ColorBox-trieda pre všetky zábery, ktoré nie sú vo vašom "
|
550 |
+
"príspevku stránok (napr. rámček)."
|
551 |
|
552 |
#: includes/settings-page/sp-plugin-settings.php:50
|
553 |
+
#, php-format
|
554 |
msgid "Automate %1$s for all text links to images"
|
555 |
+
msgstr "Automatizovať %1$ s pre všetky textové odkazy na obrázky"
|
556 |
|
557 |
#: includes/settings-page/sp-plugin-settings.php:54
|
558 |
msgid ""
|
559 |
"Automatically add colorbox-link-class to all links that point to images."
|
560 |
msgstr ""
|
561 |
+
"Automaticky pridať ColorBox-link-trieda pre všetky odkazy, ktoré ukazujú na "
|
562 |
+
"obrazy."
|
563 |
|
564 |
#: includes/settings-page/sp-plugin-settings.php:59
|
565 |
msgid "Automate hiding of flash objects"
|
566 |
+
msgstr "Automatizovať schováva flash objektov"
|
567 |
|
568 |
#: includes/settings-page/sp-plugin-settings.php:64
|
569 |
msgid "Automatically hide embeded flash objects behind the Colorbox layer."
|
570 |
+
msgstr "Automaticky skryť embeded flash objekty za Colorbox vrstvu."
|
571 |
|
572 |
#: includes/settings-page/sp-plugin-settings.php:70
|
573 |
msgid "Add Zoom overlay to pictures"
|
574 |
+
msgstr "Pridať prekrytie Zoom do obrázkov"
|
575 |
|
576 |
#: includes/settings-page/sp-plugin-settings.php:76
|
577 |
msgid "Add Zoom overlay to pictures that open in a Colorbox."
|
578 |
+
msgstr "Pridať prekryv Zoom do obrázkov, ktoré otvárajú v Colorbox."
|
579 |
|
580 |
#: includes/settings-page/sp-plugin-settings.php:82
|
581 |
msgid "Use jQuery library from Google"
|
582 |
+
msgstr "Použitie jQuery knižnice od Google"
|
583 |
|
584 |
#: includes/settings-page/sp-plugin-settings.php:88
|
585 |
#, php-format
|
587 |
"Use jQuery library version %1$s from Google instead of the one that comes "
|
588 |
"with WordPress."
|
589 |
msgstr ""
|
590 |
+
"Pomocou jQuery knižnicu verzia %1$s od Google namiesto toho, ktorý "
|
591 |
+
"prichádza s WordPress."
|
592 |
|
593 |
#: includes/settings-page/sp-plugin-settings.php:94
|
594 |
msgid "Add JavaScript to footer"
|
595 |
+
msgstr "Pridať JavaScript na päty"
|
596 |
|
597 |
#: includes/settings-page/sp-plugin-settings.php:100
|
598 |
msgid "Add JavaScript to footer instead of the header."
|
599 |
+
msgstr "Pridať JavaScript footer miesto v hlavičke."
|
600 |
|
601 |
#: includes/settings-page/sp-plugin-settings.php:105
|
602 |
msgid "Remove link from Meta-box"
|
603 |
+
msgstr "Odstrániť odkaz z Meta-box"
|
604 |
|
605 |
#: includes/settings-page/sp-plugin-settings.php:109
|
606 |
msgid "Remove the link to the developers site from the WordPress meta-box."
|
607 |
+
msgstr "Odstrániť prepojenie na lokalitu vývojári z WordPress meta-box."
|
608 |
|
609 |
#: includes/settings-page/sp-plugin-settings.php:114
|
610 |
msgid "Activate debug mode"
|
611 |
+
msgstr "Aktivovať režim ladenia"
|
612 |
|
613 |
#: includes/settings-page/sp-plugin-settings.php:118
|
614 |
msgid ""
|
615 |
"Adds debug information and non-minified JavaScript to the page. Useful for "
|
616 |
"troubleshooting."
|
617 |
msgstr ""
|
618 |
+
"Pridá ladiace informácie a non-minified JavaScript na stránke. Užitočné pre "
|
619 |
+
"riešenie problémov."
|
620 |
|
621 |
#: includes/settings-page/sp-plugin-settings.php:123
|
622 |
msgid "Disable warning"
|
623 |
+
msgstr "Zakázať upozornenie"
|
624 |
|
625 |
#: includes/settings-page/sp-plugin-settings.php:128
|
626 |
msgid ""
|
627 |
"Disables the warning that is displayed if the plugin is activated but the "
|
628 |
"auto-colorbox feature for all images is turned off."
|
629 |
msgstr ""
|
630 |
+
"Zakáže varovanie, že sa zobrazí v prípade, že plugin je aktívny, ale auto-"
|
631 |
+
"ColorBox funkcie u všetkých snímok je vypnutý."
|
632 |
|
633 |
#: includes/settings-page/sp-translation.php:14
|
634 |
msgid "Translation"
|
639 |
"The english translation was done by <a href=\"http://www.techotronic.de"
|
640 |
"\">Arne Franken</a>."
|
641 |
msgstr ""
|
642 |
+
"Anglický preklad bol vykonaný <a href=\"http://www.techotronic.de\"> Arne "
|
643 |
+
"Franken </ a>."
|
644 |
|
645 |
#~ msgid "Make images draggable"
|
646 |
+
#~ msgstr "Make obrázky draggable"
|
647 |
|
648 |
#~ msgid "Make images draggable instead of scrollable"
|
649 |
+
#~ msgstr "Make obrázky draggable namiesto posúvateľný"
|
650 |
|
651 |
#~ msgid "Automate %1$s for all images"
|
652 |
+
#~ msgstr "Automatizovať %1$ s pre všetky obrázky"
|
653 |
|
654 |
#~ msgid "Automate %1$s for images in WordPress galleries"
|
655 |
+
#~ msgstr "Automatizovať %1$ s obrázkov v galérií WordPress"
|
656 |
+
|
657 |
+
#~ msgid "does not work with PHP 4. Please update or uninstall the plugin."
|
658 |
+
#~ msgstr "nepracuje s PHP 4. Aktualizujte alebo odinštalovať plugin."
|
659 |
|
660 |
#~ msgid "maxWidth"
|
661 |
+
#~ msgstr "maxWidth"
|
662 |
|
663 |
#~ msgid "maxHeight"
|
664 |
+
#~ msgstr "maxHeight"
|
665 |
|
666 |
#~ msgid "width"
|
667 |
+
#~ msgstr "šírka"
|
668 |
|
669 |
#~ msgid "height"
|
670 |
+
#~ msgstr "výška"
|
readme.txt
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
=== Plugin Name ===
|
2 |
Contributors: techotronic
|
3 |
-
Donate link: http://www.techotronic.de/donate/
|
4 |
Tags: jquery, colorbox, lightbox, images, pictures, photos, gallery, javascript, overlay, nextgen gallery, nextgen-gallery, image, picture, photo, media, slideshow, ngg, mu
|
5 |
Requires at least: 2.8
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 4.
|
8 |
|
9 |
Adds Colorbox/Lightbox functionality to images, grouped by post or page. Works for WordPress and NextGEN galleries. Comes with different themes.
|
10 |
|
@@ -34,6 +33,7 @@ If you have questions or problems, feel free to write an entry at [the jQuery Co
|
|
34 |
* Belorussian (`be_BY`) Marcis G.
|
35 |
* Bosnian (`bs_BA`) by Vedran Jurincic
|
36 |
* Bulgarian (`bg_BG`) by [Nikolay Zaynelov](http://nikolay.zaynelov.com)
|
|
|
37 |
* Simplified Chinese (`zh_CN`) by [Lucas Ho](http://tech.yiandya.com/)
|
38 |
* Danish (`da_DK`) by Michael Bering Petersen
|
39 |
* Dutch (`nl_NL`) by [Richard van Laak](http://nl.linkedin.com/pub/richard-laak/b/b21/672)
|
@@ -49,7 +49,7 @@ If you have questions or problems, feel free to write an entry at [the jQuery Co
|
|
49 |
* Portuguese (`pt_BR`) by [Gervásio Antônio](http://twitter.com/gervasioantonio)
|
50 |
* Romanian (`ro_RO`) by Luke Tyler
|
51 |
* Russian (`ru_RU`) by Arkadiy Florinskiy
|
52 |
-
* Slovak (`sk_SK`) by
|
53 |
* Spanish (`es_ES`) by Inma P.-Zubizarreta
|
54 |
* Swedish (`sv_SE`) by [Christian](http://www.theindiaexperience.se/)
|
55 |
* Turkish (`tr_TR`) by [Serhat Yolaçan](http://www.serhatyolacan.com/)
|
@@ -61,7 +61,7 @@ Translating the plugin is easy if you understand english and are fluent in anoth
|
|
61 |
I described in the [FAQ](http://wordpress.org/extend/plugins/jquery-colorbox/faq/) how the translation works.
|
62 |
|
63 |
**Credits**
|
64 |
-
Includes [ColorBox](http://jacklmoore.com/colorbox/) 1.
|
65 |
The picture I used for the screenshots was designed by [Davide Vicariotto](http://wallpapers.vintage.it/)
|
66 |
|
67 |
== Installation ==
|
@@ -139,6 +139,21 @@ Do not forget to activate auto Colorbox if you want the Lightbox/Colorbox to wor
|
|
139 |
I'll include new FAQs in newer versions.
|
140 |
|
141 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
### 4.5 (2012-11-03) ###
|
143 |
* NEW: Bulgarian translation by Nikolay Zaynelov
|
144 |
* BUGFIX: Zoom overlay does not break floating images any more
|
1 |
=== Plugin Name ===
|
2 |
Contributors: techotronic
|
|
|
3 |
Tags: jquery, colorbox, lightbox, images, pictures, photos, gallery, javascript, overlay, nextgen gallery, nextgen-gallery, image, picture, photo, media, slideshow, ngg, mu
|
4 |
Requires at least: 2.8
|
5 |
+
Tested up to: 4.6.1
|
6 |
+
Stable tag: 4.6.2
|
7 |
|
8 |
Adds Colorbox/Lightbox functionality to images, grouped by post or page. Works for WordPress and NextGEN galleries. Comes with different themes.
|
9 |
|
33 |
* Belorussian (`be_BY`) Marcis G.
|
34 |
* Bosnian (`bs_BA`) by Vedran Jurincic
|
35 |
* Bulgarian (`bg_BG`) by [Nikolay Zaynelov](http://nikolay.zaynelov.com)
|
36 |
+
* Czech (`cs_CZ`) by David Weis
|
37 |
* Simplified Chinese (`zh_CN`) by [Lucas Ho](http://tech.yiandya.com/)
|
38 |
* Danish (`da_DK`) by Michael Bering Petersen
|
39 |
* Dutch (`nl_NL`) by [Richard van Laak](http://nl.linkedin.com/pub/richard-laak/b/b21/672)
|
49 |
* Portuguese (`pt_BR`) by [Gervásio Antônio](http://twitter.com/gervasioantonio)
|
50 |
* Romanian (`ro_RO`) by Luke Tyler
|
51 |
* Russian (`ru_RU`) by Arkadiy Florinskiy
|
52 |
+
* Slovak (`sk_SK`) by B. Radenovich
|
53 |
* Spanish (`es_ES`) by Inma P.-Zubizarreta
|
54 |
* Swedish (`sv_SE`) by [Christian](http://www.theindiaexperience.se/)
|
55 |
* Turkish (`tr_TR`) by [Serhat Yolaçan](http://www.serhatyolacan.com/)
|
61 |
I described in the [FAQ](http://wordpress.org/extend/plugins/jquery-colorbox/faq/) how the translation works.
|
62 |
|
63 |
**Credits**
|
64 |
+
Includes [ColorBox](http://jacklmoore.com/colorbox/) 1.4.33 jQuery plugin from Jack Moore.
|
65 |
The picture I used for the screenshots was designed by [Davide Vicariotto](http://wallpapers.vintage.it/)
|
66 |
|
67 |
== Installation ==
|
139 |
I'll include new FAQs in newer versions.
|
140 |
|
141 |
== Changelog ==
|
142 |
+
### 4.6.2 (2016-11-14) ###
|
143 |
+
* BUGFIX: use __construct() to support newer PHP versions
|
144 |
+
* CHANGE: Add some graphix
|
145 |
+
|
146 |
+
### 4.6.1 (2015-12-06) ###
|
147 |
+
* CHANGE: If title attribute of image is empty, the alt attribute is used to display the colorbox title.
|
148 |
+
* CHANGE: update Colorbox version to 1.4.33
|
149 |
+
* CHANGE: update jQuery version to 1.10.1 (if selected on settings page)
|
150 |
+
|
151 |
+
### 4.6 (2013-01-21) ###
|
152 |
+
* NEW: Czech translation by David Weis
|
153 |
+
* CHANGE: Update of the Slovak translation by B. Radenovich
|
154 |
+
* CHANGE: update Colorbox version to 1.3.21
|
155 |
+
* CHANGE: update jQuery version to 1.9.0 (if selected on settings page)
|
156 |
+
|
157 |
### 4.5 (2012-11-03) ###
|
158 |
* NEW: Bulgarian translation by Nikolay Zaynelov
|
159 |
* BUGFIX: Zoom overlay does not break floating images any more
|
themes/theme1/colorbox.css
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}
|
24 |
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}
|
25 |
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}
|
@@ -34,13 +36,20 @@
|
|
34 |
#cboxLoadedContent{margin-bottom:28px;}
|
35 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
36 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
38 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
39 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
40 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
41 |
#cboxNext:hover{background-position:-50px -25px;}
|
42 |
-
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
43 |
-
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
44 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
45 |
#cboxClose:hover{background-position:-25px -25px;}
|
46 |
|
@@ -58,28 +67,4 @@
|
|
58 |
.cboxIE #cboxMiddleLeft,
|
59 |
.cboxIE #cboxMiddleRight {
|
60 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
61 |
-
}
|
62 |
-
|
63 |
-
/*
|
64 |
-
The following provides PNG transparency support for IE6
|
65 |
-
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
66 |
-
*/
|
67 |
-
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
|
68 |
-
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
|
69 |
-
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
|
70 |
-
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
|
71 |
-
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
|
72 |
-
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
|
73 |
-
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
|
74 |
-
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
|
75 |
-
|
76 |
-
.cboxIE6 #cboxTopLeft,
|
77 |
-
.cboxIE6 #cboxTopCenter,
|
78 |
-
.cboxIE6 #cboxTopRight,
|
79 |
-
.cboxIE6 #cboxBottomLeft,
|
80 |
-
.cboxIE6 #cboxBottomCenter,
|
81 |
-
.cboxIE6 #cboxBottomRight,
|
82 |
-
.cboxIE6 #cboxMiddleLeft,
|
83 |
-
.cboxIE6 #cboxMiddleRight {
|
84 |
-
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
|
85 |
-
}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
|
24 |
+
#colorbox{outline:0; font: 12px Tahoma, Arial,sans-serif;}
|
25 |
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}
|
26 |
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}
|
27 |
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}
|
36 |
#cboxLoadedContent{margin-bottom:28px;}
|
37 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
38 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
39 |
+
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
40 |
+
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
41 |
+
|
42 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
43 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
44 |
+
|
45 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
46 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
47 |
+
|
48 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
49 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
50 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
51 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
52 |
#cboxNext:hover{background-position:-50px -25px;}
|
|
|
|
|
53 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
54 |
#cboxClose:hover{background-position:-25px -25px;}
|
55 |
|
67 |
.cboxIE #cboxMiddleLeft,
|
68 |
.cboxIE #cboxMiddleRight {
|
69 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
70 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
themes/theme1/images/border.png
CHANGED
File without changes
|
themes/theme1/images/controls.png
CHANGED
File without changes
|
themes/theme1/images/ie6/borderBottomCenter.png
DELETED
Binary file
|
themes/theme1/images/ie6/borderBottomLeft.png
DELETED
Binary file
|
themes/theme1/images/ie6/borderBottomRight.png
DELETED
Binary file
|
themes/theme1/images/ie6/borderMiddleLeft.png
DELETED
Binary file
|
themes/theme1/images/ie6/borderMiddleRight.png
DELETED
Binary file
|
themes/theme1/images/ie6/borderTopCenter.png
DELETED
Binary file
|
themes/theme1/images/ie6/borderTopLeft.png
DELETED
Binary file
|
themes/theme1/images/ie6/borderTopRight.png
DELETED
Binary file
|
themes/theme1/images/loading.gif
CHANGED
File without changes
|
themes/theme1/images/loading_background.png
CHANGED
File without changes
|
themes/theme1/images/overlay.png
CHANGED
File without changes
|
themes/theme10/colorbox.css
CHANGED
@@ -1,17 +1,19 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
@@ -19,7 +21,7 @@
|
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:#000;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
#cboxContent{margin-top:20px; overflow:hidden;}
|
24 |
.cboxIframe{background:#fff;}
|
25 |
#cboxError{padding:50px; border:1px solid #ccc;}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:#000;}
|
24 |
+
#colorbox{outline:0; font: 12px Tahoma, Arial,sans-serif;}
|
25 |
#cboxContent{margin-top:20px; overflow:hidden;}
|
26 |
.cboxIframe{background:#fff;}
|
27 |
#cboxError{padding:50px; border:1px solid #ccc;}
|
themes/theme11/colorbox.css
CHANGED
@@ -1,29 +1,31 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:#fff;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
-
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -
|
24 |
-
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -
|
25 |
-
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -
|
26 |
-
#cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -
|
27 |
#cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
|
28 |
#cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
|
29 |
#cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
|
@@ -34,13 +36,20 @@
|
|
34 |
#cboxLoadedContent{margin-bottom:28px;}
|
35 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
36 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
38 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
39 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
40 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
41 |
#cboxNext:hover{background-position:-50px -25px;}
|
42 |
-
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
43 |
-
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
44 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
45 |
#cboxClose:hover{background-position:-25px -25px;}
|
46 |
|
@@ -58,28 +67,4 @@
|
|
58 |
.cboxIE #cboxMiddleLeft,
|
59 |
.cboxIE #cboxMiddleRight {
|
60 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
61 |
-
}
|
62 |
-
|
63 |
-
/*
|
64 |
-
The following provides PNG transparency support for IE6
|
65 |
-
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
66 |
-
*/
|
67 |
-
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
|
68 |
-
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
|
69 |
-
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
|
70 |
-
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
|
71 |
-
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
|
72 |
-
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
|
73 |
-
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
|
74 |
-
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
|
75 |
-
|
76 |
-
.cboxIE6 #cboxTopLeft,
|
77 |
-
.cboxIE6 #cboxTopCenter,
|
78 |
-
.cboxIE6 #cboxTopRight,
|
79 |
-
.cboxIE6 #cboxBottomLeft,
|
80 |
-
.cboxIE6 #cboxBottomCenter,
|
81 |
-
.cboxIE6 #cboxBottomRight,
|
82 |
-
.cboxIE6 #cboxMiddleLeft,
|
83 |
-
.cboxIE6 #cboxMiddleRight {
|
84 |
-
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
|
85 |
-
}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:#fff;}
|
24 |
+
#colorbox{outline:0; font: 12px Tahoma, Arial,sans-serif;}
|
25 |
+
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}
|
26 |
+
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}
|
27 |
+
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}
|
28 |
+
#cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px -29px;}
|
29 |
#cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}
|
30 |
#cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}
|
31 |
#cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}
|
36 |
#cboxLoadedContent{margin-bottom:28px;}
|
37 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
38 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
39 |
+
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
40 |
+
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
41 |
+
|
42 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
43 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
44 |
+
|
45 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
46 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
47 |
+
|
48 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
49 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
50 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
51 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
52 |
#cboxNext:hover{background-position:-50px -25px;}
|
|
|
|
|
53 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
54 |
#cboxClose:hover{background-position:-25px -25px;}
|
55 |
|
67 |
.cboxIE #cboxMiddleLeft,
|
68 |
.cboxIE #cboxMiddleRight {
|
69 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
70 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
themes/theme11/images/ie6/borderBottomCenter.png
DELETED
Binary file
|
themes/theme11/images/ie6/borderBottomLeft.png
DELETED
Binary file
|
themes/theme11/images/ie6/borderBottomRight.png
DELETED
Binary file
|
themes/theme11/images/ie6/borderMiddleLeft.png
DELETED
Binary file
|
themes/theme11/images/ie6/borderMiddleRight.png
DELETED
Binary file
|
themes/theme11/images/ie6/borderTopCenter.png
DELETED
Binary file
|
themes/theme11/images/ie6/borderTopLeft.png
DELETED
Binary file
|
themes/theme11/images/ie6/borderTopRight.png
DELETED
Binary file
|
themes/theme2/colorbox.css
CHANGED
@@ -1,26 +1,28 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:#fff;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
-
#cboxContent{margin-top:32px; overflow:visible;}
|
24 |
.cboxIframe{background:#fff;}
|
25 |
#cboxError{padding:50px; border:1px solid #ccc;}
|
26 |
#cboxLoadedContent{background:#000; padding:1px;}
|
@@ -28,7 +30,13 @@
|
|
28 |
#cboxLoadingOverlay{background:#000;}
|
29 |
#cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
|
30 |
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
#cboxPrevious{background-position:0px 0px; right:44px;}
|
33 |
#cboxPrevious:hover{background-position:0px -25px;}
|
34 |
#cboxNext{background-position:-25px 0px; right:22px;}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:#fff;}
|
24 |
+
#colorbox{outline:0; font: 12px Tahoma, Arial,sans-serif;}
|
25 |
+
#cboxContent{margin-top:32px; overflow:visible; background:#000;}
|
26 |
.cboxIframe{background:#fff;}
|
27 |
#cboxError{padding:50px; border:1px solid #ccc;}
|
28 |
#cboxLoadedContent{background:#000; padding:1px;}
|
30 |
#cboxLoadingOverlay{background:#000;}
|
31 |
#cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
|
32 |
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
|
33 |
+
|
34 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
35 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;}
|
36 |
+
|
37 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
38 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
39 |
+
|
40 |
#cboxPrevious{background-position:0px 0px; right:44px;}
|
41 |
#cboxPrevious:hover{background-position:0px -25px;}
|
42 |
#cboxNext{background-position:-25px 0px; right:22px;}
|
themes/theme2/images/controls.png
CHANGED
File without changes
|
themes/theme2/images/loading.gif
CHANGED
File without changes
|
themes/theme3/colorbox.css
CHANGED
@@ -1,37 +1,45 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:#000;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
-
#cboxContent{margin-top:20px;}
|
24 |
.cboxIframe{background:#fff;}
|
25 |
#cboxError{padding:50px; border:1px solid #ccc;}
|
26 |
#cboxLoadedContent{border:5px solid #000; background:#fff;}
|
27 |
#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
|
28 |
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
|
30 |
#cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
|
31 |
#cboxPrevious:hover{background-position:bottom left;}
|
32 |
#cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
|
33 |
#cboxNext:hover{background-position:bottom right;}
|
34 |
-
#cboxLoadingOverlay{background:#000;}
|
35 |
-
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
36 |
#cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
|
37 |
-
#cboxClose:hover{background-position:bottom center;}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:#000;}
|
24 |
+
#colorbox{outline:0;font: 12px Tahoma, Arial,sans-serif;}
|
25 |
+
#cboxContent{margin-top:20px;background:#000;}
|
26 |
.cboxIframe{background:#fff;}
|
27 |
#cboxError{padding:50px; border:1px solid #ccc;}
|
28 |
#cboxLoadedContent{border:5px solid #000; background:#fff;}
|
29 |
#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
|
30 |
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
|
31 |
+
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
32 |
+
|
33 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
34 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
35 |
+
|
36 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
37 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
38 |
+
|
39 |
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
|
40 |
#cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
|
41 |
#cboxPrevious:hover{background-position:bottom left;}
|
42 |
#cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
|
43 |
#cboxNext:hover{background-position:bottom right;}
|
|
|
|
|
44 |
#cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
|
45 |
+
#cboxClose:hover{background-position:bottom center;}
|
themes/theme3/images/controls.png
CHANGED
File without changes
|
themes/theme3/images/loading.gif
CHANGED
File without changes
|
themes/theme4/colorbox.css
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:#fff;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
#cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 0;}
|
24 |
#cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px;}
|
25 |
#cboxTopRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px 0;}
|
@@ -34,10 +36,17 @@
|
|
34 |
#cboxLoadedContent{margin-bottom:20px;}
|
35 |
#cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
|
36 |
#cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
#cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
|
38 |
#cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
|
39 |
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
|
40 |
-
#cboxLoadingOverlay{background:#fff url(images/loading.gif) no-repeat 5px 5px;}
|
41 |
#cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
|
42 |
|
43 |
/*
|
@@ -54,28 +63,4 @@
|
|
54 |
.cboxIE #cboxMiddleLeft,
|
55 |
.cboxIE #cboxMiddleRight {
|
56 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
57 |
-
}
|
58 |
-
|
59 |
-
/*
|
60 |
-
The following provides PNG transparency support for IE6
|
61 |
-
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
62 |
-
*/
|
63 |
-
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
|
64 |
-
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
|
65 |
-
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
|
66 |
-
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
|
67 |
-
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
|
68 |
-
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
|
69 |
-
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
|
70 |
-
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
|
71 |
-
|
72 |
-
.cboxIE6 #cboxTopLeft,
|
73 |
-
.cboxIE6 #cboxTopCenter,
|
74 |
-
.cboxIE6 #cboxTopRight,
|
75 |
-
.cboxIE6 #cboxBottomLeft,
|
76 |
-
.cboxIE6 #cboxBottomCenter,
|
77 |
-
.cboxIE6 #cboxBottomRight,
|
78 |
-
.cboxIE6 #cboxMiddleLeft,
|
79 |
-
.cboxIE6 #cboxMiddleRight {
|
80 |
-
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
|
81 |
-
}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:#fff;}
|
24 |
+
#colorbox{outline:0;font: 12px Tahoma, Arial,sans-serif;}
|
25 |
#cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 0;}
|
26 |
#cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px;}
|
27 |
#cboxTopRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px 0;}
|
36 |
#cboxLoadedContent{margin-bottom:20px;}
|
37 |
#cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
|
38 |
#cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
|
39 |
+
#cboxLoadingOverlay{background:#fff url(images/loading.gif) no-repeat 5px 5px;}
|
40 |
+
|
41 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
42 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
43 |
+
|
44 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
45 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
46 |
+
|
47 |
#cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
|
48 |
#cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
|
49 |
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
|
|
|
50 |
#cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
|
51 |
|
52 |
/*
|
63 |
.cboxIE #cboxMiddleLeft,
|
64 |
.cboxIE #cboxMiddleRight {
|
65 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
66 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
themes/theme4/images/border1.png
CHANGED
File without changes
|
themes/theme4/images/border2.png
CHANGED
File without changes
|
themes/theme4/images/ie6/borderBottomCenter.png
DELETED
Binary file
|
themes/theme4/images/ie6/borderBottomLeft.png
DELETED
Binary file
|
themes/theme4/images/ie6/borderBottomRight.png
DELETED
Binary file
|
themes/theme4/images/ie6/borderMiddleLeft.png
DELETED
Binary file
|
themes/theme4/images/ie6/borderMiddleRight.png
DELETED
Binary file
|
themes/theme4/images/ie6/borderTopCenter.png
DELETED
Binary file
|
themes/theme4/images/ie6/borderTopLeft.png
DELETED
Binary file
|
themes/theme4/images/ie6/borderTopRight.png
DELETED
Binary file
|
themes/theme4/images/loading.gif
CHANGED
File without changes
|
themes/theme5/colorbox.css
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:#000;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
#cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) no-repeat 0 0;}
|
24 |
#cboxTopCenter{height:14px; background:url(images/border.png) repeat-x top left;}
|
25 |
#cboxTopRight{width:14px; height:14px; background:url(images/controls.png) no-repeat -36px 0;}
|
@@ -36,15 +38,20 @@
|
|
36 |
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
37 |
#cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
|
38 |
#cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
|
|
|
|
|
|
|
39 |
|
40 |
-
|
|
|
|
|
41 |
#cboxPrevious{left:0px; background-position: -51px -25px;}
|
42 |
#cboxPrevious:hover{background-position:-51px 0px;}
|
43 |
#cboxNext{left:27px; background-position:-75px -25px;}
|
44 |
#cboxNext:hover{background-position:-75px 0px;}
|
45 |
#cboxClose{right:0; background-position:-100px -25px;}
|
46 |
#cboxClose:hover{background-position:-100px 0px;}
|
47 |
-
|
48 |
.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
|
49 |
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
|
50 |
.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:#000;}
|
24 |
+
#colorbox{outline:0;font: 12px Tahoma, Arial,sans-serif;}
|
25 |
#cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) no-repeat 0 0;}
|
26 |
#cboxTopCenter{height:14px; background:url(images/border.png) repeat-x top left;}
|
27 |
#cboxTopRight{width:14px; height:14px; background:url(images/controls.png) no-repeat -36px 0;}
|
38 |
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
39 |
#cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
|
40 |
#cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
|
41 |
+
|
42 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
43 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; position:absolute; bottom:-29px; background:url(images/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
|
44 |
|
45 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
46 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
47 |
+
|
48 |
#cboxPrevious{left:0px; background-position: -51px -25px;}
|
49 |
#cboxPrevious:hover{background-position:-51px 0px;}
|
50 |
#cboxNext{left:27px; background-position:-75px -25px;}
|
51 |
#cboxNext:hover{background-position:-75px 0px;}
|
52 |
#cboxClose{right:0; background-position:-100px -25px;}
|
53 |
#cboxClose:hover{background-position:-100px 0px;}
|
54 |
+
|
55 |
.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
|
56 |
.cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}
|
57 |
.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
|
themes/theme5/images/border.png
CHANGED
File without changes
|
themes/theme5/images/controls.png
CHANGED
File without changes
|
themes/theme5/images/loading.gif
CHANGED
File without changes
|
themes/theme5/images/loading_background.png
CHANGED
File without changes
|
themes/theme6/colorbox.css
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;}
|
24 |
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;}
|
25 |
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;}
|
@@ -34,12 +36,19 @@
|
|
34 |
#cboxLoadedContent{margin-bottom:28px;}
|
35 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
36 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
38 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
39 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
40 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
41 |
#cboxNext:hover{background-position:-50px -25px;}
|
42 |
-
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
43 |
-
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
44 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
45 |
-
#cboxClose:hover{background-position:-25px -25px;}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
|
24 |
+
#colorbox{outline:0; font: 12px Tahoma, Arial,sans-serif;}
|
25 |
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;}
|
26 |
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;}
|
27 |
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;}
|
36 |
#cboxLoadedContent{margin-bottom:28px;}
|
37 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
38 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
39 |
+
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
40 |
+
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
41 |
+
|
42 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
43 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
44 |
+
|
45 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
46 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
47 |
+
|
48 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
49 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
50 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
51 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
52 |
#cboxNext:hover{background-position:-50px -25px;}
|
|
|
|
|
53 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
54 |
+
#cboxClose:hover{background-position:-25px -25px;}
|
themes/theme7/colorbox.css
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
-
#cboxOverlay{background
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}
|
24 |
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}
|
25 |
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}
|
@@ -34,13 +36,20 @@
|
|
34 |
#cboxLoadedContent{margin-bottom:28px;}
|
35 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
36 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
38 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
39 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
40 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
41 |
#cboxNext:hover{background-position:-50px -25px;}
|
42 |
-
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
43 |
-
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
44 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
45 |
#cboxClose:hover{background-position:-25px -25px;}
|
46 |
|
@@ -58,28 +67,4 @@
|
|
58 |
.cboxIE #cboxMiddleLeft,
|
59 |
.cboxIE #cboxMiddleRight {
|
60 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
61 |
-
}
|
62 |
-
|
63 |
-
/*
|
64 |
-
The following provides PNG transparency support for IE6
|
65 |
-
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
66 |
-
*/
|
67 |
-
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
|
68 |
-
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
|
69 |
-
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
|
70 |
-
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
|
71 |
-
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
|
72 |
-
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
|
73 |
-
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
|
74 |
-
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
|
75 |
-
|
76 |
-
.cboxIE6 #cboxTopLeft,
|
77 |
-
.cboxIE6 #cboxTopCenter,
|
78 |
-
.cboxIE6 #cboxTopRight,
|
79 |
-
.cboxIE6 #cboxBottomLeft,
|
80 |
-
.cboxIE6 #cboxBottomCenter,
|
81 |
-
.cboxIE6 #cboxBottomRight,
|
82 |
-
.cboxIE6 #cboxMiddleLeft,
|
83 |
-
.cboxIE6 #cboxMiddleRight {
|
84 |
-
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
|
85 |
-
}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
+
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
|
24 |
+
#colorbox{outline:0; font: 12px Tahoma, Arial,sans-serif;}
|
25 |
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}
|
26 |
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}
|
27 |
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}
|
36 |
#cboxLoadedContent{margin-bottom:28px;}
|
37 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
38 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
39 |
+
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
40 |
+
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
41 |
+
|
42 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
43 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
44 |
+
|
45 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
46 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
47 |
+
|
48 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
49 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
50 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
51 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
52 |
#cboxNext:hover{background-position:-50px -25px;}
|
|
|
|
|
53 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
54 |
#cboxClose:hover{background-position:-25px -25px;}
|
55 |
|
67 |
.cboxIE #cboxMiddleLeft,
|
68 |
.cboxIE #cboxMiddleRight {
|
69 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
70 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
themes/theme7/images/ie6/borderBottomCenter.png
DELETED
Binary file
|
themes/theme7/images/ie6/borderBottomLeft.png
DELETED
Binary file
|
themes/theme7/images/ie6/borderBottomRight.png
DELETED
Binary file
|
themes/theme7/images/ie6/borderMiddleLeft.png
DELETED
Binary file
|
themes/theme7/images/ie6/borderMiddleRight.png
DELETED
Binary file
|
themes/theme7/images/ie6/borderTopCenter.png
DELETED
Binary file
|
themes/theme7/images/ie6/borderTopLeft.png
DELETED
Binary file
|
themes/theme7/images/ie6/borderTopRight.png
DELETED
Binary file
|
themes/theme8/colorbox.css
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
-
#cboxOverlay{background
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;}
|
24 |
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;}
|
25 |
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;}
|
@@ -34,12 +36,19 @@
|
|
34 |
#cboxLoadedContent{margin-bottom:28px;}
|
35 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
36 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
38 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
39 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
40 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
41 |
#cboxNext:hover{background-position:-50px -25px;}
|
42 |
-
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
43 |
-
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
44 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
45 |
-
#cboxClose:hover{background-position:-25px -25px;}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
+
#cboxOverlay{background:url(images/overlay.png) repeat 0 0;}
|
24 |
+
#colorbox{outline:0; font: 12px Tahoma, Arial,sans-serif;}
|
25 |
#cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px 0;}
|
26 |
#cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -129px 0;}
|
27 |
#cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -100px -29px;}
|
36 |
#cboxLoadedContent{margin-bottom:28px;}
|
37 |
#cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
|
38 |
#cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
|
39 |
+
#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}
|
40 |
+
#cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
|
41 |
+
|
42 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
43 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
44 |
+
|
45 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
46 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
47 |
+
|
48 |
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
|
49 |
#cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
|
50 |
#cboxPrevious:hover{background-position:-75px -25px;}
|
51 |
#cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
|
52 |
#cboxNext:hover{background-position:-50px -25px;}
|
|
|
|
|
53 |
#cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
|
54 |
+
#cboxClose:hover{background-position:-25px -25px;}
|
themes/theme9/colorbox.css
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
/*
|
2 |
-
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
-
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:
|
|
|
6 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
7 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
8 |
#cboxContent{position:relative;}
|
9 |
-
#cboxLoadedContent{overflow:auto;}
|
10 |
#cboxTitle{margin:0;}
|
11 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
12 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
13 |
-
.cboxPhoto{float:left; margin:auto; border:0; display:block;
|
14 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
|
|
15 |
|
16 |
/*
|
17 |
User Style:
|
18 |
-
Change the following styles to modify the appearance of
|
19 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
20 |
*/
|
21 |
#cboxOverlay{background:#fff;}
|
22 |
-
#colorbox{font: 12px Tahoma, Arial,sans-serif;}
|
23 |
#cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 0;}
|
24 |
#cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px;}
|
25 |
#cboxTopRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px 0;}
|
@@ -32,22 +34,20 @@
|
|
32 |
.cboxIframe{background:#fff;}
|
33 |
#cboxError{padding:50px; border:1px solid #ccc;}
|
34 |
#cboxLoadedContent{margin-bottom:20px;}
|
35 |
-
#cboxTitle{position:absolute; bottom:
|
36 |
-
#cboxCurrent{position:absolute; bottom:
|
37 |
-
#
|
38 |
-
|
39 |
-
|
40 |
-
#cboxNext{
|
41 |
-
|
42 |
-
|
43 |
-
#cboxNext:
|
44 |
-
|
45 |
-
#
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0; right:44px;}
|
50 |
-
.cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
|
51 |
|
52 |
/*
|
53 |
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
|
@@ -63,28 +63,4 @@
|
|
63 |
.cboxIE #cboxMiddleLeft,
|
64 |
.cboxIE #cboxMiddleRight {
|
65 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
66 |
-
}
|
67 |
-
|
68 |
-
/*
|
69 |
-
The following provides PNG transparency support for IE6
|
70 |
-
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
|
71 |
-
*/
|
72 |
-
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
|
73 |
-
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
|
74 |
-
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
|
75 |
-
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
|
76 |
-
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
|
77 |
-
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
|
78 |
-
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
|
79 |
-
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}
|
80 |
-
|
81 |
-
.cboxIE6 #cboxTopLeft,
|
82 |
-
.cboxIE6 #cboxTopCenter,
|
83 |
-
.cboxIE6 #cboxTopRight,
|
84 |
-
.cboxIE6 #cboxBottomLeft,
|
85 |
-
.cboxIE6 #cboxBottomCenter,
|
86 |
-
.cboxIE6 #cboxBottomRight,
|
87 |
-
.cboxIE6 #cboxMiddleLeft,
|
88 |
-
.cboxIE6 #cboxMiddleRight {
|
89 |
-
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
|
90 |
}
|
1 |
/*
|
2 |
+
Colorbox Core Style:
|
3 |
The following CSS is consistent between example themes and should not be altered.
|
4 |
*/
|
5 |
+
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
|
6 |
+
#cboxWrapper {max-width:none;}
|
7 |
#cboxOverlay{position:fixed; width:100%; height:100%;}
|
8 |
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
|
9 |
#cboxContent{position:relative;}
|
10 |
+
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
|
11 |
#cboxTitle{margin:0;}
|
12 |
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
|
13 |
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
|
14 |
+
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
|
15 |
.cboxIframe{width:100%; height:100%; display:block; border:0;}
|
16 |
+
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
|
17 |
|
18 |
/*
|
19 |
User Style:
|
20 |
+
Change the following styles to modify the appearance of Colorbox. They are
|
21 |
ordered & tabbed in a way that represents the nesting of the generated HTML.
|
22 |
*/
|
23 |
#cboxOverlay{background:#fff;}
|
24 |
+
#colorbox{outline:0;font: 12px Tahoma, Arial,sans-serif;}
|
25 |
#cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 0;}
|
26 |
#cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px;}
|
27 |
#cboxTopRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px 0;}
|
34 |
.cboxIframe{background:#fff;}
|
35 |
#cboxError{padding:50px; border:1px solid #ccc;}
|
36 |
#cboxLoadedContent{margin-bottom:20px;}
|
37 |
+
#cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
|
38 |
+
#cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
|
39 |
+
#cboxLoadingOverlay{background:#fff url(images/loading.gif) no-repeat 5px 5px;}
|
40 |
+
|
41 |
+
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
|
42 |
+
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
|
43 |
+
|
44 |
+
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
|
45 |
+
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
|
46 |
+
|
47 |
+
#cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
|
48 |
+
#cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;}
|
49 |
+
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
|
50 |
+
#cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
|
|
|
|
|
51 |
|
52 |
/*
|
53 |
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
|
63 |
.cboxIE #cboxMiddleLeft,
|
64 |
.cboxIE #cboxMiddleRight {
|
65 |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|
themes/theme9/images/ie6/borderBottomCenter.png
DELETED
Binary file
|
themes/theme9/images/ie6/borderBottomLeft.png
DELETED
Binary file
|
themes/theme9/images/ie6/borderBottomRight.png
DELETED
Binary file
|
themes/theme9/images/ie6/borderMiddleLeft.png
DELETED
Binary file
|
themes/theme9/images/ie6/borderMiddleRight.png
DELETED
Binary file
|
themes/theme9/images/ie6/borderTopCenter.png
DELETED
Binary file
|
themes/theme9/images/ie6/borderTopLeft.png
DELETED
Binary file
|
themes/theme9/images/ie6/borderTopRight.png
DELETED
Binary file
|