Version Description
Current Version of Popup Builder is 2.5.9.3
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 2.5.9.3 |
Comparing to | |
See all releases |
Code changes from version 2.5.9.2 to 2.5.9.3
- classes/PopupInstaller.php +0 -7
- classes/SGPopup.php +14 -0
- config.php +2 -2
- files/sg_functions.php +1 -1
- files/sg_popup_actions.php +10 -2
- files/sg_popup_ajax.php +6 -0
- files/sg_popup_create_new.php +9 -2
- files/sg_popup_save.php +1 -1
- helpers/Integrate_external_settings.php +1 -0
- javascript/jquery.sgcolorbox-min.js +1 -1
- javascript/sg_popup_frontend.js +90 -13
- javascript/sg_resize.js +266 -0
- popup-builder.php +4 -2
- readme.txt +11 -6
- style/sg_popup_style.css +4 -0
- style/sgcolorbox/sgthemes.css +1 -1
classes/PopupInstaller.php
CHANGED
@@ -69,13 +69,6 @@ class PopupInstaller {
|
|
69 |
$wpdb->query($sgPopupShortcodeBase);
|
70 |
$wpdb->query($sgPopupAddon);
|
71 |
$wpdb->query($addonsConnectionTable);
|
72 |
-
|
73 |
-
$columnInfo = $wpdb->query("SHOW COLUMNS FROM ".$wpdb->prefix.$blogId.SGPBExtension::SGPB_ADDON_TABLE_NAME." LIKE 'isEvent'");
|
74 |
-
if(!$columnInfo) {
|
75 |
-
$alterQuery = "ALTER TABLE ".$wpdb->prefix.$blogId.SGPBExtension::SGPB_ADDON_TABLE_NAME." ADD isEvent TINYINT UNSIGNED NOT NULL";
|
76 |
-
$wpdb->query($alterQuery);
|
77 |
-
}
|
78 |
-
|
79 |
}
|
80 |
|
81 |
public static function install() {
|
69 |
$wpdb->query($sgPopupShortcodeBase);
|
70 |
$wpdb->query($sgPopupAddon);
|
71 |
$wpdb->query($addonsConnectionTable);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
|
74 |
public static function install() {
|
classes/SGPopup.php
CHANGED
@@ -465,6 +465,20 @@ abstract class SGPopup {
|
|
465 |
return $locale;
|
466 |
}
|
467 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
}
|
469 |
|
470 |
function sgSafeStr ($param) {
|
465 |
return $locale;
|
466 |
}
|
467 |
|
468 |
+
protected function changeDimension($dimension) {
|
469 |
+
|
470 |
+
if(empty($dimension)) {
|
471 |
+
return 'inherit';
|
472 |
+
}
|
473 |
+
|
474 |
+
$size = (int)$dimension.'px';
|
475 |
+
|
476 |
+
if(strpos($dimension, '%') || strpos($dimension, 'px')) {
|
477 |
+
$size = $dimension;
|
478 |
+
}
|
479 |
+
|
480 |
+
return $size;
|
481 |
+
}
|
482 |
}
|
483 |
|
484 |
function sgSafeStr ($param) {
|
config.php
CHANGED
@@ -24,8 +24,8 @@ if(!class_exists('SgPopupBuilderConfig')) {
|
|
24 |
define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
|
25 |
define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
|
26 |
define('SG_APP_POPUP_TABLE_LIMIT', 15);
|
27 |
-
define('SG_POPUP_VERSION', 2.
|
28 |
-
define('SG_POPUP_PRO_VERSION', 3.
|
29 |
define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
|
30 |
define('SG_POPUP_EXTENSION_URL', 'http://popup-builder.com/extensions');
|
31 |
define('SG_MAILCHIMP_EXTENSION_URL', 'http://popup-builder.com/downloads/mailchimp/');
|
24 |
define('SG_APP_POPUP_JS', SG_APP_POPUP_PATH . '/javascript');
|
25 |
define('SG_APP_POPUP_HELPERS', SG_APP_POPUP_PATH . '/helpers/');
|
26 |
define('SG_APP_POPUP_TABLE_LIMIT', 15);
|
27 |
+
define('SG_POPUP_VERSION', 2.593);
|
28 |
+
define('SG_POPUP_PRO_VERSION', 3.31);
|
29 |
define('SG_POPUP_PRO_URL', 'http://popup-builder.com/');
|
30 |
define('SG_POPUP_EXTENSION_URL', 'http://popup-builder.com/extensions');
|
31 |
define('SG_MAILCHIMP_EXTENSION_URL', 'http://popup-builder.com/downloads/mailchimp/');
|
files/sg_functions.php
CHANGED
@@ -114,7 +114,7 @@ class SGFunctions
|
|
114 |
</div>
|
115 |
<div>
|
116 |
<span class="sg-info-close">+</span>
|
117 |
-
<span class="sg-dont-show-agin" data-ajaxnonce="'.esc_attr($ajaxNonce).'">Don’t show again.</span>
|
118 |
</div>
|
119 |
</div>
|
120 |
<?php
|
114 |
</div>
|
115 |
<div>
|
116 |
<span class="sg-info-close">+</span>
|
117 |
+
<?php echo '<span class="sg-dont-show-agin" data-ajaxnonce="'.esc_attr($ajaxNonce).'">Don’t show again.</span>'; ?>
|
118 |
</div>
|
119 |
</div>
|
120 |
<?php
|
files/sg_popup_actions.php
CHANGED
@@ -54,6 +54,10 @@ function sgnewslatter_repeat_function($args) {
|
|
54 |
$sendingLimit = $params['emailsOneTime'];
|
55 |
$emailMessage = $params['messageBody'];
|
56 |
$mailSubject = $params['newsletterSubject'];
|
|
|
|
|
|
|
|
|
57 |
$successMails = 0;
|
58 |
$allData = array();
|
59 |
$adminEmail = get_option('admin_email');
|
@@ -92,8 +96,12 @@ function sgnewslatter_repeat_function($args) {
|
|
92 |
}
|
93 |
|
94 |
/*Mail Headers*/
|
95 |
-
$
|
96 |
-
$headers
|
|
|
|
|
|
|
|
|
97 |
|
98 |
foreach ($allData as $data) {
|
99 |
|
54 |
$sendingLimit = $params['emailsOneTime'];
|
55 |
$emailMessage = $params['messageBody'];
|
56 |
$mailSubject = $params['newsletterSubject'];
|
57 |
+
$fromEmail = $params['fromEmail'];
|
58 |
+
if (!preg_match("/^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$/", $fromEmail)) {
|
59 |
+
$fromEmail = "popupBuilder@gmail.com";
|
60 |
+
}
|
61 |
$successMails = 0;
|
62 |
$allData = array();
|
63 |
$adminEmail = get_option('admin_email');
|
96 |
}
|
97 |
|
98 |
/*Mail Headers*/
|
99 |
+
$blogInfo = get_bloginfo();
|
100 |
+
$headers = array(
|
101 |
+
'From: "'.$blogInfo.'" <'.$fromEmail.'>' ,
|
102 |
+
'MIME-Version: 1.0' ,
|
103 |
+
'Content-type: text/html; charset=iso-8859-1'
|
104 |
+
);
|
105 |
|
106 |
foreach ($allData as $data) {
|
107 |
|
files/sg_popup_ajax.php
CHANGED
@@ -31,6 +31,9 @@ function sgFrontend()
|
|
31 |
global $wpdb;
|
32 |
check_ajax_referer('sgPopupBuilderSubsNonce', 'subsSecurity');
|
33 |
parse_str($_POST['subsribers'], $subsribers);
|
|
|
|
|
|
|
34 |
$email = sanitize_email($subsribers['subs-email-name']);
|
35 |
$firstName = sgSanitizeAjaxField($subsribers['subs-first-name']);
|
36 |
$lastName = sgSanitizeAjaxField($subsribers['subs-last-name']);
|
@@ -54,6 +57,9 @@ function sgContactForm()
|
|
54 |
parse_str($_POST['contactParams'], $params);
|
55 |
//CSRF CHECK
|
56 |
check_ajax_referer('sgPopupBuilderContactNonce', 'contactSecurity');
|
|
|
|
|
|
|
57 |
$adminMail = sanitize_email($_POST['receiveMail']);
|
58 |
$popupTitle = sanitize_title($_POST['popupTitle']);
|
59 |
$name = sgSanitizeAjaxField($params['contact-name']);
|
31 |
global $wpdb;
|
32 |
check_ajax_referer('sgPopupBuilderSubsNonce', 'subsSecurity');
|
33 |
parse_str($_POST['subsribers'], $subsribers);
|
34 |
+
if(!empty($subsribers['sg-subs-hidden-checker'])) {
|
35 |
+
return 'Bot';
|
36 |
+
}
|
37 |
$email = sanitize_email($subsribers['subs-email-name']);
|
38 |
$firstName = sgSanitizeAjaxField($subsribers['subs-first-name']);
|
39 |
$lastName = sgSanitizeAjaxField($subsribers['subs-last-name']);
|
57 |
parse_str($_POST['contactParams'], $params);
|
58 |
//CSRF CHECK
|
59 |
check_ajax_referer('sgPopupBuilderContactNonce', 'contactSecurity');
|
60 |
+
if(!empty($params['sg-hidden-checker'])) {
|
61 |
+
return 'Bot';
|
62 |
+
}
|
63 |
$adminMail = sanitize_email($_POST['receiveMail']);
|
64 |
$popupTitle = sanitize_title($_POST['popupTitle']);
|
65 |
$name = sgSanitizeAjaxField($params['contact-name']);
|
files/sg_popup_create_new.php
CHANGED
@@ -98,6 +98,7 @@ if (isset($_GET['id'])) {
|
|
98 |
$jsonData = json_decode($result->getOptions(), true);
|
99 |
$sgEscKey = @$jsonData['escKey'];
|
100 |
$sgScrolling = @$jsonData['scrolling'];
|
|
|
101 |
$sgScaling = @$jsonData['scaling'];
|
102 |
$sgCloseButton = @$jsonData['closeButton'];
|
103 |
$sgReposition = @$jsonData['reposition'];
|
@@ -284,6 +285,7 @@ $sgPopup = array(
|
|
284 |
'escKey'=> true,
|
285 |
'closeButton' => true,
|
286 |
'scrolling'=> true,
|
|
|
287 |
'scaling'=> false,
|
288 |
'opacity'=> 0.8,
|
289 |
'popup-background-opacity'=> 1,
|
@@ -334,7 +336,7 @@ $popupProDefaultValues = array(
|
|
334 |
'pinterestStatus' => true,
|
335 |
'sgSocialLabel'=>true,
|
336 |
'roundButtons'=>false,
|
337 |
-
'sgShareUrl' => '
|
338 |
'pushToBottom' => true,
|
339 |
'allPages' => "all",
|
340 |
'allPosts' => "all",
|
@@ -413,6 +415,7 @@ $popupProDefaultValues = array(
|
|
413 |
$escKey = sgBoolToChecked($sgPopup['escKey']);
|
414 |
$closeButton = sgBoolToChecked($sgPopup['closeButton']);
|
415 |
$scrolling = sgBoolToChecked($sgPopup['scrolling']);
|
|
|
416 |
$scaling = sgBoolToChecked($sgPopup['scaling']);
|
417 |
$reposition = sgBoolToChecked($sgPopup['reposition']);
|
418 |
$overlayClose = sgBoolToChecked($sgPopup['overlayClose']);
|
@@ -554,6 +557,7 @@ $sgOverlayClose = @sgSetChecked($sgOverlayClose, $overlayClose);
|
|
554 |
$sgReopenAfterSubmission = @sgSetChecked($sgReopenAfterSubmission, $reopenAfterSubmission);
|
555 |
$sgReposition = @sgSetChecked($sgReposition, $reposition);
|
556 |
$sgScrolling = @sgSetChecked($sgScrolling, $scrolling);
|
|
|
557 |
$sgScaling = @sgSetChecked($sgScaling, $scaling);
|
558 |
$sgCountdownAutoclose = @sgSetChecked($sgCountdownAutoclose, $countdownAutoclose);
|
559 |
|
@@ -637,7 +641,7 @@ $sgContentClickBehavior = @sgGetValue($sgContentClickBehavior, $contentClickBeha
|
|
637 |
$sgPopupStartTimer = @sgGetValue($sgPopupStartTimer, $popupStartTimer);
|
638 |
$sgPopupFinishTimer = @sgGetValue($sgPopupFinishTimer, '');
|
639 |
$sgPopupScheduleStartTime = @sgGetValue($sgPopupScheduleStartTime, $scheduleStartTime);
|
640 |
-
$sgPopupDataIframe = @sgGetValue($sgPopupDataIframe, '
|
641 |
$sgShareUrl = @sgGetValue($sgShareUrl, $shareUrl);
|
642 |
$sgPopupDataHtml = @sgGetValue($sgPopupDataHtml, '');
|
643 |
$sgPopupDataImage = @sgGetValue($sgPopupDataImage, '');
|
@@ -1294,6 +1298,9 @@ if (isset($_GET["titleError"])): ?>
|
|
1294 |
<span class="liquid-width">Enable content scrolling:</span><input class="input-width-static" type="checkbox" name="scrolling" <?php echo $sgScrolling;?> />
|
1295 |
<span class="dashicons dashicons-info scrollingImg sameImageStyle"></span><span class="infoScrolling samefontStyle">If the content is larger than the specified dimensions, then the content will be scrollable.</span><br>
|
1296 |
|
|
|
|
|
|
|
1297 |
<span class="liquid-width">Enable reposition:</span><input class="input-width-static" type="checkbox" name="reposition" <?php echo $sgReposition;?> />
|
1298 |
<span class="dashicons dashicons-info repositionImg sameImageStyle"></span><span class="infoReposition samefontStyle">The popup will be resized/repositioned automatically when window is being resized.</span><br>
|
1299 |
|
98 |
$jsonData = json_decode($result->getOptions(), true);
|
99 |
$sgEscKey = @$jsonData['escKey'];
|
100 |
$sgScrolling = @$jsonData['scrolling'];
|
101 |
+
$sgDisablePageScrolling = @$jsonData['disable-page-scrolling'];
|
102 |
$sgScaling = @$jsonData['scaling'];
|
103 |
$sgCloseButton = @$jsonData['closeButton'];
|
104 |
$sgReposition = @$jsonData['reposition'];
|
285 |
'escKey'=> true,
|
286 |
'closeButton' => true,
|
287 |
'scrolling'=> true,
|
288 |
+
'disable-page-scrolling'=> true,
|
289 |
'scaling'=> false,
|
290 |
'opacity'=> 0.8,
|
291 |
'popup-background-opacity'=> 1,
|
336 |
'pinterestStatus' => true,
|
337 |
'sgSocialLabel'=>true,
|
338 |
'roundButtons'=>false,
|
339 |
+
'sgShareUrl' => '',
|
340 |
'pushToBottom' => true,
|
341 |
'allPages' => "all",
|
342 |
'allPosts' => "all",
|
415 |
$escKey = sgBoolToChecked($sgPopup['escKey']);
|
416 |
$closeButton = sgBoolToChecked($sgPopup['closeButton']);
|
417 |
$scrolling = sgBoolToChecked($sgPopup['scrolling']);
|
418 |
+
$disablePageScrolling = sgBoolToChecked($sgPopup['disable-page-scrolling']);
|
419 |
$scaling = sgBoolToChecked($sgPopup['scaling']);
|
420 |
$reposition = sgBoolToChecked($sgPopup['reposition']);
|
421 |
$overlayClose = sgBoolToChecked($sgPopup['overlayClose']);
|
557 |
$sgReopenAfterSubmission = @sgSetChecked($sgReopenAfterSubmission, $reopenAfterSubmission);
|
558 |
$sgReposition = @sgSetChecked($sgReposition, $reposition);
|
559 |
$sgScrolling = @sgSetChecked($sgScrolling, $scrolling);
|
560 |
+
$sgDisablePageScrolling = @sgSetChecked($sgDisablePageScrolling, $disablePageScrolling);
|
561 |
$sgScaling = @sgSetChecked($sgScaling, $scaling);
|
562 |
$sgCountdownAutoclose = @sgSetChecked($sgCountdownAutoclose, $countdownAutoclose);
|
563 |
|
641 |
$sgPopupStartTimer = @sgGetValue($sgPopupStartTimer, $popupStartTimer);
|
642 |
$sgPopupFinishTimer = @sgGetValue($sgPopupFinishTimer, '');
|
643 |
$sgPopupScheduleStartTime = @sgGetValue($sgPopupScheduleStartTime, $scheduleStartTime);
|
644 |
+
$sgPopupDataIframe = @sgGetValue($sgPopupDataIframe, '');
|
645 |
$sgShareUrl = @sgGetValue($sgShareUrl, $shareUrl);
|
646 |
$sgPopupDataHtml = @sgGetValue($sgPopupDataHtml, '');
|
647 |
$sgPopupDataImage = @sgGetValue($sgPopupDataImage, '');
|
1298 |
<span class="liquid-width">Enable content scrolling:</span><input class="input-width-static" type="checkbox" name="scrolling" <?php echo $sgScrolling;?> />
|
1299 |
<span class="dashicons dashicons-info scrollingImg sameImageStyle"></span><span class="infoScrolling samefontStyle">If the content is larger than the specified dimensions, then the content will be scrollable.</span><br>
|
1300 |
|
1301 |
+
<span class="liquid-width">Disable page scrolling:</span><input class="input-width-static" type="checkbox" name="disable-page-scrolling" <?php echo $sgDisablePageScrolling; ?>>
|
1302 |
+
<span class="dashicons dashicons-info scrollingImg sameImageStyle"></span><span class="infoScrolling samefontStyle">If this option is enabled, the page scrolling will be disabled when the popup is open.</span><br>
|
1303 |
+
|
1304 |
<span class="liquid-width">Enable reposition:</span><input class="input-width-static" type="checkbox" name="reposition" <?php echo $sgReposition;?> />
|
1305 |
<span class="dashicons dashicons-info repositionImg sameImageStyle"></span><span class="infoReposition samefontStyle">The popup will be resized/repositioned automatically when window is being resized.</span><br>
|
1306 |
|
files/sg_popup_save.php
CHANGED
@@ -131,7 +131,7 @@ function sgPopupSave()
|
|
131 |
'subs-text-width' => sgSanitize('subs-text-width'),
|
132 |
'subs-button-bgColor' => sgSanitize('subs-button-bgColor'),
|
133 |
'subs-btn-width' => sgSanitize('subs-btn-width'),
|
134 |
-
'subs-btn-title' =>
|
135 |
'subs-text-input-bgColor' => sgSanitize('subs-text-input-bgColor'),
|
136 |
'subs-text-borderColor' => sgSanitize('subs-text-borderColor'),
|
137 |
'subs-button-color' => sgSanitize('subs-button-color'),
|
131 |
'subs-text-width' => sgSanitize('subs-text-width'),
|
132 |
'subs-button-bgColor' => sgSanitize('subs-button-bgColor'),
|
133 |
'subs-btn-width' => sgSanitize('subs-btn-width'),
|
134 |
+
'subs-btn-title' => sgSanitize('subs-btn-title'),
|
135 |
'subs-text-input-bgColor' => sgSanitize('subs-text-input-bgColor'),
|
136 |
'subs-text-borderColor' => sgSanitize('subs-text-borderColor'),
|
137 |
'subs-button-color' => sgSanitize('subs-button-color'),
|
helpers/Integrate_external_settings.php
CHANGED
@@ -99,6 +99,7 @@ Class IntegrateExternalSettings {
|
|
99 |
'escKey' => sgSanitize('escKey'),
|
100 |
'isActiveStatus' => sgSanitize('isActiveStatus'),
|
101 |
'scrolling' => sgSanitize('scrolling'),
|
|
|
102 |
'scaling' => sgSanitize('scaling'),
|
103 |
'reposition' => sgSanitize('reposition'),
|
104 |
'overlayClose' => sgSanitize('overlayClose'),
|
99 |
'escKey' => sgSanitize('escKey'),
|
100 |
'isActiveStatus' => sgSanitize('isActiveStatus'),
|
101 |
'scrolling' => sgSanitize('scrolling'),
|
102 |
+
'disable-page-scrolling' => sgSanitize('disable-page-scrolling'),
|
103 |
'scaling' => sgSanitize('scaling'),
|
104 |
'reposition' => sgSanitize('reposition'),
|
105 |
'overlayClose' => sgSanitize('overlayClose'),
|
javascript/jquery.sgcolorbox-min.js
CHANGED
@@ -61,7 +61,7 @@ if(options.innerWidth){settings.w=setSize(options.innerWidth,'x');}
|
|
61 |
$loaded.css({width:settings.w});if(options.height){settings.h=setSize(options.height,'y')-loadedHeight-interfaceHeight;}
|
62 |
if(options.innerHeight){settings.h=setSize(options.innerHeight,'y');}
|
63 |
if(!options.innerHeight&&!options.height){scrolltop=$loaded.scrollTop();$loaded.css({height:"auto"});settings.h=$loaded.height();}
|
64 |
-
$loaded.css({height:settings.h});if(scrolltop){
|
65 |
publicMethod.sgpbPosition(settings.get('transition')==="none"?0:settings.get('speed'));}};publicMethod.sgpbPosition=function(speed,loadedCallback){var
|
66 |
css,top=0,left=0,offset=$box.offset(),scrollTop,scrollLeft;$window.unbind('resize.'+prefix);$box.css({top:-9e4,left:-9e4});scrollTop=$window.scrollTop();scrollLeft=$window.scrollLeft();if(settings.get('fixed')){offset.top-=scrollTop;offset.left-=scrollLeft;$box.css({position:'fixed'});}else{top=scrollTop;left=scrollLeft;$box.css({position:'absolute'});}
|
67 |
if(settings.get('right')!==false){left+=Math.max($window.width()-settings.w-loadedWidth-interfaceWidth-setSize(settings.get('right'),'x'),0);}else if(settings.get('left')!==false){left+=setSize(settings.get('left'),'x');}else{left+=Math.round(Math.max($window.width()-settings.w-loadedWidth-interfaceWidth,0)/2);}
|
61 |
$loaded.css({width:settings.w});if(options.height){settings.h=setSize(options.height,'y')-loadedHeight-interfaceHeight;}
|
62 |
if(options.innerHeight){settings.h=setSize(options.innerHeight,'y');}
|
63 |
if(!options.innerHeight&&!options.height){scrolltop=$loaded.scrollTop();$loaded.css({height:"auto"});settings.h=$loaded.height();}
|
64 |
+
$loaded.css({height:settings.h});if(scrolltop){}
|
65 |
publicMethod.sgpbPosition(settings.get('transition')==="none"?0:settings.get('speed'));}};publicMethod.sgpbPosition=function(speed,loadedCallback){var
|
66 |
css,top=0,left=0,offset=$box.offset(),scrollTop,scrollLeft;$window.unbind('resize.'+prefix);$box.css({top:-9e4,left:-9e4});scrollTop=$window.scrollTop();scrollLeft=$window.scrollLeft();if(settings.get('fixed')){offset.top-=scrollTop;offset.left-=scrollLeft;$box.css({position:'fixed'});}else{top=scrollTop;left=scrollLeft;$box.css({position:'absolute'});}
|
67 |
if(settings.get('right')!==false){left+=Math.max($window.width()-settings.w-loadedWidth-interfaceWidth-setSize(settings.get('right'),'x'),0);}else if(settings.get('left')!==false){left+=setSize(settings.get('left'),'x');}else{left+=Math.round(Math.max($window.width()-settings.w-loadedWidth-interfaceWidth,0)/2);}
|
javascript/sg_popup_frontend.js
CHANGED
@@ -541,12 +541,12 @@ SGPopup.prototype.resizeDimension = function () {
|
|
541 |
var resizeTimer;
|
542 |
var themeDefault = this.popupThemeDefaultMeasure();
|
543 |
var responsiveMeasure = this.popupData['popup-responsive-dimension-measure'];
|
544 |
-
var windowWidth = jQuery(window).width();
|
545 |
var popupWidth = jQuery("#sgcolorbox").width();
|
546 |
-
|
547 |
-
|
548 |
|
549 |
function resizeColorBox() {
|
|
|
550 |
var sgColorBoxWidth = jQuery("#sgcolorbox").width();
|
551 |
var isPopupLargerThanWindow = sgColorBoxWidth > windowWidth;
|
552 |
jQuery(window).unbind('resize.sgcbox');
|
@@ -574,18 +574,30 @@ SGPopup.prototype.resizeDimension = function () {
|
|
574 |
else {
|
575 |
contentWidth = responsiveMeasure+'%';
|
576 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
577 |
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
jQuery.sgcolorbox.settings.width = contentWidth;
|
584 |
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
|
|
|
|
|
|
589 |
}
|
590 |
}, 350)
|
591 |
}
|
@@ -594,6 +606,35 @@ SGPopup.prototype.resizeDimension = function () {
|
|
594 |
window.addEventListener("orientationchange", resizeColorBox, false);
|
595 |
};
|
596 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
597 |
SGPopup.prototype.sgColorboxContentMode = function() {
|
598 |
|
599 |
var that = this;
|
@@ -635,11 +676,39 @@ SGPopup.prototype.sgColorboxContentMode = function() {
|
|
635 |
}
|
636 |
};
|
637 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
SGPopup.prototype.sgShowColorboxWithOptions = function () {
|
639 |
|
640 |
var that = this;
|
641 |
setTimeout(function () {
|
642 |
|
|
|
643 |
var sgPopupFixed = that.varToBool(that.popupData['popupFixed']);
|
644 |
var popupId = that.popupData['id'];
|
645 |
that.popupOverlayClose = that.varToBool(that.popupData['overlayClose']);
|
@@ -803,6 +872,13 @@ SGPopup.prototype.sgShowColorboxWithOptions = function () {
|
|
803 |
overlayCutsomClassName: overlayCustomClass,
|
804 |
contentCustomClassName: contentCustomClass,
|
805 |
onOpen: function () {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
806 |
jQuery('#sgcolorbox').removeAttr('style');
|
807 |
jQuery('#sgcolorbox').removeAttr('left');
|
808 |
jQuery('#sgcolorbox').css('top', '' + that.initialPositionTop + '%');
|
@@ -836,6 +912,7 @@ SGPopup.prototype.sgShowColorboxWithOptions = function () {
|
|
836 |
that.sgCustomizeThemes(that.popupData['id']);
|
837 |
if(popupDimensionMode == 'responsiveMode') {
|
838 |
that.resizeDimension();
|
|
|
839 |
}
|
840 |
},
|
841 |
onCleanup: function () {
|
541 |
var resizeTimer;
|
542 |
var themeDefault = this.popupThemeDefaultMeasure();
|
543 |
var responsiveMeasure = this.popupData['popup-responsive-dimension-measure'];
|
|
|
544 |
var popupWidth = jQuery("#sgcolorbox").width();
|
545 |
+
var maxHeight = this.popupData['maxHeight'];
|
546 |
+
var diffContentHight = jQuery("#sgcboxWrapper").height() - jQuery("#sgcboxLoadedContent").height();
|
547 |
|
548 |
function resizeColorBox() {
|
549 |
+
var windowWidth = jQuery(window).width();
|
550 |
var sgColorBoxWidth = jQuery("#sgcolorbox").width();
|
551 |
var isPopupLargerThanWindow = sgColorBoxWidth > windowWidth;
|
552 |
jQuery(window).unbind('resize.sgcbox');
|
574 |
else {
|
575 |
contentWidth = responsiveMeasure+'%';
|
576 |
}
|
577 |
+
var resizeConf = {
|
578 |
+
'width': contentWidth
|
579 |
+
};
|
580 |
+
|
581 |
+
/*For auto mod*/
|
582 |
+
if(responsiveMeasure == 'auto') {
|
583 |
+
/*For responsive mode when popup window is larger than browser window*/
|
584 |
+
if(maxHeight !== '' && parseInt(maxHeight) < (jQuery("#sgcboxLoadedContent").prop('scrollHeight') + diffContentHight)) {
|
585 |
+
resizeConf.height = maxHeight
|
586 |
+
}
|
587 |
|
588 |
+
resizeConf.width = popupWidth;
|
589 |
+
/*The browser of the windows returns to its primary version.*/
|
590 |
+
if(popupWidth > jQuery("sgcolorbox").width() && popupWidth > width) {
|
591 |
+
resizeConf.width = width;
|
592 |
+
}
|
|
|
593 |
|
594 |
+
jQuery.sgcolorbox.sgpbResize(resizeConf);
|
595 |
+
jQuery.sgcolorbox.position();
|
596 |
+
}
|
597 |
+
else {
|
598 |
+
resizeConf.height = contentHeight;
|
599 |
+
jQuery.sgcolorbox.sgpbResize(resizeConf);
|
600 |
+
}
|
601 |
}
|
602 |
}, 350)
|
603 |
}
|
606 |
window.addEventListener("orientationchange", resizeColorBox, false);
|
607 |
};
|
608 |
|
609 |
+
|
610 |
+
|
611 |
+
SGPopup.prototype.resizeAfterContentResizing = function () {
|
612 |
+
|
613 |
+
var visibilityClasses = [".js-validate-required", ".js-sgpb-visibility"];
|
614 |
+
var maxHeight = this.popupData['maxHeight'];
|
615 |
+
var diffContentHight = jQuery("#sgcboxWrapper").height() - jQuery("#sgcboxLoadedContent").height();
|
616 |
+
for(var index in visibilityClasses) {
|
617 |
+
jQuery(visibilityClasses[index]).visibilityChanged({
|
618 |
+
callback: function(element, visible) {
|
619 |
+
if(maxHeight !== '' && parseInt(maxHeight) < (jQuery("#sgcboxLoadedContent").prop('scrollHeight') + diffContentHight)) {
|
620 |
+
return false;
|
621 |
+
}
|
622 |
+
jQuery.sgcolorbox.resize();
|
623 |
+
},
|
624 |
+
runOnLoad: false,
|
625 |
+
frequency: 2000
|
626 |
+
});
|
627 |
+
}
|
628 |
+
|
629 |
+
new ResizeSensor(jQuery('#sgcboxLoadedContent'), function(){
|
630 |
+
if(maxHeight !== '' && parseInt(maxHeight) < (jQuery("#sgcboxLoadedContent").prop('scrollHeight') + diffContentHight)) {
|
631 |
+
return false;
|
632 |
+
}
|
633 |
+
jQuery.sgcolorbox.resize();
|
634 |
+
});
|
635 |
+
|
636 |
+
};
|
637 |
+
|
638 |
SGPopup.prototype.sgColorboxContentMode = function() {
|
639 |
|
640 |
var that = this;
|
676 |
}
|
677 |
};
|
678 |
|
679 |
+
SGPopup.prototype.colorboxEventsListener = function () {
|
680 |
+
|
681 |
+
var that = this;
|
682 |
+
var disablePageScrolling = this.varToBool(this.popupData['disable-page-scrolling']);
|
683 |
+
|
684 |
+
jQuery('#sgcolorbox').on("sgColorboxOnOpen", function () {
|
685 |
+
if(disablePageScrolling) {
|
686 |
+
jQuery('html, body').css({ overflow: 'hidden' });
|
687 |
+
}
|
688 |
+
});
|
689 |
+
|
690 |
+
jQuery('#sgcolorbox').on("sgColorboxOnCompleate", function () {
|
691 |
+
|
692 |
+
});
|
693 |
+
|
694 |
+
jQuery('#sgcolorbox').on("sgPopupCleanup", function () {
|
695 |
+
|
696 |
+
});
|
697 |
+
|
698 |
+
jQuery('#sgcolorbox').on("sgPopupClose", function () {
|
699 |
+
if(disablePageScrolling) {
|
700 |
+
jQuery('html, body').css({ overflow: '' });
|
701 |
+
}
|
702 |
+
});
|
703 |
+
|
704 |
+
};
|
705 |
+
|
706 |
SGPopup.prototype.sgShowColorboxWithOptions = function () {
|
707 |
|
708 |
var that = this;
|
709 |
setTimeout(function () {
|
710 |
|
711 |
+
that.colorboxEventsListener();
|
712 |
var sgPopupFixed = that.varToBool(that.popupData['popupFixed']);
|
713 |
var popupId = that.popupData['id'];
|
714 |
that.popupOverlayClose = that.varToBool(that.popupData['overlayClose']);
|
872 |
overlayCutsomClassName: overlayCustomClass,
|
873 |
contentCustomClassName: contentCustomClass,
|
874 |
onOpen: function () {
|
875 |
+
if(that.sgColorboxInline) {
|
876 |
+
var contentImage = jQuery(that.sgColorboxHref).find('img').first();
|
877 |
+
if(contentImage.length) {
|
878 |
+
var height = contentImage.attr('height');
|
879 |
+
contentImage.css({'height': height});
|
880 |
+
}
|
881 |
+
}
|
882 |
jQuery('#sgcolorbox').removeAttr('style');
|
883 |
jQuery('#sgcolorbox').removeAttr('left');
|
884 |
jQuery('#sgcolorbox').css('top', '' + that.initialPositionTop + '%');
|
912 |
that.sgCustomizeThemes(that.popupData['id']);
|
913 |
if(popupDimensionMode == 'responsiveMode') {
|
914 |
that.resizeDimension();
|
915 |
+
that.resizeAfterContentResizing();
|
916 |
}
|
917 |
},
|
918 |
onCleanup: function () {
|
javascript/sg_resize.js
ADDED
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Copyright Marc J. Schmidt. See the LICENSE file at the top-level
|
3 |
+
* directory of this distribution and at
|
4 |
+
* https://github.com/marcj/css-element-queries/blob/master/LICENSE.
|
5 |
+
*/
|
6 |
+
;
|
7 |
+
(function (root, factory) {
|
8 |
+
if (typeof define === "function" && define.amd) {
|
9 |
+
define(factory);
|
10 |
+
} else if (typeof exports === "object") {
|
11 |
+
module.exports = factory();
|
12 |
+
} else {
|
13 |
+
root.ResizeSensor = factory();
|
14 |
+
}
|
15 |
+
}(this, function () {
|
16 |
+
|
17 |
+
// Make sure it does not throw in a SSR (Server Side Rendering) situation
|
18 |
+
if (typeof window === "undefined") {
|
19 |
+
return null;
|
20 |
+
}
|
21 |
+
// Only used for the dirty checking, so the event callback count is limited to max 1 call per fps per sensor.
|
22 |
+
// In combination with the event based resize sensor this saves cpu time, because the sensor is too fast and
|
23 |
+
// would generate too many unnecessary events.
|
24 |
+
var requestAnimationFrame = window.requestAnimationFrame ||
|
25 |
+
window.mozRequestAnimationFrame ||
|
26 |
+
window.webkitRequestAnimationFrame ||
|
27 |
+
function (fn) {
|
28 |
+
return window.setTimeout(fn, 20);
|
29 |
+
};
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Iterate over each of the provided element(s).
|
33 |
+
*
|
34 |
+
* @param {HTMLElement|HTMLElement[]} elements
|
35 |
+
* @param {Function} callback
|
36 |
+
*/
|
37 |
+
function forEachElement(elements, callback){
|
38 |
+
var elementsType = Object.prototype.toString.call(elements);
|
39 |
+
var isCollectionTyped = ('[object Array]' === elementsType
|
40 |
+
|| ('[object NodeList]' === elementsType)
|
41 |
+
|| ('[object HTMLCollection]' === elementsType)
|
42 |
+
|| ('[object Object]' === elementsType)
|
43 |
+
|| ('undefined' !== typeof jQuery && elements instanceof jQuery) //jquery
|
44 |
+
|| ('undefined' !== typeof Elements && elements instanceof Elements) //mootools
|
45 |
+
);
|
46 |
+
var i = 0, j = elements.length;
|
47 |
+
if (isCollectionTyped) {
|
48 |
+
for (; i < j; i++) {
|
49 |
+
callback(elements[i]);
|
50 |
+
}
|
51 |
+
} else {
|
52 |
+
callback(elements);
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Class for dimension change detection.
|
58 |
+
*
|
59 |
+
* @param {Element|Element[]|Elements|jQuery} element
|
60 |
+
* @param {Function} callback
|
61 |
+
*
|
62 |
+
* @constructor
|
63 |
+
*/
|
64 |
+
var ResizeSensor = function(element, callback) {
|
65 |
+
/**
|
66 |
+
*
|
67 |
+
* @constructor
|
68 |
+
*/
|
69 |
+
function EventQueue() {
|
70 |
+
var q = [];
|
71 |
+
this.add = function(ev) {
|
72 |
+
q.push(ev);
|
73 |
+
};
|
74 |
+
|
75 |
+
var i, j;
|
76 |
+
this.call = function() {
|
77 |
+
for (i = 0, j = q.length; i < j; i++) {
|
78 |
+
q[i].call();
|
79 |
+
}
|
80 |
+
};
|
81 |
+
|
82 |
+
this.remove = function(ev) {
|
83 |
+
var newQueue = [];
|
84 |
+
for(i = 0, j = q.length; i < j; i++) {
|
85 |
+
if(q[i] !== ev) newQueue.push(q[i]);
|
86 |
+
}
|
87 |
+
q = newQueue;
|
88 |
+
}
|
89 |
+
|
90 |
+
this.length = function() {
|
91 |
+
return q.length;
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* @param {HTMLElement} element
|
97 |
+
* @param {String} prop
|
98 |
+
* @returns {String|Number}
|
99 |
+
*/
|
100 |
+
function getComputedStyle(element, prop) {
|
101 |
+
if (element.currentStyle) {
|
102 |
+
return element.currentStyle[prop];
|
103 |
+
}
|
104 |
+
if (window.getComputedStyle) {
|
105 |
+
return window.getComputedStyle(element, null).getPropertyValue(prop);
|
106 |
+
}
|
107 |
+
|
108 |
+
return element.style[prop];
|
109 |
+
}
|
110 |
+
|
111 |
+
/**
|
112 |
+
*
|
113 |
+
* @param {HTMLElement} element
|
114 |
+
* @param {Function} resized
|
115 |
+
*/
|
116 |
+
function attachResizeEvent(element, resized) {
|
117 |
+
if (!element) return;
|
118 |
+
if (element.resizedAttached) {
|
119 |
+
element.resizedAttached.add(resized);
|
120 |
+
return;
|
121 |
+
}
|
122 |
+
|
123 |
+
element.resizedAttached = new EventQueue();
|
124 |
+
element.resizedAttached.add(resized);
|
125 |
+
|
126 |
+
element.resizeSensor = document.createElement('div');
|
127 |
+
element.resizeSensor.className = 'resize-sensor';
|
128 |
+
var style = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;';
|
129 |
+
var styleChild = 'position: absolute; left: 0; top: 0; transition: 0s;';
|
130 |
+
|
131 |
+
element.resizeSensor.style.cssText = style;
|
132 |
+
element.resizeSensor.innerHTML =
|
133 |
+
'<div class="resize-sensor-expand" style="' + style + '">' +
|
134 |
+
'<div style="' + styleChild + '"></div>' +
|
135 |
+
'</div>' +
|
136 |
+
'<div class="resize-sensor-shrink" style="' + style + '">' +
|
137 |
+
'<div style="' + styleChild + ' width: 200%; height: 200%"></div>' +
|
138 |
+
'</div>';
|
139 |
+
element.appendChild(element.resizeSensor);
|
140 |
+
|
141 |
+
if (getComputedStyle(element, 'position') == 'static') {
|
142 |
+
element.style.position = 'relative';
|
143 |
+
}
|
144 |
+
|
145 |
+
var expand = element.resizeSensor.childNodes[0];
|
146 |
+
var expandChild = expand.childNodes[0];
|
147 |
+
var shrink = element.resizeSensor.childNodes[1];
|
148 |
+
var dirty, rafId, newWidth, newHeight;
|
149 |
+
var lastWidth = element.offsetWidth;
|
150 |
+
var lastHeight = element.offsetHeight;
|
151 |
+
|
152 |
+
var reset = function() {
|
153 |
+
expandChild.style.width = '100000px';
|
154 |
+
expandChild.style.height = '100000px';
|
155 |
+
|
156 |
+
expand.scrollLeft = 100000;
|
157 |
+
expand.scrollTop = 100000;
|
158 |
+
|
159 |
+
shrink.scrollLeft = 100000;
|
160 |
+
shrink.scrollTop = 100000;
|
161 |
+
};
|
162 |
+
|
163 |
+
reset();
|
164 |
+
|
165 |
+
var onResized = function() {
|
166 |
+
rafId = 0;
|
167 |
+
|
168 |
+
if (!dirty) return;
|
169 |
+
|
170 |
+
lastWidth = newWidth;
|
171 |
+
lastHeight = newHeight;
|
172 |
+
|
173 |
+
if (element.resizedAttached) {
|
174 |
+
element.resizedAttached.call();
|
175 |
+
}
|
176 |
+
};
|
177 |
+
|
178 |
+
var onScroll = function() {
|
179 |
+
newWidth = element.offsetWidth;
|
180 |
+
newHeight = element.offsetHeight;
|
181 |
+
dirty = newWidth != lastWidth || newHeight != lastHeight;
|
182 |
+
|
183 |
+
if (dirty && !rafId) {
|
184 |
+
rafId = requestAnimationFrame(onResized);
|
185 |
+
}
|
186 |
+
|
187 |
+
reset();
|
188 |
+
};
|
189 |
+
|
190 |
+
var addEvent = function(el, name, cb) {
|
191 |
+
if (el.attachEvent) {
|
192 |
+
el.attachEvent('on' + name, cb);
|
193 |
+
} else {
|
194 |
+
el.addEventListener(name, cb);
|
195 |
+
}
|
196 |
+
};
|
197 |
+
|
198 |
+
addEvent(expand, 'scroll', onScroll);
|
199 |
+
addEvent(shrink, 'scroll', onScroll);
|
200 |
+
}
|
201 |
+
|
202 |
+
forEachElement(element, function(elem){
|
203 |
+
attachResizeEvent(elem, callback);
|
204 |
+
});
|
205 |
+
|
206 |
+
this.detach = function(ev) {
|
207 |
+
ResizeSensor.detach(element, ev);
|
208 |
+
};
|
209 |
+
};
|
210 |
+
|
211 |
+
ResizeSensor.detach = function(element, ev) {
|
212 |
+
forEachElement(element, function(elem){
|
213 |
+
if (!elem) return
|
214 |
+
if(elem.resizedAttached && typeof ev == "function"){
|
215 |
+
elem.resizedAttached.remove(ev);
|
216 |
+
if(elem.resizedAttached.length()) return;
|
217 |
+
}
|
218 |
+
if (elem.resizeSensor) {
|
219 |
+
if (elem.contains(elem.resizeSensor)) {
|
220 |
+
elem.removeChild(elem.resizeSensor);
|
221 |
+
}
|
222 |
+
delete elem.resizeSensor;
|
223 |
+
delete elem.resizedAttached;
|
224 |
+
}
|
225 |
+
});
|
226 |
+
};
|
227 |
+
|
228 |
+
return ResizeSensor;
|
229 |
+
|
230 |
+
}));
|
231 |
+
|
232 |
+
(function ($) {
|
233 |
+
var defaults = {
|
234 |
+
callback: function () { },
|
235 |
+
runOnLoad: true,
|
236 |
+
frequency: 2000,
|
237 |
+
previousVisibility : null
|
238 |
+
};
|
239 |
+
|
240 |
+
var methods = {};
|
241 |
+
methods.checkVisibility = function (element, options) {
|
242 |
+
if (jQuery.contains(document, element[0])) {
|
243 |
+
var previousVisibility = options.previousVisibility;
|
244 |
+
var isVisible = element.is(':visible');
|
245 |
+
options.previousVisibility = isVisible;
|
246 |
+
if (previousVisibility == null) {
|
247 |
+
if (options.runOnLoad) {
|
248 |
+
options.callback(element, isVisible);
|
249 |
+
}
|
250 |
+
} else if (previousVisibility !== isVisible) {
|
251 |
+
options.callback(element, isVisible);
|
252 |
+
}
|
253 |
+
|
254 |
+
setTimeout(function() {
|
255 |
+
methods.checkVisibility(element, options);
|
256 |
+
}, options.frequency);
|
257 |
+
}
|
258 |
+
};
|
259 |
+
|
260 |
+
$.fn.visibilityChanged = function (options) {
|
261 |
+
var settings = $.extend({}, defaults, options);
|
262 |
+
return this.each(function () {
|
263 |
+
methods.checkVisibility($(this), settings);
|
264 |
+
});
|
265 |
+
};
|
266 |
+
})(jQuery);
|
popup-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: http://sygnoos.com
|
5 |
* Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
|
6 |
-
* Version: 2.5.9.
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
@@ -67,8 +67,10 @@ function sgRegisterScripts()
|
|
67 |
SGPopup::$registeredScripts = true;
|
68 |
wp_register_style('sg_animate', SG_APP_POPUP_URL . '/style/animate.css');
|
69 |
wp_enqueue_style('sg_animate');
|
70 |
-
wp_register_script('sg_popup_frontend', SG_APP_POPUP_URL . '/javascript/sg_popup_frontend.js', array('jquery'), SG_POPUP_VERSION);
|
71 |
wp_enqueue_script('sg_popup_frontend');
|
|
|
|
|
72 |
wp_register_script('sg_popup_init', SG_APP_POPUP_URL . '/javascript/sg_popup_init.js', array('jquery'), SG_POPUP_VERSION);
|
73 |
wp_enqueue_script('sg_popup_init');
|
74 |
wp_enqueue_script('jquery');
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: http://sygnoos.com
|
5 |
* Description: The most complete popup plugin. Html, image, iframe, shortcode, video and many other popup types. Manage popup dimensions, effects, themes and more.
|
6 |
+
* Version: 2.5.9.3
|
7 |
* Author: Sygnoos
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
67 |
SGPopup::$registeredScripts = true;
|
68 |
wp_register_style('sg_animate', SG_APP_POPUP_URL . '/style/animate.css');
|
69 |
wp_enqueue_style('sg_animate');
|
70 |
+
wp_register_script('sg_popup_frontend', SG_APP_POPUP_URL . '/javascript/sg_popup_frontend.js', array('jquery', 'sg_resize'), SG_POPUP_VERSION);
|
71 |
wp_enqueue_script('sg_popup_frontend');
|
72 |
+
wp_register_script('sg_resize', SG_APP_POPUP_URL . '/javascript/sg_resize.js', array('jquery'), SG_POPUP_VERSION);
|
73 |
+
wp_enqueue_script('sg_resize');
|
74 |
wp_register_script('sg_popup_init', SG_APP_POPUP_URL . '/javascript/sg_popup_init.js', array('jquery'), SG_POPUP_VERSION);
|
75 |
wp_enqueue_script('sg_popup_init');
|
76 |
wp_enqueue_script('jquery');
|
readme.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
-
===
|
2 |
-
Plugin Name:
|
3 |
Contributors: Sygnoos, Popup By Sygnoos
|
4 |
Author: Sygnoos
|
5 |
Donate link: https://popup-builder.com
|
6 |
-
Tags: popup, pop up,
|
7 |
Requires at least: 3.8
|
8 |
Tested up to: 4.7.5
|
9 |
Stable tag: trunk
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
13 |
-
Popup
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
#### Popup Builder
|
18 |
|
19 |
-
|
20 |
|
21 |
https://www.youtube.com/watch?v=3ZwRKPhHMzY
|
22 |
|
@@ -161,6 +161,11 @@ Go to the Popup Builder settings and set your desired options.
|
|
161 |
|
162 |
== Changelog ==
|
163 |
|
|
|
|
|
|
|
|
|
|
|
164 |
= Version 2.5.9.2 =
|
165 |
* Hot fix connected to onclick popup.
|
166 |
|
@@ -649,7 +654,7 @@ Leave us a good review :)
|
|
649 |
|
650 |
== Upgrade Notice ==
|
651 |
|
652 |
-
Current Version of Popup Builder is 2.5.9.
|
653 |
|
654 |
== Other Notes ==
|
655 |
|
1 |
+
=== Popup - Popup Builder ===
|
2 |
+
Plugin Name: Popup - Popup Builder
|
3 |
Contributors: Sygnoos, Popup By Sygnoos
|
4 |
Author: Sygnoos
|
5 |
Donate link: https://popup-builder.com
|
6 |
+
Tags: popup, pop up, wordpress popup, popup maker, exit popup
|
7 |
Requires at least: 3.8
|
8 |
Tested up to: 4.7.5
|
9 |
Stable tag: trunk
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
13 |
+
Popup is the most complete WordPress popup plugin. Html, image, shortcode and many other popup types. Manage popup dimensions, effects, themes.
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
#### Popup Builder
|
18 |
|
19 |
+
Popup anything with Popup builder, create and manage powerful promotion modal popups for your WordPress blog or website. Powerful, and yet, easy to use popup plugin that will help you to grab your visitors' attention to introduce them your offers, discounts or other kind of promotional notices.
|
20 |
|
21 |
https://www.youtube.com/watch?v=3ZwRKPhHMzY
|
22 |
|
161 |
|
162 |
== Changelog ==
|
163 |
|
164 |
+
= Version 2.5.9.3 =
|
165 |
+
* Added new option to disable content scrolling of the page.
|
166 |
+
* Auto mode optimization.
|
167 |
+
* Bug fixes.
|
168 |
+
|
169 |
= Version 2.5.9.2 =
|
170 |
* Hot fix connected to onclick popup.
|
171 |
|
654 |
|
655 |
== Upgrade Notice ==
|
656 |
|
657 |
+
Current Version of Popup Builder is 2.5.9.3
|
658 |
|
659 |
== Other Notes ==
|
660 |
|
style/sg_popup_style.css
CHANGED
@@ -1553,6 +1553,10 @@ input:checked + .sg-slider:before {
|
|
1553 |
font-size: 24px;
|
1554 |
}
|
1555 |
|
|
|
|
|
|
|
|
|
1556 |
@media(max-width: 1042px) {
|
1557 |
.sg-black-info {
|
1558 |
width: 200px;
|
1553 |
font-size: 24px;
|
1554 |
}
|
1555 |
|
1556 |
+
.sg-ifrane-input {
|
1557 |
+
margin-right: 15px;
|
1558 |
+
}
|
1559 |
+
|
1560 |
@media(max-width: 1042px) {
|
1561 |
.sg-black-info {
|
1562 |
width: 200px;
|
style/sgcolorbox/sgthemes.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#sgcolorbox.colorbox1,#sgcboxOverlay.colorbox1,.colorbox1 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox1 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox1{position:fixed;width:100%;height:100%}.colorbox1 #sgcboxMiddleLeft,.colorbox1 #cboxBottomLeft{clear:left}.colorbox1 #sgcboxContent{position:relative}.colorbox1 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox1 #sgsgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox1,.colorbox1 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox1 #sgcboxPrevious,.colorbox1 #cboxNext,.colorbox1 #sgcboxClose,.colorbox1 #sgcboxSlideshow{cursor:pointer}.colorbox1 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox1 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox1,.colorbox1 #sgcboxContent,.colorbox1 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox1{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox1{background:url(../../img/colorbox1/overlay.png) repeat 0 0}#sgcolorbox.colorbox1{outline:0}.colorbox1 #sgcboxTopLeft{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -101px 0}.colorbox1 #sgcboxTopRight{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -130px 0}.colorbox1 #sgcboxBottomLeft{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -101px -29px}.colorbox1 #sgcboxBottomRight{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -130px -29px}.colorbox1 #sgcboxMiddleLeft{width:21px;background:url(../../img/colorbox1/controls.png) left top repeat-y}.colorbox1 #sgcboxMiddleRight{width:21px;background:url(../../img/colorbox1/controls.png) right top repeat-y}.colorbox1 #sgcboxTopCenter{height:21px;background:url(../../img/colorbox1/border.png) 0 0 repeat-x}.colorbox1 #sgcboxBottomCenter{height:21px;background:url(../../img/colorbox1/border.png) 0 -29px repeat-x}.colorbox1 #sgcboxContent{background:#fff;overflow:hidden}.colorbox1 .sgcboxIframe{background:#fff}.colorbox1 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox1 #sgcboxLoadedContent{margin-bottom:28px}.colorbox1 #sgcboxTitle{position:absolute;bottom:4px;left:0;text-align:center;width:100%;color:#949494}.colorbox1 #sgcboxCurrent{position:absolute;bottom:4px;left:58px;color:#949494}#sgcboxLoadingOverlay.colorbox1{background:url(../../img/colorbox1/loading_background.png) no-repeat center center}.colorbox1 #sgcboxLoadingGraphic{background:url(../../img/colorbox1/loading.gif) no-repeat center center}.colorbox1 #sgcboxPrevious,.colorbox1 #sgcboxNext,.colorbox1 #sgcboxSlideshow,.colorbox1 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox1 #sgcboxPrevious:active,.colorbox1 #sgcboxNext:active,.colorbox1 #sgcboxSlideshow:active,.colorbox1 #sgcboxClose:active{outline:0}.colorbox1 #sgcboxSlideshow{position:absolute;bottom:4px;right:30px;color:#0092ef}.colorbox1 #sgcboxPrevious{position:absolute;bottom:0;left:0;background:url(../../img/colorbox1/controls.png) no-repeat -75px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxPrevious:hover{background-position:-75px -25px}.colorbox1 #sgcboxNext{position:absolute;bottom:0;left:27px;background:url(../../img/colorbox1/controls.png) no-repeat -50px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxNext:hover{background-position:-50px -25px}.colorbox1 #sgcboxClose{position:absolute;padding:0!important;bottom:0;right:0;background:url(../../img/colorbox1/controls.png) no-repeat -25px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxClose:hover{background-position:-25px -25px}.colorbox1 .sgcboxIE #sgcboxTopLeft,.colorbox1 .sgcboxIE #sgcboxTopCenter,.colorbox1 .sgcboxIE #sgcboxTopRight,.colorbox1 .sgcboxIE #sgcboxBottomLeft,.colorbox1 .sgcboxIE #sgcboxBottomCenter,.colorbox1 .sgcboxIE #sgcboxBottomRight,.colorbox1 .sgcboxIE #sgcboxMiddleLeft,.colorbox1 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox2,#sgcboxOverlay.colorbox2,.colorbox2 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox2 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox2{position:fixed;width:100%;height:100%}.colorbox2 #sgcboxMiddleLeft,.colorbox2 #sgcboxBottomLeft{clear:left}.colorbox2 #sgcboxContent{position:relative}.colorbox2 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox2 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox2,#sgcboxLoadingGraphic.colorbox2{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox2 #sgcboxPrevious,.colorbox2 #sgcboxNext,.colorbox2 #sgcboxClose,.colorbox2 #sgcboxSlideshow{cursor:pointer}.colorbox2 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox2 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox2,.colorbox2 #sgcboxContent,.colorbox2 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox2{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox2{background:#fff}#sgcolorbox.colorbox2{outline:0}.colorbox2 #sgcboxContent{margin-top:32px;overflow:visible;background:#000}.colorbox2 .sgcboxIframe{background:#fff}.colorbox2 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox2 #sgcboxLoadedContent{background:#000;padding:1px}.colorbox2 #sgcboxLoadingGraphic{background:url(../../img/colorbox2/loading.gif) no-repeat center center}#sgcboxLoadingOverlay.colorbox2{background:#000}.colorbox2 #sgcboxTitle{position:absolute;top:-22px;left:0;color:#000}.colorbox2 #sgcboxCurrent{position:absolute;top:-22px;right:205px;text-indent:-9999px}.colorbox2 #sgcboxPrevious,.colorbox2 #sgcboxNext,.colorbox2 #sgcboxSlideshow,.colorbox2 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;text-indent:-9999px;width:20px;height:20px;position:absolute;top:-20px;background:url(../../img/colorbox2/controls.png) no-repeat 0 0}.colorbox2 #sgcboxPrevious:active,.colorbox2 #sgcboxNext:active,.colorbox2 #sgcboxSlideshow:active,.colorbox2 #sgcboxClose:active{outline:0}.colorbox2 #sgcboxPrevious{background-position:0 0;right:44px}.colorbox2 #sgcboxPrevious:hover{background-position:0 -25px}.colorbox2 #sgcboxNext{background-position:-25px 0;right:22px}.colorbox2 #sgcboxNext:hover{background-position:-25px -25px}.colorbox2 #sgcboxClose{background-position:-50px 0;right:0;padding:0!important}#sgcboxClose:hover{background-position:-50px -25px}.colorbox2 .sgcboxSlideshow_on #sgcboxPrevious,.colorbox2 .sgcboxSlideshow_off #sgcboxPrevious{right:66px}.colorbox2 .sgcboxSlideshow_on #sgcboxSlideshow{background-position:-75px -25px;right:44px}.colorbox2 .sgcboxSlideshow_on #sgcboxSlideshow:hover{background-position:-100px -25px}.colorbox2 .sgcboxSlideshow_off #sgcboxSlideshow{background-position:-100px 0;right:44px}.colorbox2 .sgcboxSlideshow_off #sgcboxSlideshow:hover{background-position:-75px -25px}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox3,#sgcboxOverlay.colorbox3,.colorbox3 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox3 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox3{position:fixed;width:100%;height:100%}.colorbox3 #sgcboxMiddleLeft,.colorbox3 #sgcboxBottomLeft{clear:left}.colorbox3 #sgcboxContent{position:relative}.colorbox3 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox3 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox3,.colorbox3 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox3 #sgcboxPrevious,.colorbox3 #sgcboxNext,.colorbox3 #sgcboxClose,.colorbox3 #sgcboxSlideshow{cursor:pointer}.colorbox3 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox3 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}.colorbox3 #sgcolorbox,#sgcboxContent,#sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox3{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox3{background:#000}#sgcolorbox.colorbox3{outline:0}.colorbox3 #sgcboxContent{margin-top:20px;background:#000}.colorbox3.sgcboxIframe{background:#fff}.colorbox3 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox3 #sgcboxLoadedContent{border:5px solid #000;background:#fff}.colorbox3 #sgcboxTitle{position:absolute;top:-20px;left:0;color:#ccc}.colorbox3 #sgcboxCurrent{position:absolute;top:-20px;right:0;color:#ccc}.colorbox3 #sgcboxLoadingGraphic{background:url(../../img/colorbox3/loading.gif) no-repeat center center}.colorbox3 #sgcboxPrevious,.colorbox3 #sgcboxNext,.colorbox3 #sgcboxSlideshow,.colorbox3 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox3 #sgcboxPrevious:active,.colorbox3 #sgcboxNext:active,.colorbox3 #sgcboxSlideshow:active,.colorbox3 #sgcboxClose:active{outline:0}.colorbox3 #sgcboxSlideshow{position:absolute;top:-20px;right:90px;color:#fff}.colorbox3 #sgcboxPrevious{position:absolute;top:50%;left:5px;margin-top:-32px;background:url(../../img/colorbox3/controls.png) no-repeat top left;width:28px;height:65px;text-indent:-9999px}.colorbox3 #sgcboxPrevious:hover{background-position:bottom left}.colorbox3 #sgcboxNext{position:absolute;top:50%;right:5px;margin-top:-32px;background:url(../../img/colorbox3/controls.png) no-repeat top right;width:28px;height:65px;text-indent:-9999px}.colorbox3 #sgcboxNext:hover{background-position:bottom right}.colorbox3 #sgcboxClose{position:absolute;top:5px;right:5px;padding:0!important;display:block;background:url(../../img/colorbox3/controls.png) no-repeat top center;width:38px;height:19px;text-indent:-9999px}.colorbox3 #sgcboxClose:hover{background-position:bottom center}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox4,#sgcboxOverlay.colorbox4,.colorbox4 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox4 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox4{position:fixed;width:100%;height:100%}.colorbox4 #sgcboxMiddleLeft,.colorbox4 #sgcboxBottomLeft{clear:left}.colorbox4 #sgcboxContent{position:relative}.colorbox4 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox4 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox4,.colorbox4 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox4 #sgcboxPrevious,.colorbox4 #sgcboxNext,.colorbox4 #sgcboxClose,.colorbox4 #sgcboxSlideshow{cursor:pointer}.colorbox4 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox4 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox4,.colorbox4 #sgcboxContent,.colorbox4 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox4{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox4{background:#fff}#sgcolorbox.colorbox4{outline:0}.colorbox4 #sgcboxTopLeft{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat 0 0}.colorbox4 #sgcboxTopCenter{height:25px;background:url(../../img/colorbox4/border1.png) repeat-x 0 -50px}.colorbox4 #sgcboxTopRight{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat -25px 0}.colorbox4 #sgcboxBottomLeft{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat 0 -25px}.colorbox4 #sgcboxBottomCenter{height:25px;background:url(../../img/colorbox4/border1.png) repeat-x 0 -75px}.colorbox4 #sgcboxBottomRight{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat -25px -25px}.colorbox4 #sgcboxMiddleLeft{width:25px;background:url(../../img/colorbox4/border2.png) repeat-y 0 0}.colorbox4 #sgcboxMiddleRight{width:25px;background:url(../../img/colorbox4/border2.png) repeat-y -25px 0}.colorbox4 #sgcboxContent{background:#fff;overflow:hidden}.colorbox4 .sgcboxIframe{background:#fff}.colorbox4 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox4 #sgcboxLoadedContent{margin-bottom:20px}.colorbox4 #sgcboxTitle{position:absolute;bottom:0;left:0;text-align:center;width:100%;color:#999}.colorbox4 #sgcboxCurrent{position:absolute;bottom:0;left:100px;color:#999}#sgcboxLoadingOverlay.colorbox4{background:#fff url(../../img/colorbox4/loading.gif) no-repeat 5px 5px}.colorbox4 #sgcboxPrevious,.colorbox4 #sgcboxNext,.colorbox4 #sgcboxSlideshow,.colorbox4 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox4 #sgcboxPrevious:active,.colorbox4 #sgcboxNext:active,.colorbox4 #sgcboxSlideshow:active,.colorbox4 #sgcboxClose:active{outline:0}.colorbox4 #sgcboxSlideshow{position:absolute;bottom:0;right:42px;color:#444}.colorbox4 #sgcboxPrevious{position:absolute;bottom:0;left:0;color:#444}.colorbox4 #sgcboxNext{position:absolute;bottom:0;left:63px;color:#444}.colorbox4 #sgcboxClose{position:absolute;bottom:0;right:0;display:block;padding:0!important;color:#444}.colorbox4 .sgcboxIE #sgcboxTopLeft,.colorbox4 .sgcboxIE #sgcboxTopCenter,.colorbox4 .sgcboxIE #sgcboxTopRight,.colorbox4 .sgcboxIE #sgcboxBottomLeft,.colorbox4 .sgcboxIE #sgcboxBottomCenter,.colorbox4 .sgcboxIE #sgcboxBottomRight,.colorbox4 .sgcboxIE #sgcboxMiddleLeft,.colorbox4 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox5,#sgcboxOverlay.colorbox5,.colorbox5 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox5 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox5{position:fixed;width:100%;height:100%}.colorbox5 #sgcboxMiddleLeft,.colorbox5 #sgcboxBottomLeft{clear:left}.colorbox5 #sgcboxContent{position:relative}.colorbox5 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox5 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox5,.colorbox5 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox5 #sgcboxPrevious,.colorbox5 #sgcboxNext,.colorbox5 #sgcboxClose,.colorbox5 #sgcboxSlideshow{cursor:pointer}.colorbox5 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox5 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox5,.colorbox5 #sgcboxContent,.colorbox5 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox5{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox5{background:#000}#sgcolorbox.colorbox5{outline:0}.colorbox5 #sgcboxTopLeft{width:14px;height:14px;background:url(../../img/colorbox5/controls.png) no-repeat 0 0}.colorbox5 #sgcboxTopCenter{height:14px;background:url(../../img/colorbox5/border.png) repeat-x top left}.colorbox5 #sgcboxTopRight{width:14px;height:14px;background:url(../../img/colorbox5/controls.png) no-repeat -36px 0}.colorbox5 #sgcboxBottomLeft{width:14px;height:43px;background:url(../../img/colorbox5/controls.png) no-repeat 0 -32px}.colorbox5 #sgcboxBottomCenter{height:43px;background:url(../../img/colorbox5/border.png) repeat-x bottom left}.colorbox5 #sgcboxBottomRight{width:14px;height:43px;background:url(../../img/colorbox5/controls.png) no-repeat -36px -32px}.colorbox5 #sgcboxMiddleLeft{width:14px;background:url(../../img/colorbox5/controls.png) repeat-y -175px 0}.colorbox5 #sgcboxMiddleRight{width:14px;background:url(../../img/colorbox5/controls.png) repeat-y -211px 0}.colorbox5 #sgcboxContent{background:#fff;overflow:visible}.colorbox5 .sgcboxIframe{background:#fff}.colorbox5 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox5 #sgcboxLoadedContent{margin-bottom:5px}#sgcboxLoadingOverlay.colorbox5{background:url(../../img/colorbox5/loading_background.png) no-repeat center center}.colorbox5 #sgcboxLoadingGraphic{background:url(../../img/colorbox5/loading.gif) no-repeat center center}.colorbox5 #sgcboxTitle{position:absolute;bottom:-25px;left:0;text-align:center;width:100%;font-weight:bold;color:#7C7C7C}.colorbox5 #sgcboxCurrent{position:absolute;bottom:-25px;left:58px;font-weight:bold;color:#7C7C7C}.colorbox5 #sgcboxPrevious,.colorbox5 #sgcboxNext,.colorbox5 #sgcboxSlideshow,.colorbox5 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;position:absolute;bottom:-29px;background:url(../../img/colorbox5/controls.png) no-repeat 0 0;width:23px;height:23px;text-indent:-9999px}.colorbox5 #sgcboxPrevious:active,.colorbox5 #sgcboxNext:active,.colorbox5 #sgcboxSlideshow:active,.colorbox5 #sgcboxClose:active{outline:0}.colorbox5 #sgcboxPrevious{left:0;background-position:-51px -25px}.colorbox5 #sgcboxPrevious:hover{background-position:-51px 0}.colorbox5 #sgcboxNext{left:27px;background-position:-75px -25px}.colorbox5 #sgcboxNext:hover{background-position:-75px 0}.colorbox5 #sgcboxClose{right:0;background-position:-100px -25px;padding:0!important}.colorbox5 #sgcboxClose:hover{background-position:-100px 0}.colorbox5 .sgcboxSlideshow_on #sgcboxSlideshow{background-position:-125px 0;right:27px}.colorbox5 .sgcboxSlideshow_on #sgcboxSlideshow:hover{background-position:-150px 0}.colorbox5 .sgcboxSlideshow_off #sgcboxSlideshow{background-position:-150px -25px;right:27px}.colorbox5 .sgcboxSlideshow_off #sgcboxSlideshow:hover{background-position:-125px 0}#sgcboxLoadedContent img{max-width:100%;height:auto}#sgcolorbox.colorbox6,#sgcboxOverlay.colorbox6,.colorbox6 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:visible}.colorbox6 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox6{position:fixed;width:100%;height:100%}.colorbox6 #sgcboxMiddleLeft,.colorbox6 #sgcboxBottomLeft{clear:left}.colorbox6 #sgcboxContent{position:relative}.colorbox6 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox6 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox6,.colorbox6 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox6 #sgcboxPrevious,.colorbox6 #sgcboxNext,.colorbox6 #sgcboxClose,.colorbox6 #sgcboxSlideshow{cursor:pointer}.colorbox6 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox6 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox6,.colorbox6 #sgcboxContent,.colorbox6 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox6{opacity:1;filter:alpha(opacity=99)}#sgcboxOverlay.colorbox6{background:url(../../img/colorbox6/colorbox_overlay.png) repeat 0 0}#sgcolorbox.colorbox6{outline:0}.colorbox6 #sgcboxTopLeft{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat 0 0}.colorbox6 #sgcboxTopCenter{height:25px;background:url(../../img/colorbox6/border1.png) repeat-x 0 -50px}.colorbox6 #sgcboxTopRight{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat -25px 0}.colorbox6 #sgcboxBottomLeft{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat 0 -25px}.colorbox6 #sgcboxBottomCenter{height:25px;background:url(../../img/colorbox6/border1.png) repeat-x 0 -75px}.colorbox6 #sgcboxBottomRight{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat -25px -25px}.colorbox6 #sgcboxMiddleLeft{width:25px;background:url(../../img/colorbox6/border2.png) repeat-y 0 0}.colorbox6 #sgcboxMiddleRight{width:25px;background:url(../../img/colorbox6/border2.png) repeat-y -25px 0}.colorbox6 #sgcboxContent{background:#fff;overflow:visible}.colorbox6 .sgcboxIframe{background:#fff}.colorbox6 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox6 #sgcboxTitle{position:absolute;bottom:0;left:0;text-align:center;width:100%;color:#999}.colorbox6 #sgcboxCurrent{position:absolute;bottom:0;left:100px;color:#999}#sgcboxLoadingOverlay.colorbox6{background:#fff url(../../img/colorbox6/loading.gif) no-repeat 5px 5px}.colorbox6 #sgcboxPrevious,.colorbox6 #sgcboxNext,.colorbox6 #sgcboxSlideshow,.colorbox6 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox6 #sgcboxPrevious:active,.colorbox6 #sgcboxNext:active,.colorbox6 #sgcboxSlideshow:active,.colorbox6 #sgcboxClose:active{outline:0}.colorbox6 #sgcboxSlideshow{position:absolute;bottom:0;right:42px;color:#444}.colorbox6 #sgcboxPrevious{position:absolute;bottom:0;left:0;color:#444}.colorbox6 #sgcboxNext{position:absolute;bottom:0;left:63px;color:#444}.colorbox6 #sgcboxClose{position:absolute;top:-28px;right:-26px;display:block;background:url(../../img/colorbox6/colorbox_sprite.png) no-repeat 2px 0;text-indent:-9999px;width:37px;height:37px;padding:0!important}.colorbox6 #sgcboxClose:hover{background-position:2px 0!important}.colorbox6 .sgcboxIE #sgcboxTopLeft,.colorbox6 .sgcboxIE #sgcboxTopCenter,.colorbox6 .sgcboxIE #sgcboxTopRight,.colorbox6 .sgcboxIE #sgcboxBottomLeft,.colorbox6 .sgcboxIE #sgcboxBottomCenter,.colorbox6 .sgcboxIE #sgcboxBottomRight,.colorbox6 .sgcboxIE #sgcboxMiddleLeft,.colorbox6 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcboxLoadedContent img{max-width:100%;height:auto}
|
1 |
+
#sgcolorbox.colorbox1,#sgcboxOverlay.colorbox1,.colorbox1 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox1 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox1{position:fixed;width:100%;height:100%}.colorbox1 #sgcboxMiddleLeft,.colorbox1 #cboxBottomLeft{clear:left}.colorbox1 #sgcboxContent{position:relative}.colorbox1 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox1 #sgsgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox1,.colorbox1 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox1 #sgcboxPrevious,.colorbox1 #cboxNext,.colorbox1 #sgcboxClose,.colorbox1 #sgcboxSlideshow{cursor:pointer}.colorbox1 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox1 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox1,.colorbox1 #sgcboxContent,.colorbox1 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox1{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox1{background:url(../../img/colorbox1/overlay.png) repeat 0 0}#sgcolorbox.colorbox1{outline:0}.colorbox1 #sgcboxTopLeft{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -101px 0}.colorbox1 #sgcboxTopRight{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -130px 0}.colorbox1 #sgcboxBottomLeft{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -101px -29px}.colorbox1 #sgcboxBottomRight{width:21px;height:21px;background:url(../../img/colorbox1/controls.png) no-repeat -130px -29px}.colorbox1 #sgcboxMiddleLeft{width:21px;background:url(../../img/colorbox1/controls.png) left top repeat-y}.colorbox1 #sgcboxMiddleRight{width:21px;background:url(../../img/colorbox1/controls.png) right top repeat-y}.colorbox1 #sgcboxTopCenter{height:21px;background:url(../../img/colorbox1/border.png) 0 0 repeat-x}.colorbox1 #sgcboxBottomCenter{height:21px;background:url(../../img/colorbox1/border.png) 0 -29px repeat-x}.colorbox1 #sgcboxContent{background:#fff;overflow:hidden}.colorbox1 .sgcboxIframe{background:#fff}.colorbox1 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox1 #sgcboxLoadedContent{margin-bottom:28px}.colorbox1 #sgcboxTitle{position:absolute;bottom:4px;left:0;text-align:center;width:100%;color:#949494}.colorbox1 #sgcboxCurrent{position:absolute;bottom:4px;left:58px;color:#949494}#sgcboxLoadingOverlay.colorbox1{background:url(../../img/colorbox1/loading_background.png) no-repeat center center}.colorbox1 #sgcboxLoadingGraphic{background:url(../../img/colorbox1/loading.gif) no-repeat center center}.colorbox1 #sgcboxPrevious,.colorbox1 #sgcboxNext,.colorbox1 #sgcboxSlideshow,.colorbox1 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox1 #sgcboxPrevious:active,.colorbox1 #sgcboxNext:active,.colorbox1 #sgcboxSlideshow:active,.colorbox1 #sgcboxClose:active{outline:0}.colorbox1 #sgcboxSlideshow{position:absolute;bottom:4px;right:30px;color:#0092ef}.colorbox1 #sgcboxPrevious{position:absolute;bottom:0;left:0;background:url(../../img/colorbox1/controls.png) no-repeat -75px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxPrevious:hover{background-position:-75px -25px}.colorbox1 #sgcboxNext{position:absolute;bottom:0;left:27px;background:url(../../img/colorbox1/controls.png) no-repeat -50px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxNext:hover{background-position:-50px -25px}.colorbox1 #sgcboxClose{position:absolute;padding:0!important;bottom:0;right:0;background:url(../../img/colorbox1/controls.png) no-repeat -25px 0;width:25px;height:25px;text-indent:-9999px}.colorbox1 #sgcboxClose:hover{background-position:-25px -25px}.colorbox1 .sgcboxIE #sgcboxTopLeft,.colorbox1 .sgcboxIE #sgcboxTopCenter,.colorbox1 .sgcboxIE #sgcboxTopRight,.colorbox1 .sgcboxIE #sgcboxBottomLeft,.colorbox1 .sgcboxIE #sgcboxBottomCenter,.colorbox1 .sgcboxIE #sgcboxBottomRight,.colorbox1 .sgcboxIE #sgcboxMiddleLeft,.colorbox1 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcolorbox.colorbox2,#sgcboxOverlay.colorbox2,.colorbox2 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox2 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox2{position:fixed;width:100%;height:100%}.colorbox2 #sgcboxMiddleLeft,.colorbox2 #sgcboxBottomLeft{clear:left}.colorbox2 #sgcboxContent{position:relative}.colorbox2 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox2 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox2,#sgcboxLoadingGraphic.colorbox2{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox2 #sgcboxPrevious,.colorbox2 #sgcboxNext,.colorbox2 #sgcboxClose,.colorbox2 #sgcboxSlideshow{cursor:pointer}.colorbox2 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox2 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox2,.colorbox2 #sgcboxContent,.colorbox2 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox2{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox2{background:#fff}#sgcolorbox.colorbox2{outline:0}.colorbox2 #sgcboxContent{margin-top:32px;overflow:visible;background:#000}.colorbox2 .sgcboxIframe{background:#fff}.colorbox2 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox2 #sgcboxLoadedContent{background:#000;padding:1px}.colorbox2 #sgcboxLoadingGraphic{background:url(../../img/colorbox2/loading.gif) no-repeat center center}#sgcboxLoadingOverlay.colorbox2{background:#000}.colorbox2 #sgcboxTitle{position:absolute;top:-22px;left:0;color:#000}.colorbox2 #sgcboxCurrent{position:absolute;top:-22px;right:205px;text-indent:-9999px}.colorbox2 #sgcboxPrevious,.colorbox2 #sgcboxNext,.colorbox2 #sgcboxSlideshow,.colorbox2 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;text-indent:-9999px;width:20px;height:20px;position:absolute;top:-20px;background:url(../../img/colorbox2/controls.png) no-repeat 0 0}.colorbox2 #sgcboxPrevious:active,.colorbox2 #sgcboxNext:active,.colorbox2 #sgcboxSlideshow:active,.colorbox2 #sgcboxClose:active{outline:0}.colorbox2 #sgcboxPrevious{background-position:0 0;right:44px}.colorbox2 #sgcboxPrevious:hover{background-position:0 -25px}.colorbox2 #sgcboxNext{background-position:-25px 0;right:22px}.colorbox2 #sgcboxNext:hover{background-position:-25px -25px}.colorbox2 #sgcboxClose{background-position:-50px 0;right:0;padding:0!important}#sgcboxClose:hover{background-position:-50px -25px}.colorbox2 .sgcboxSlideshow_on #sgcboxPrevious,.colorbox2 .sgcboxSlideshow_off #sgcboxPrevious{right:66px}.colorbox2 .sgcboxSlideshow_on #sgcboxSlideshow{background-position:-75px -25px;right:44px}.colorbox2 .sgcboxSlideshow_on #sgcboxSlideshow:hover{background-position:-100px -25px}.colorbox2 .sgcboxSlideshow_off #sgcboxSlideshow{background-position:-100px 0;right:44px}.colorbox2 .sgcboxSlideshow_off #sgcboxSlideshow:hover{background-position:-75px -25px}#sgcolorbox.colorbox3,#sgcboxOverlay.colorbox3,.colorbox3 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox3 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox3{position:fixed;width:100%;height:100%}.colorbox3 #sgcboxMiddleLeft,.colorbox3 #sgcboxBottomLeft{clear:left}.colorbox3 #sgcboxContent{position:relative}.colorbox3 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox3 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox3,.colorbox3 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox3 #sgcboxPrevious,.colorbox3 #sgcboxNext,.colorbox3 #sgcboxClose,.colorbox3 #sgcboxSlideshow{cursor:pointer}.colorbox3 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox3 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}.colorbox3 #sgcolorbox,#sgcboxContent,#sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox3{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox3{background:#000}#sgcolorbox.colorbox3{outline:0}.colorbox3 #sgcboxContent{margin-top:20px;background:#000}.colorbox3.sgcboxIframe{background:#fff}.colorbox3 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox3 #sgcboxLoadedContent{border:5px solid #000;background:#fff}.colorbox3 #sgcboxTitle{position:absolute;top:-20px;left:0;color:#ccc}.colorbox3 #sgcboxCurrent{position:absolute;top:-20px;right:0;color:#ccc}.colorbox3 #sgcboxLoadingGraphic{background:url(../../img/colorbox3/loading.gif) no-repeat center center}.colorbox3 #sgcboxPrevious,.colorbox3 #sgcboxNext,.colorbox3 #sgcboxSlideshow,.colorbox3 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox3 #sgcboxPrevious:active,.colorbox3 #sgcboxNext:active,.colorbox3 #sgcboxSlideshow:active,.colorbox3 #sgcboxClose:active{outline:0}.colorbox3 #sgcboxSlideshow{position:absolute;top:-20px;right:90px;color:#fff}.colorbox3 #sgcboxPrevious{position:absolute;top:50%;left:5px;margin-top:-32px;background:url(../../img/colorbox3/controls.png) no-repeat top left;width:28px;height:65px;text-indent:-9999px}.colorbox3 #sgcboxPrevious:hover{background-position:bottom left}.colorbox3 #sgcboxNext{position:absolute;top:50%;right:5px;margin-top:-32px;background:url(../../img/colorbox3/controls.png) no-repeat top right;width:28px;height:65px;text-indent:-9999px}.colorbox3 #sgcboxNext:hover{background-position:bottom right}.colorbox3 #sgcboxClose{position:absolute;top:5px;right:5px;padding:0!important;display:block;background:url(../../img/colorbox3/controls.png) no-repeat top center;width:38px;height:19px;text-indent:-9999px}.colorbox3 #sgcboxClose:hover{background-position:bottom center}#sgcolorbox.colorbox4,#sgcboxOverlay.colorbox4,.colorbox4 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox4 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox4{position:fixed;width:100%;height:100%}.colorbox4 #sgcboxMiddleLeft,.colorbox4 #sgcboxBottomLeft{clear:left}.colorbox4 #sgcboxContent{position:relative}.colorbox4 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox4 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox4,.colorbox4 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox4 #sgcboxPrevious,.colorbox4 #sgcboxNext,.colorbox4 #sgcboxClose,.colorbox4 #sgcboxSlideshow{cursor:pointer}.colorbox4 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox4 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox4,.colorbox4 #sgcboxContent,.colorbox4 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox4{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox4{background:#fff}#sgcolorbox.colorbox4{outline:0}.colorbox4 #sgcboxTopLeft{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat 0 0}.colorbox4 #sgcboxTopCenter{height:25px;background:url(../../img/colorbox4/border1.png) repeat-x 0 -50px}.colorbox4 #sgcboxTopRight{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat -25px 0}.colorbox4 #sgcboxBottomLeft{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat 0 -25px}.colorbox4 #sgcboxBottomCenter{height:25px;background:url(../../img/colorbox4/border1.png) repeat-x 0 -75px}.colorbox4 #sgcboxBottomRight{width:25px;height:25px;background:url(../../img/colorbox4/border1.png) no-repeat -25px -25px}.colorbox4 #sgcboxMiddleLeft{width:25px;background:url(../../img/colorbox4/border2.png) repeat-y 0 0}.colorbox4 #sgcboxMiddleRight{width:25px;background:url(../../img/colorbox4/border2.png) repeat-y -25px 0}.colorbox4 #sgcboxContent{background:#fff;overflow:hidden}.colorbox4 .sgcboxIframe{background:#fff}.colorbox4 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox4 #sgcboxLoadedContent{margin-bottom:20px}.colorbox4 #sgcboxTitle{position:absolute;bottom:0;left:0;text-align:center;width:100%;color:#999}.colorbox4 #sgcboxCurrent{position:absolute;bottom:0;left:100px;color:#999}#sgcboxLoadingOverlay.colorbox4{background:#fff url(../../img/colorbox4/loading.gif) no-repeat 5px 5px}.colorbox4 #sgcboxPrevious,.colorbox4 #sgcboxNext,.colorbox4 #sgcboxSlideshow,.colorbox4 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox4 #sgcboxPrevious:active,.colorbox4 #sgcboxNext:active,.colorbox4 #sgcboxSlideshow:active,.colorbox4 #sgcboxClose:active{outline:0}.colorbox4 #sgcboxSlideshow{position:absolute;bottom:0;right:42px;color:#444}.colorbox4 #sgcboxPrevious{position:absolute;bottom:0;left:0;color:#444}.colorbox4 #sgcboxNext{position:absolute;bottom:0;left:63px;color:#444}.colorbox4 #sgcboxClose{position:absolute;bottom:0;right:0;display:block;padding:0!important;color:#444}.colorbox4 .sgcboxIE #sgcboxTopLeft,.colorbox4 .sgcboxIE #sgcboxTopCenter,.colorbox4 .sgcboxIE #sgcboxTopRight,.colorbox4 .sgcboxIE #sgcboxBottomLeft,.colorbox4 .sgcboxIE #sgcboxBottomCenter,.colorbox4 .sgcboxIE #sgcboxBottomRight,.colorbox4 .sgcboxIE #sgcboxMiddleLeft,.colorbox4 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcolorbox.colorbox5,#sgcboxOverlay.colorbox5,.colorbox5 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:hidden}.colorbox5 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox5{position:fixed;width:100%;height:100%}.colorbox5 #sgcboxMiddleLeft,.colorbox5 #sgcboxBottomLeft{clear:left}.colorbox5 #sgcboxContent{position:relative}.colorbox5 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox5 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox5,.colorbox5 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox5 #sgcboxPrevious,.colorbox5 #sgcboxNext,.colorbox5 #sgcboxClose,.colorbox5 #sgcboxSlideshow{cursor:pointer}.colorbox5 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox5 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox5,.colorbox5 #sgcboxContent,.colorbox5 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox5{opacity:.9;filter:alpha(opacity=90)}.sgcboxOverlayBg.colorbox5{background:#000}#sgcolorbox.colorbox5{outline:0}.colorbox5 #sgcboxTopLeft{width:14px;height:14px;background:url(../../img/colorbox5/controls.png) no-repeat 0 0}.colorbox5 #sgcboxTopCenter{height:14px;background:url(../../img/colorbox5/border.png) repeat-x top left}.colorbox5 #sgcboxTopRight{width:14px;height:14px;background:url(../../img/colorbox5/controls.png) no-repeat -36px 0}.colorbox5 #sgcboxBottomLeft{width:14px;height:43px;background:url(../../img/colorbox5/controls.png) no-repeat 0 -32px}.colorbox5 #sgcboxBottomCenter{height:43px;background:url(../../img/colorbox5/border.png) repeat-x bottom left}.colorbox5 #sgcboxBottomRight{width:14px;height:43px;background:url(../../img/colorbox5/controls.png) no-repeat -36px -32px}.colorbox5 #sgcboxMiddleLeft{width:14px;background:url(../../img/colorbox5/controls.png) repeat-y -175px 0}.colorbox5 #sgcboxMiddleRight{width:14px;background:url(../../img/colorbox5/controls.png) repeat-y -211px 0}.colorbox5 #sgcboxContent{background:#fff;overflow:visible}.colorbox5 .sgcboxIframe{background:#fff}.colorbox5 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox5 #sgcboxLoadedContent{margin-bottom:5px}#sgcboxLoadingOverlay.colorbox5{background:url(../../img/colorbox5/loading_background.png) no-repeat center center}.colorbox5 #sgcboxLoadingGraphic{background:url(../../img/colorbox5/loading.gif) no-repeat center center}.colorbox5 #sgcboxTitle{position:absolute;bottom:-25px;left:0;text-align:center;width:100%;font-weight:bold;color:#7C7C7C}.colorbox5 #sgcboxCurrent{position:absolute;bottom:-25px;left:58px;font-weight:bold;color:#7C7C7C}.colorbox5 #sgcboxPrevious,.colorbox5 #sgcboxNext,.colorbox5 #sgcboxSlideshow,.colorbox5 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;position:absolute;bottom:-29px;background:url(../../img/colorbox5/controls.png) no-repeat 0 0;width:23px;height:23px;text-indent:-9999px}.colorbox5 #sgcboxPrevious:active,.colorbox5 #sgcboxNext:active,.colorbox5 #sgcboxSlideshow:active,.colorbox5 #sgcboxClose:active{outline:0}.colorbox5 #sgcboxPrevious{left:0;background-position:-51px -25px}.colorbox5 #sgcboxPrevious:hover{background-position:-51px 0}.colorbox5 #sgcboxNext{left:27px;background-position:-75px -25px}.colorbox5 #sgcboxNext:hover{background-position:-75px 0}.colorbox5 #sgcboxClose{right:0;background-position:-100px -25px;padding:0!important}.colorbox5 #sgcboxClose:hover{background-position:-100px 0}.colorbox5 .sgcboxSlideshow_on #sgcboxSlideshow{background-position:-125px 0;right:27px}.colorbox5 .sgcboxSlideshow_on #sgcboxSlideshow:hover{background-position:-150px 0}.colorbox5 .sgcboxSlideshow_off #sgcboxSlideshow{background-position:-150px -25px;right:27px}.colorbox5 .sgcboxSlideshow_off #sgcboxSlideshow:hover{background-position:-125px 0}#sgcolorbox.colorbox6,#sgcboxOverlay.colorbox6,.colorbox6 #sgcboxWrapper{position:absolute;top:0;left:0;z-index:2147483647;overflow:visible}.colorbox6 #sgcboxWrapper{max-width:none}#sgcboxOverlay.colorbox6{position:fixed;width:100%;height:100%}.colorbox6 #sgcboxMiddleLeft,.colorbox6 #sgcboxBottomLeft{clear:left}.colorbox6 #sgcboxContent{position:relative}.colorbox6 #sgcboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch}.colorbox6 #sgcboxTitle{margin:0}#sgcboxLoadingOverlay.colorbox6,.colorbox6 #sgcboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}.colorbox6 #sgcboxPrevious,.colorbox6 #sgcboxNext,.colorbox6 #sgcboxClose,.colorbox6 #sgcboxSlideshow{cursor:pointer}.colorbox6 .sgcboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.colorbox6 .sgcboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}#sgcolorbox.colorbox6,.colorbox6 #sgcboxContent,.colorbox6 #sgcboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#sgcboxOverlay.colorbox6{opacity:1;filter:alpha(opacity=99)}#sgcboxOverlay.colorbox6{background:url(../../img/colorbox6/colorbox_overlay.png) repeat 0 0}#sgcolorbox.colorbox6{outline:0}.colorbox6 #sgcboxTopLeft{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat 0 0}.colorbox6 #sgcboxTopCenter{height:25px;background:url(../../img/colorbox6/border1.png) repeat-x 0 -50px}.colorbox6 #sgcboxTopRight{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat -25px 0}.colorbox6 #sgcboxBottomLeft{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat 0 -25px}.colorbox6 #sgcboxBottomCenter{height:25px;background:url(../../img/colorbox6/border1.png) repeat-x 0 -75px}.colorbox6 #sgcboxBottomRight{width:25px;height:25px;background:url(../../img/colorbox6/border1.png) no-repeat -25px -25px}.colorbox6 #sgcboxMiddleLeft{width:25px;background:url(../../img/colorbox6/border2.png) repeat-y 0 0}.colorbox6 #sgcboxMiddleRight{width:25px;background:url(../../img/colorbox6/border2.png) repeat-y -25px 0}.colorbox6 #sgcboxContent{background:#fff;overflow:visible}.colorbox6 .sgcboxIframe{background:#fff}.colorbox6 #sgcboxError{padding:50px;border:1px solid #ccc}.colorbox6 #sgcboxTitle{position:absolute;bottom:0;left:0;text-align:center;width:100%;color:#999}.colorbox6 #sgcboxCurrent{position:absolute;bottom:0;left:100px;color:#999}#sgcboxLoadingOverlay.colorbox6{background:#fff url(../../img/colorbox6/loading.gif) no-repeat 5px 5px}.colorbox6 #sgcboxPrevious,.colorbox6 #sgcboxNext,.colorbox6 #sgcboxSlideshow,.colorbox6 #sgcboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:0 0}.colorbox6 #sgcboxPrevious:active,.colorbox6 #sgcboxNext:active,.colorbox6 #sgcboxSlideshow:active,.colorbox6 #sgcboxClose:active{outline:0}.colorbox6 #sgcboxSlideshow{position:absolute;bottom:0;right:42px;color:#444}.colorbox6 #sgcboxPrevious{position:absolute;bottom:0;left:0;color:#444}.colorbox6 #sgcboxNext{position:absolute;bottom:0;left:63px;color:#444}.colorbox6 #sgcboxClose{position:absolute;top:-28px;right:-26px;display:block;background:url(../../img/colorbox6/colorbox_sprite.png) no-repeat 2px 0;text-indent:-9999px;width:37px;height:37px;padding:0!important}.colorbox6 #sgcboxClose:hover{background-position:2px 0!important}.colorbox6 .sgcboxIE #sgcboxTopLeft,.colorbox6 .sgcboxIE #sgcboxTopCenter,.colorbox6 .sgcboxIE #sgcboxTopRight,.colorbox6 .sgcboxIE #sgcboxBottomLeft,.colorbox6 .sgcboxIE #sgcboxBottomCenter,.colorbox6 .sgcboxIE #sgcboxBottomRight,.colorbox6 .sgcboxIE #sgcboxMiddleLeft,.colorbox6 .sgcboxIE #sgcboxMiddleRight{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}#sgcboxLoadedContent img{max-width:100%}span.sg-show-popup{cursor:pointer!important}
|