Version Description
Current Version of Popup Builder is 2.6.4.2
Download this release
Release Info
Developer | Sygnoos |
Plugin | Popup Builder – Responsive WordPress Pop up |
Version | 2.6.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.6.4.2 to 2.6.4.3
- classes/PopupInstaller.php +1 -0
- classes/SGPopup.php +1 -1
- config.php +2 -2
- files/options_section/pro.php +1 -1
- files/sg_admin_post.php +17 -16
- files/sg_functions.php +19 -0
- files/sg_popup_create_new.php +52 -41
- files/sg_popup_page_selection.php +11 -8
- files/sg_popup_save.php +3 -1
- helpers/SgPopupGetData.php +1 -1
- javascript/sg_popup_backend.js +655 -1
- javascript/sg_popup_frontend.js +2 -2
- popup-builder.php +1 -1
- readme.txt +822 -0
- style/sgcolorbox/sgthemes.css +1 -1
classes/PopupInstaller.php
CHANGED
@@ -216,5 +216,6 @@ class PopupInstaller {
|
|
216 |
delete_option('SGPBCloseReviewPopup');
|
217 |
delete_option('SgpbCounter');
|
218 |
delete_option('SGPBInstallDate');
|
|
|
219 |
}
|
220 |
}
|
216 |
delete_option('SGPBCloseReviewPopup');
|
217 |
delete_option('SgpbCounter');
|
218 |
delete_option('SGPBInstallDate');
|
219 |
+
delete_option('popupPreviewId');
|
220 |
}
|
221 |
}
|
classes/SGPopup.php
CHANGED
@@ -381,7 +381,7 @@ abstract class SGPopup {
|
|
381 |
return $isInArray;
|
382 |
}
|
383 |
|
384 |
-
public static function addPopupForAllPages($id = '', $selectedData =
|
385 |
|
386 |
global $wpdb;
|
387 |
|
381 |
return $isInArray;
|
382 |
}
|
383 |
|
384 |
+
public static function addPopupForAllPages($id = '', $selectedData = array(), $type) {
|
385 |
|
386 |
global $wpdb;
|
387 |
|
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', 'https://popup-builder.com/');
|
30 |
define('SG_POPUP_EXTENSION_URL', 'https://popup-builder.com/extensions');
|
31 |
define('SG_MAILCHIMP_EXTENSION_URL', 'https://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.643);
|
28 |
+
define('SG_POPUP_PRO_VERSION', 3.373);
|
29 |
define('SG_POPUP_PRO_URL', 'https://popup-builder.com/');
|
30 |
define('SG_POPUP_EXTENSION_URL', 'https://popup-builder.com/extensions');
|
31 |
define('SG_MAILCHIMP_EXTENSION_URL', 'https://popup-builder.com/downloads/mailchimp/');
|
files/options_section/pro.php
CHANGED
@@ -88,7 +88,7 @@
|
|
88 |
<span class="dashicons dashicons-info same-image-style"></span><span class="infoForMobile samefontStyle">Don't show the popup for mobile.</span><br>
|
89 |
|
90 |
<span class="liquid-width">Show only on mobile devices:</span><input class="input-width-static" type="checkbox" name="openMobile" <?php echo @$sgOpenOnMobile;?> />
|
91 |
-
<span class="dashicons dashicons-info same-image-style"></span><span class="infoForMobile samefontStyle">If this option is active popup will
|
92 |
|
93 |
<span class="liquid-width">Show popup in date range:</span><input class="input-width-static js-checkbox-acordion" type="checkbox" name="popup-timer-status" <?php echo $sgPopupTimerStatus;?>>
|
94 |
<span class="dashicons dashicons-info repeatPopup same-image-style"></span><span class="infoSelectRepeat samefontStyle">Show popup for selected date range. If current date is in selected date range then popup will appear.</span><br>
|
88 |
<span class="dashicons dashicons-info same-image-style"></span><span class="infoForMobile samefontStyle">Don't show the popup for mobile.</span><br>
|
89 |
|
90 |
<span class="liquid-width">Show only on mobile devices:</span><input class="input-width-static" type="checkbox" name="openMobile" <?php echo @$sgOpenOnMobile;?> />
|
91 |
+
<span class="dashicons dashicons-info same-image-style"></span><span class="infoForMobile samefontStyle">If this option is active the popup will appear only on mobile devices.</span><br>
|
92 |
|
93 |
<span class="liquid-width">Show popup in date range:</span><input class="input-width-static js-checkbox-acordion" type="checkbox" name="popup-timer-status" <?php echo $sgPopupTimerStatus;?>>
|
94 |
<span class="dashicons dashicons-info repeatPopup same-image-style"></span><span class="infoSelectRepeat samefontStyle">Show popup for selected date range. If current date is in selected date range then popup will appear.</span><br>
|
files/sg_admin_post.php
CHANGED
@@ -33,6 +33,9 @@ add_action('admin_post_csv_file', 'sgGetCsvFile');
|
|
33 |
|
34 |
function sgPopupClone() {
|
35 |
$id = (int)$_GET['id'];
|
|
|
|
|
|
|
36 |
$obj = SGPopup::findById($id);
|
37 |
$title = $obj->getTitle();
|
38 |
$title .= "(clone)";
|
@@ -45,25 +48,23 @@ function sgPopupClone() {
|
|
45 |
|
46 |
$cloneId = $obj->getId();
|
47 |
/* For save popupIn pages table */
|
48 |
-
if($options['allPagesStatus']) {
|
49 |
-
|
50 |
-
update_option("SG_ALL_PAGES", false);
|
51 |
-
SGPopup::addPopupForAllPages($cloneId, $options['allSelectedPages'], 'page');
|
52 |
-
}
|
53 |
-
else {
|
54 |
-
update_option("SG_ALL_PAGES", $cloneId);
|
55 |
-
}
|
56 |
}
|
57 |
-
if($options['allPostsStatus']) {
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
else {
|
63 |
-
update_option("SG_ALL_POSTS", $cloneId);
|
64 |
-
}
|
65 |
}
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
wp_redirect(SG_APP_POPUP_ADMIN_URL."admin.php?page=PopupBuilder");
|
68 |
}
|
69 |
|
33 |
|
34 |
function sgPopupClone() {
|
35 |
$id = (int)$_GET['id'];
|
36 |
+
$allPosts = get_option('SG_ALL_POSTS');
|
37 |
+
|
38 |
+
|
39 |
$obj = SGPopup::findById($id);
|
40 |
$title = $obj->getTitle();
|
41 |
$title .= "(clone)";
|
48 |
|
49 |
$cloneId = $obj->getId();
|
50 |
/* For save popupIn pages table */
|
51 |
+
if($options['allPagesStatus'] && (!empty($options['showAllPages']) && $options['showAllPages'] != 'all')) {
|
52 |
+
SGPopup::addPopupForAllPages($cloneId, $options['allSelectedPages'], 'page');
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
+
if($options['allPostsStatus'] && (!empty($options['showAllPosts']) && $options['showAllPosts'] != "all")) {
|
55 |
+
SGPopup::addPopupForAllPages($cloneId, $options['allSelectedPosts'], 'page');
|
56 |
+
}
|
57 |
+
if($options['allCustomPostsStatus'] && (!empty($options['allSelectedCustomPosts']) && $options['showAllCustomPosts'] == "selected")) {
|
58 |
+
SGPopup::addPopupForAllPages($cloneId, $options['allSelectedCustomPosts'], 'page');
|
|
|
|
|
|
|
59 |
}
|
60 |
|
61 |
+
$parentAllPostData = SGFunctions::findInAllPostTypeData($id, $allPosts);
|
62 |
+
if(!empty($parentAllPostData)) {
|
63 |
+
$parentAllPostData['id'] = $cloneId;
|
64 |
+
$allPosts = get_option("SG_ALL_POSTS");
|
65 |
+
$allPosts[] = $parentAllPostData;
|
66 |
+
update_option("SG_ALL_POSTS", $allPosts);
|
67 |
+
}
|
68 |
wp_redirect(SG_APP_POPUP_ADMIN_URL."admin.php?page=PopupBuilder");
|
69 |
}
|
70 |
|
files/sg_functions.php
CHANGED
@@ -607,6 +607,25 @@ class SGFunctions
|
|
607 |
return false;
|
608 |
}
|
609 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
610 |
public static function countrisSelect() {
|
611 |
|
612 |
return '<select id="sameWidthinputs" name="countris" class="optionsCountry" data-role="tagsinput">
|
607 |
return false;
|
608 |
}
|
609 |
|
610 |
+
public static function findInAllPostTypeData($popupId, $allPosts)
|
611 |
+
{
|
612 |
+
$searchData = array();
|
613 |
+
|
614 |
+
if(empty($allPosts)) {
|
615 |
+
return $searchData;
|
616 |
+
}
|
617 |
+
|
618 |
+
foreach ($allPosts as $key => $postData) {
|
619 |
+
|
620 |
+
if(!empty($postData['id']) && $postData['id'] == $popupId) {
|
621 |
+
$searchData = $postData;
|
622 |
+
break;
|
623 |
+
}
|
624 |
+
}
|
625 |
+
|
626 |
+
return $searchData;
|
627 |
+
}
|
628 |
+
|
629 |
public static function countrisSelect() {
|
630 |
|
631 |
return '<select id="sameWidthinputs" name="countris" class="optionsCountry" data-role="tagsinput">
|
files/sg_popup_create_new.php
CHANGED
@@ -904,26 +904,37 @@ $postsRadio = array(
|
|
904 |
)
|
905 |
);
|
906 |
|
907 |
-
$
|
908 |
-
array(
|
909 |
-
"
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
915 |
|
916 |
-
),
|
917 |
-
array(
|
918 |
-
"title" => "Custom mode:",
|
919 |
-
"value" => "customMode",
|
920 |
-
"info" => "",
|
921 |
-
"data-attributes" => array(
|
922 |
-
"class" => "js-custom-mode"
|
923 |
)
|
|
|
|
|
|
|
|
|
|
|
924 |
|
925 |
-
)
|
926 |
-
);
|
927 |
|
928 |
$subsSuccessBehavior = array(
|
929 |
array(
|
@@ -1312,29 +1323,6 @@ if (isset($_GET["titleError"])): ?>
|
|
1312 |
</div>
|
1313 |
</div>
|
1314 |
|
1315 |
-
<?php if(!sgRemoveOption('popupContentBgImage')): ?>
|
1316 |
-
<span class="liquid-width">Popup background image:</span>
|
1317 |
-
<div class="input-width-static sg-display-inline">
|
1318 |
-
<input class="input-width-static js-popup-content-bg-image" type="checkbox" name="popupContentBgImage" <?php echo $sgPopupContentBgImage;?>></div><span class="dashicons dashicons-info repeatPopup same-image-style"></span><span class="infoSelectRepeat samefontStyle">Enable this option if you need to have background image for popup.</span><br>
|
1319 |
-
<div class="acordion-main-div-content js-popup-content-bg-image-wrapper">
|
1320 |
-
<span class="liquid-width">Background size:</span>
|
1321 |
-
<?php echo sgCreateSelect($sgPopupBgSizes,'popupContentBackgroundSize',esc_html(@$sgPopupContentBackgroundSize));?>
|
1322 |
-
<span class="liquid-width">Background repeat:</span>
|
1323 |
-
<?php echo sgCreateSelect($sgPopupBgRepeat,'popupContentBackgroundRepeat',esc_html(@$sgPopupContentBackgroundRepeat));?>
|
1324 |
-
|
1325 |
-
<div class="sg-wp-editor-container">
|
1326 |
-
<div class="liquid-width-div sg-vertical-top">
|
1327 |
-
<input id="js-upload-image-button" class="button popup-content-bg-image-btn" type="button" value="Select image">
|
1328 |
-
</div>
|
1329 |
-
<input class="input-width-static popup-content-bg-image-url" id="js-upload-image" type="text" size="36" name="popupContentBgImageUrl" value="<?php echo esc_attr($sgPopupContentBgImageUrl); ?>" >
|
1330 |
-
<span class="liquid-width-div"></span>
|
1331 |
-
<div class="show-image-contenier popup-content-bg-image-preview">
|
1332 |
-
<span class="no-image">(No image selected)</span>
|
1333 |
-
</div>
|
1334 |
-
</div>
|
1335 |
-
|
1336 |
-
</div>
|
1337 |
-
<?php endif; ?>
|
1338 |
<span class="liquid-width">Popup opening delay:</span>
|
1339 |
<input class="input-width-static" type="text" name="delay" value="<?php echo esc_attr($delay);?>" pattern = "\d+" title="It must be number"/><span class="dashicons dashicons-info contentClick infoImageDelay sameImageStyle"></span><span class="infoDelay samefontStyle">Specify how long the popup appearance should be delayed after loading the page (in sec).</span></br>
|
1340 |
</div>
|
@@ -1360,6 +1348,7 @@ if (isset($_GET["titleError"])): ?>
|
|
1360 |
<h3 class="hndle ui-sortable-handle dimentionsTitle" style="cursor: pointer"><span>Dimensions</span></h3>
|
1361 |
<div class="dimensionsContent">
|
1362 |
<div class="sg-radio-option-behavior">
|
|
|
1363 |
<?php createRadiobuttons($responsiveMode, 'popup-dimension-mode', true, esc_html($sgPopupDimensionMode), "liquid-width");?>
|
1364 |
</div>
|
1365 |
<div class="js-accordion-responsiveMode js-radio-accordion sg-accordion-content">
|
@@ -1453,7 +1442,29 @@ if (isset($_GET["titleError"])): ?>
|
|
1453 |
<span class="span-percent">after X seconds</span>
|
1454 |
</div>
|
1455 |
<?php endif;?>
|
1456 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1457 |
<span class="liquid-width">Change overlay color:</span><div id="color-picker"><input class="sgOverlayColor" id="sgOverlayColor" type="text" name="sgOverlayColor" value="<?php echo esc_attr(@$sgOverlayColor); ?>" /></div><br>
|
1458 |
|
1459 |
<span class="liquid-width">Change background color:</span><div id="color-picker"><input class="sgOverlayColor" id="sgOverlayColor" type="text" name="sg-content-background-color" value="<?php echo esc_attr(@$sgContentBackgroundColor); ?>" /></div><br>
|
904 |
)
|
905 |
);
|
906 |
|
907 |
+
function getResponsiveData($popupType = '') {
|
908 |
+
$responsiveDataAttrs = array(
|
909 |
+
"class" => "js-responsive-mode"
|
910 |
+
);
|
911 |
+
|
912 |
+
if($popupType == 'iframe' || $popupType == 'video') {
|
913 |
+
$responsiveDataAttrs['disabled'] = true;
|
914 |
+
}
|
915 |
+
|
916 |
+
$responsiveMode = array(
|
917 |
+
array(
|
918 |
+
"title" => "Responsive mode:",
|
919 |
+
"value" => "responsiveMode",
|
920 |
+
"info" => "",
|
921 |
+
"data-attributes" => $responsiveDataAttrs
|
922 |
+
),
|
923 |
+
array(
|
924 |
+
"title" => "Custom mode:",
|
925 |
+
"value" => "customMode",
|
926 |
+
"info" => "",
|
927 |
+
"data-attributes" => array(
|
928 |
+
"class" => "js-custom-mode"
|
929 |
+
)
|
930 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
931 |
)
|
932 |
+
);
|
933 |
+
|
934 |
+
return $responsiveMode;
|
935 |
+
}
|
936 |
+
|
937 |
|
|
|
|
|
938 |
|
939 |
$subsSuccessBehavior = array(
|
940 |
array(
|
1323 |
</div>
|
1324 |
</div>
|
1325 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1326 |
<span class="liquid-width">Popup opening delay:</span>
|
1327 |
<input class="input-width-static" type="text" name="delay" value="<?php echo esc_attr($delay);?>" pattern = "\d+" title="It must be number"/><span class="dashicons dashicons-info contentClick infoImageDelay sameImageStyle"></span><span class="infoDelay samefontStyle">Specify how long the popup appearance should be delayed after loading the page (in sec).</span></br>
|
1328 |
</div>
|
1348 |
<h3 class="hndle ui-sortable-handle dimentionsTitle" style="cursor: pointer"><span>Dimensions</span></h3>
|
1349 |
<div class="dimensionsContent">
|
1350 |
<div class="sg-radio-option-behavior">
|
1351 |
+
<?php $responsiveMode = getResponsiveData($popupType);?>
|
1352 |
<?php createRadiobuttons($responsiveMode, 'popup-dimension-mode', true, esc_html($sgPopupDimensionMode), "liquid-width");?>
|
1353 |
</div>
|
1354 |
<div class="js-accordion-responsiveMode js-radio-accordion sg-accordion-content">
|
1442 |
<span class="span-percent">after X seconds</span>
|
1443 |
</div>
|
1444 |
<?php endif;?>
|
1445 |
+
|
1446 |
+
<?php if(!sgRemoveOption('popupContentBgImage')): ?>
|
1447 |
+
<span class="liquid-width">Popup background image:</span><input class="input-width-static js-popup-content-bg-image" type="checkbox" name="popupContentBgImage" <?php echo $sgPopupContentBgImage;?>><span class="dashicons dashicons-info repeatPopup same-image-style"></span><span class="infoSelectRepeat samefontStyle">Enable this option if you need to have background image for popup.</span><br>
|
1448 |
+
<div class="acordion-main-div-content js-popup-content-bg-image-wrapper">
|
1449 |
+
<span class="liquid-width">Background size:</span>
|
1450 |
+
<?php echo sgCreateSelect($sgPopupBgSizes,'popupContentBackgroundSize',esc_html(@$sgPopupContentBackgroundSize));?>
|
1451 |
+
<span class="liquid-width">Background repeat:</span>
|
1452 |
+
<?php echo sgCreateSelect($sgPopupBgRepeat,'popupContentBackgroundRepeat',esc_html(@$sgPopupContentBackgroundRepeat));?>
|
1453 |
+
|
1454 |
+
<div class="sg-wp-editor-container">
|
1455 |
+
<div class="liquid-width-div sg-vertical-top">
|
1456 |
+
<input id="js-upload-image-button" class="button popup-content-bg-image-btn" type="button" value="Select image">
|
1457 |
+
</div>
|
1458 |
+
<input class="input-width-static popup-content-bg-image-url" id="js-upload-image" type="text" size="36" name="popupContentBgImageUrl" value="<?php echo esc_attr($sgPopupContentBgImageUrl); ?>" >
|
1459 |
+
<span class="liquid-width-div"></span>
|
1460 |
+
<div class="show-image-contenier popup-content-bg-image-preview">
|
1461 |
+
<span class="no-image">(No image selected)</span>
|
1462 |
+
</div>
|
1463 |
+
</div>
|
1464 |
+
|
1465 |
+
</div>
|
1466 |
+
<?php endif; ?>
|
1467 |
+
|
1468 |
<span class="liquid-width">Change overlay color:</span><div id="color-picker"><input class="sgOverlayColor" id="sgOverlayColor" type="text" name="sgOverlayColor" value="<?php echo esc_attr(@$sgOverlayColor); ?>" /></div><br>
|
1469 |
|
1470 |
<span class="liquid-width">Change background color:</span><div id="color-picker"><input class="sgOverlayColor" id="sgOverlayColor" type="text" name="sg-content-background-color" value="<?php echo esc_attr(@$sgContentBackgroundColor); ?>" /></div><br>
|
files/sg_popup_page_selection.php
CHANGED
@@ -17,7 +17,7 @@ function sgPopupCallback($post)
|
|
17 |
$prfx_stored_meta = get_post_meta( $post->ID );
|
18 |
?>
|
19 |
<p class="preview-paragaraph">
|
20 |
-
<?php
|
21 |
global $wpdb;
|
22 |
$proposedTypes = array();
|
23 |
$orderBy = 'id DESC';
|
@@ -26,7 +26,7 @@ function sgPopupCallback($post)
|
|
26 |
|
27 |
$str = "";
|
28 |
$str .= "<select class=\"choose-popup-type\" name=\"$name\">";
|
29 |
-
$str .= "<option value=''>Not selected</option>";
|
30 |
foreach($options as $option) {
|
31 |
|
32 |
$selected ='';
|
@@ -38,7 +38,6 @@ function sgPopupCallback($post)
|
|
38 |
if ($selecteOption == $id) {
|
39 |
$selected = "selected";
|
40 |
}
|
41 |
-
|
42 |
$str .= "<option value='".$id."' disable='".$id."' ".esc_attr($selected)." >".esc_html($title .'-'. $type)."</option>";
|
43 |
}
|
44 |
}
|
@@ -48,23 +47,27 @@ function sgPopupCallback($post)
|
|
48 |
global $post;
|
49 |
$page = (int)$post->ID;
|
50 |
$popup = "sg_promotional_popup";
|
51 |
-
|
|
|
|
|
|
|
|
|
52 |
echo sgCreateSelect($proposedTypes,'sg_promotional_popup',$popupId);
|
53 |
$SG_APP_POPUP_URL = SG_APP_POPUP_URL;
|
54 |
-
?>
|
55 |
</p>
|
56 |
<input type="hidden" value="<?php echo $SG_APP_POPUP_URL;?>" id="SG_APP_POPUP_URL">
|
57 |
-
<?php
|
58 |
}
|
59 |
|
60 |
function sgSelectPopupSaved($post_id)
|
61 |
{
|
62 |
$post_id = (int)$post_id;
|
63 |
-
if(
|
64 |
delete_post_meta($post_id, 'sg_promotional_popup');
|
65 |
return false;
|
66 |
}
|
67 |
-
else {
|
68 |
update_post_meta($post_id, 'sg_promotional_popup' , (int)$_POST['sg_promotional_popup']);
|
69 |
}
|
70 |
}
|
17 |
$prfx_stored_meta = get_post_meta( $post->ID );
|
18 |
?>
|
19 |
<p class="preview-paragaraph">
|
20 |
+
<?php
|
21 |
global $wpdb;
|
22 |
$proposedTypes = array();
|
23 |
$orderBy = 'id DESC';
|
26 |
|
27 |
$str = "";
|
28 |
$str .= "<select class=\"choose-popup-type\" name=\"$name\">";
|
29 |
+
$str .= "<option value='-1'>Not selected</option>";
|
30 |
foreach($options as $option) {
|
31 |
|
32 |
$selected ='';
|
38 |
if ($selecteOption == $id) {
|
39 |
$selected = "selected";
|
40 |
}
|
|
|
41 |
$str .= "<option value='".$id."' disable='".$id."' ".esc_attr($selected)." >".esc_html($title .'-'. $type)."</option>";
|
42 |
}
|
43 |
}
|
47 |
global $post;
|
48 |
$page = (int)$post->ID;
|
49 |
$popup = "sg_promotional_popup";
|
50 |
+
|
51 |
+
$popupId = 0;
|
52 |
+
$postMetaSavedValue = get_post_meta($post->ID, 'sg_promotional_popup');
|
53 |
+
if(!empty($postMetaSavedValue[0])) $popupId = (int)$postMetaSavedValue[0];
|
54 |
+
|
55 |
echo sgCreateSelect($proposedTypes,'sg_promotional_popup',$popupId);
|
56 |
$SG_APP_POPUP_URL = SG_APP_POPUP_URL;
|
57 |
+
?>
|
58 |
</p>
|
59 |
<input type="hidden" value="<?php echo $SG_APP_POPUP_URL;?>" id="SG_APP_POPUP_URL">
|
60 |
+
<?php
|
61 |
}
|
62 |
|
63 |
function sgSelectPopupSaved($post_id)
|
64 |
{
|
65 |
$post_id = (int)$post_id;
|
66 |
+
if(isset($_POST['sg_promotional_popup']) && $_POST['sg_promotional_popup'] == -1) {
|
67 |
delete_post_meta($post_id, 'sg_promotional_popup');
|
68 |
return false;
|
69 |
}
|
70 |
+
else if(isset($_POST['sg_promotional_popup'])) {
|
71 |
update_post_meta($post_id, 'sg_promotional_popup' , (int)$_POST['sg_promotional_popup']);
|
72 |
}
|
73 |
}
|
files/sg_popup_save.php
CHANGED
@@ -531,7 +531,9 @@ function updatePopupOptions($id, $postTypes, $isInsert) {
|
|
531 |
if(defined('ICL_LANGUAGE_CODE')){
|
532 |
$data['lang'] = ICL_LANGUAGE_CODE;
|
533 |
}
|
534 |
-
|
|
|
|
|
535 |
}
|
536 |
|
537 |
update_option("SG_ALL_POSTS", $allPosts);
|
531 |
if(defined('ICL_LANGUAGE_CODE')){
|
532 |
$data['lang'] = ICL_LANGUAGE_CODE;
|
533 |
}
|
534 |
+
if(is_array($allPosts)) {
|
535 |
+
array_push($allPosts, $data);
|
536 |
+
}
|
537 |
}
|
538 |
|
539 |
update_option("SG_ALL_POSTS", $allPosts);
|
helpers/SgPopupGetData.php
CHANGED
@@ -193,7 +193,7 @@ class SgPopupGetData {
|
|
193 |
$args = array(
|
194 |
'sort_order' => 'asc',
|
195 |
'sort_column' => 'post_title',
|
196 |
-
'hierarchical' =>
|
197 |
'exclude' => '',
|
198 |
'include' => '',
|
199 |
'meta_key' => '',
|
193 |
$args = array(
|
194 |
'sort_order' => 'asc',
|
195 |
'sort_column' => 'post_title',
|
196 |
+
'hierarchical' => 0,
|
197 |
'exclude' => '',
|
198 |
'include' => '',
|
199 |
'meta_key' => '',
|
javascript/sg_popup_backend.js
CHANGED
@@ -1 +1,655 @@
|
|
1 |
-
function beckend() {
|
2 |
this.titleNotEmpty(); /* Check title is Empty */
|
3 |
this.showThemePicture(); /* Show themes pictures */
|
4 |
this.showEffects(); /* Show effect type */
|
5 |
this.pageAcordion(); /* For page accordion divs */
|
6 |
this.fixedPostionSelection(); /* Functionality for selected position */
|
7 |
this.showInfo(); /* Show description options */
|
8 |
this.opacityRange();
|
9 |
this.subOptionContents();
|
10 |
this.addCountries();
|
11 |
this.showCloseTextFieldForTheme();
|
12 |
this.popupReview();
|
13 |
this.colorPicekr(); /* Color picker */
|
14 |
this.switchPopupActive();
|
15 |
this.initAccordions();
|
16 |
});
|
17 |
jQuery('.sg-info-close').on('click', function() {
|
18 |
jQuery( ".sg-info-panel-wrapper" ).hide(300);
|
19 |
});
|
20 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
|
21 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
|
22 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
|
23 |
checkedElement.after(toggleContnet.css({'display':'inline-block'}));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
this.titleNotEmpty(); /* Check title is Empty */
|
2 |
this.showThemePicture(); /* Show themes pictures */
|
3 |
this.showEffects(); /* Show effect type */
|
4 |
this.pageAcordion(); /* For page accordion divs */
|
5 |
this.fixedPostionSelection(); /* Functionality for selected position */
|
6 |
this.showInfo(); /* Show description options */
|
7 |
this.opacityRange();
|
8 |
this.subOptionContents();
|
9 |
this.addCountries();
|
10 |
this.showCloseTextFieldForTheme();
|
11 |
this.popupReview();
|
12 |
this.colorPicekr(); /* Color picker */
|
13 |
this.switchPopupActive();
|
14 |
this.initAccordions();
|
15 |
});
|
16 |
jQuery('.sg-info-close').on('click', function() {
|
17 |
jQuery( ".sg-info-panel-wrapper" ).hide(300);
|
18 |
});
|
19 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
|
20 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
|
21 |
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
|
22 |
checkedElement.after(toggleContnet.css({'display':'inline-block'}));
|
23 |
+
function beckend() {
|
24 |
+
|
25 |
+
}
|
26 |
+
|
27 |
+
beckend.prototype.sgInit = function() {
|
28 |
+
this.imageUpload(); /* It's Image Upload function */
|
29 |
+
this.soundUpload();
|
30 |
+
this.soundPreview();
|
31 |
+
this.deletePopup(); /* Delete popup */
|
32 |
+
this.titleNotEmpty(); /* Check title is Empty */
|
33 |
+
this.showThemePicture(); /* Show themes pictures */
|
34 |
+
this.showEffects(); /* Show effect type */
|
35 |
+
this.pageAcordion(); /* For page accordion divs */
|
36 |
+
this.fixedPostionSelection(); /* Functionality for selected position */
|
37 |
+
this.showInfo(); /* Show description options */
|
38 |
+
this.opacityRange();
|
39 |
+
this.subOptionContents();
|
40 |
+
this.addCountries();
|
41 |
+
this.showCloseTextFieldForTheme();
|
42 |
+
this.popupReview();
|
43 |
+
this.reviewPopup();
|
44 |
+
this.colorPicekr(); /* Color picker */
|
45 |
+
this.switchPopupActive();
|
46 |
+
this.initAccordions();
|
47 |
+
this.popupPreview();
|
48 |
+
};
|
49 |
+
|
50 |
+
beckend.prototype.switchPopupActive = function() {
|
51 |
+
var that = this;
|
52 |
+
|
53 |
+
jQuery(".sg-switch-checkbox").bind('change', function() {
|
54 |
+
var dataOptions = {};
|
55 |
+
var popupId = jQuery(this).attr('data-switch-id');
|
56 |
+
var ajaxNonce = jQuery(this).attr('data-checkbox-ajaxNonce');
|
57 |
+
dataOptions.ajaxNonce = ajaxNonce;
|
58 |
+
|
59 |
+
if(jQuery(this).is(":checked")) {
|
60 |
+
that.chengePopupStatus('on', popupId, dataOptions);
|
61 |
+
}
|
62 |
+
else {
|
63 |
+
that.chengePopupStatus('off', popupId, dataOptions);
|
64 |
+
}
|
65 |
+
});
|
66 |
+
};
|
67 |
+
|
68 |
+
beckend.prototype.chengePopupStatus = function(status, popupId, dataOptions) {
|
69 |
+
var data = {
|
70 |
+
action: 'change_popup_status',
|
71 |
+
ajaxNonce: dataOptions.ajaxNonce,
|
72 |
+
popupId: popupId,
|
73 |
+
popupStatus: status
|
74 |
+
};
|
75 |
+
|
76 |
+
jQuery.post(ajaxurl, data, function(response,d) {
|
77 |
+
|
78 |
+
});
|
79 |
+
};
|
80 |
+
|
81 |
+
beckend.prototype.colorPicekr = function() {
|
82 |
+
var that = this;
|
83 |
+
var sgColorPicker = jQuery('.sgOverlayColor').wpColorPicker({
|
84 |
+
change: function() {
|
85 |
+
var sgColorpicker = jQuery(this);
|
86 |
+
that.changeColor(sgColorpicker);
|
87 |
+
}
|
88 |
+
});
|
89 |
+
jQuery(".wp-picker-holder").bind('click',function() {
|
90 |
+
var selectedInput = jQuery(this).prev().find('.sgOverlayColor');
|
91 |
+
that.changeColor(selectedInput);
|
92 |
+
});
|
93 |
+
};
|
94 |
+
|
95 |
+
beckend.prototype.changeColor = function(elemet) {
|
96 |
+
var selectedName = elemet.attr("name");
|
97 |
+
var elementVal = elemet.val();
|
98 |
+
if(selectedName == 'countdownNumbersTextColor') {
|
99 |
+
jQuery("#sg-counts-text").remove();
|
100 |
+
jQuery("body").append("<style id=\"sg-counts-text\">.flip-clock-wrapper ul li a div div.inn { color: "+elementVal+"; }</style>");
|
101 |
+
}
|
102 |
+
if(selectedName == 'countdownNumbersBgColor') {
|
103 |
+
jQuery("#sg-counts-style").remove();
|
104 |
+
jQuery("body").append("<style id=\"sg-counts-style\">.flip-clock-wrapper ul li a div div.inn { background-color: "+elementVal+"; }</style>");
|
105 |
+
}
|
106 |
+
};
|
107 |
+
|
108 |
+
beckend.prototype.reviewPopup = function () {
|
109 |
+
|
110 |
+
jQuery('#sgcolorbox').ready(function () {
|
111 |
+
jQuery('#sgcolorbox').on('sgPopupCleanup', function () {
|
112 |
+
var ajaxNonce = jQuery(this).attr('data-ajaxnonce');
|
113 |
+
|
114 |
+
var data = {
|
115 |
+
action: 'change_review_popup_show_period',
|
116 |
+
ajaxNonce: SGPB_AJAX_NONCE
|
117 |
+
};
|
118 |
+
jQuery.post(ajaxurl, data, function(response,d) {
|
119 |
+
jQuery.sgcolorbox.close();
|
120 |
+
});
|
121 |
+
});
|
122 |
+
});
|
123 |
+
|
124 |
+
};
|
125 |
+
|
126 |
+
beckend.prototype.popupReview = function() {
|
127 |
+
jQuery(".sg-dont-show-agin").on("click", function() {
|
128 |
+
|
129 |
+
var ajaxNonce = jQuery(this).attr('data-ajaxnonce');
|
130 |
+
|
131 |
+
var data = {
|
132 |
+
action: 'close_review_panel',
|
133 |
+
ajaxNonce: ajaxNonce
|
134 |
+
};
|
135 |
+
jQuery.post(ajaxurl, data, function(response,d) {
|
136 |
+
|
137 |
+
});
|
138 |
+
jQuery( ".sg-info-panel-wrapper" ).hide(300);
|
139 |
+
});
|
140 |
+
|
141 |
+
jQuery('.sg-info-close').on('click', function() {
|
142 |
+
jQuery( ".sg-info-panel-wrapper" ).hide(300);
|
143 |
+
});
|
144 |
+
};
|
145 |
+
|
146 |
+
beckend.prototype.checkboxAcordion = function(element) {
|
147 |
+
if(!element.is(':checked')) {
|
148 |
+
element.nextAll("div").first().css({'display': 'none'});
|
149 |
+
}
|
150 |
+
else {
|
151 |
+
element.nextAll("div").first().css({'display':'inline-block'});
|
152 |
+
}
|
153 |
+
};
|
154 |
+
|
155 |
+
beckend.prototype.soundUpload = function () {
|
156 |
+
|
157 |
+
var custom_uploader;
|
158 |
+
jQuery('#js-upload-open-sound-button').click(function(e) {
|
159 |
+
e.preventDefault();
|
160 |
+
/* If the uploader object has already been created, reopen the dialog */
|
161 |
+
if (custom_uploader) {
|
162 |
+
custom_uploader.open();
|
163 |
+
return;
|
164 |
+
}
|
165 |
+
/* Extend the wp.media object */
|
166 |
+
custom_uploader = wp.media.frames.file_frame = wp.media({
|
167 |
+
titleFF: 'Change the sound',
|
168 |
+
button: {
|
169 |
+
text: 'Change the sound'
|
170 |
+
},
|
171 |
+
library : { type : ['audio/mpeg', 'audio/wav']},
|
172 |
+
multiple: false
|
173 |
+
});
|
174 |
+
/* When a file is selected, grab the URL and set it as the text field's value */
|
175 |
+
custom_uploader.on('select', function() {
|
176 |
+
var attachment = custom_uploader.state().get('selection').first().toJSON();
|
177 |
+
jQuery('#js-upload-open-sound').val(attachment.url);
|
178 |
+
});
|
179 |
+
/* Open the uploader dialog */
|
180 |
+
custom_uploader.open();
|
181 |
+
});
|
182 |
+
};
|
183 |
+
|
184 |
+
beckend.prototype.soundPreview = function () {
|
185 |
+
|
186 |
+
var songValue = 1;
|
187 |
+
var lastSong = undefined;
|
188 |
+
|
189 |
+
jQuery('.sg-preview-sound').bind('click', function () {
|
190 |
+
|
191 |
+
var uploadFile = jQuery('#js-upload-open-sound').val();
|
192 |
+
if(typeof lastSong == 'undefined') {
|
193 |
+
lastSong = new Audio(uploadFile);
|
194 |
+
}
|
195 |
+
|
196 |
+
/*
|
197 |
+
* songValue == 1 should be song
|
198 |
+
* songValue == 2 song should be pause
|
199 |
+
* */
|
200 |
+
if (songValue == 1) {
|
201 |
+
|
202 |
+
lastSong.play();
|
203 |
+
songValue = 2;
|
204 |
+
|
205 |
+
} else if (songValue == 2) {
|
206 |
+
lastSong.pause();
|
207 |
+
songValue = 1;
|
208 |
+
|
209 |
+
}
|
210 |
+
|
211 |
+
lastSong.onended = function () {
|
212 |
+
lastSong = undefined;
|
213 |
+
songValue = 1;
|
214 |
+
}
|
215 |
+
});
|
216 |
+
|
217 |
+
jQuery('#js-upload-open-sound').change(function () {
|
218 |
+
if(typeof lastSong != 'undefined') {
|
219 |
+
lastSong.pause();
|
220 |
+
lastSong = undefined;
|
221 |
+
}
|
222 |
+
songValue = 1;
|
223 |
+
});
|
224 |
+
|
225 |
+
jQuery('#reset-to-default').click(function (e) {
|
226 |
+
e.preventDefault();
|
227 |
+
if(typeof lastSong != 'undefined') {
|
228 |
+
lastSong.pause();
|
229 |
+
lastSong = undefined;
|
230 |
+
}
|
231 |
+
songValue = 1;
|
232 |
+
|
233 |
+
var defaultSong = jQuery(this).attr('data-default-song');
|
234 |
+
jQuery('#js-upload-open-sound').val(defaultSong);
|
235 |
+
});
|
236 |
+
};
|
237 |
+
|
238 |
+
beckend.prototype.imageUpload = function() {
|
239 |
+
if(jQuery("#js-upload-image").val()) {
|
240 |
+
jQuery(".show-image-contenier").html("");
|
241 |
+
jQuery(".show-image-contenier").css({'background-image': 'url("' + jQuery("#js-upload-image").val() + '")'});
|
242 |
+
}
|
243 |
+
var custom_uploader;
|
244 |
+
jQuery('#js-upload-image-button').click(function(e) {
|
245 |
+
e.preventDefault();
|
246 |
+
|
247 |
+
/* If the uploader object has already been created, reopen the dialog */
|
248 |
+
if (custom_uploader) {
|
249 |
+
custom_uploader.open();
|
250 |
+
return;
|
251 |
+
}
|
252 |
+
/* Extend the wp.media object */
|
253 |
+
custom_uploader = wp.media.frames.file_frame = wp.media({
|
254 |
+
titleFF: 'Choose Image',
|
255 |
+
button: {
|
256 |
+
text: 'Choose Image'
|
257 |
+
},
|
258 |
+
multiple: false
|
259 |
+
});
|
260 |
+
/* When a file is selected, grab the URL and set it as the text field's value */
|
261 |
+
custom_uploader.on('select', function() {
|
262 |
+
var attachment = custom_uploader.state().get('selection').first().toJSON();
|
263 |
+
jQuery(".show-image-contenier").css({'background-image': 'url("' + attachment.url + '")'});
|
264 |
+
jQuery(".show-image-contenier").html("");
|
265 |
+
jQuery('#js-upload-image').val(attachment.url);
|
266 |
+
});
|
267 |
+
/* Open the uploader dialog */
|
268 |
+
custom_uploader.open();
|
269 |
+
});
|
270 |
+
|
271 |
+
/* its finish image uploader */
|
272 |
+
};
|
273 |
+
|
274 |
+
beckend.prototype.deletePopup = function() {
|
275 |
+
jQuery(".sg-js-delete-link").bind('click',function() {
|
276 |
+
var request = confirm("Are you sure?");
|
277 |
+
if(!request) {
|
278 |
+
return false;
|
279 |
+
}
|
280 |
+
var popup_id = jQuery(this).attr("data-sg-popup-id");
|
281 |
+
var ajaxNonce = jQuery(this).attr('data-ajaxNonce');
|
282 |
+
|
283 |
+
var data = {
|
284 |
+
action: 'delete_popup',
|
285 |
+
ajaxNonce: ajaxNonce,
|
286 |
+
popup_id: popup_id
|
287 |
+
};
|
288 |
+
|
289 |
+
jQuery.post(ajaxurl, data, function(response,d) {
|
290 |
+
location.reload();
|
291 |
+
});
|
292 |
+
});
|
293 |
+
};
|
294 |
+
|
295 |
+
beckend.prototype.titleNotEmpty = function() {
|
296 |
+
jQuery("#add-form").submit(function() {
|
297 |
+
var popupTitle = jQuery(".sg-js-popup-title").val();
|
298 |
+
if(popupTitle == '' || popupTitle == ' ') {
|
299 |
+
alert('Please fill in title field');
|
300 |
+
return false;
|
301 |
+
}
|
302 |
+
});
|
303 |
+
};
|
304 |
+
|
305 |
+
beckend.prototype.showThemePicture = function() {
|
306 |
+
jQuery(".popup_theme_name").bind("mouseover",function(e) {
|
307 |
+
jQuery('.theme'+jQuery(this).attr("sgpoupnumber")+'').css('display', 'block');
|
308 |
+
});
|
309 |
+
};
|
310 |
+
|
311 |
+
beckend.prototype.showEffects = function() {
|
312 |
+
var effectTimer = '';
|
313 |
+
|
314 |
+
jQuery('select[name="effect"]').bind('change', function() {
|
315 |
+
if (effectTimer!='') {
|
316 |
+
clearTimeout(effectTimer);
|
317 |
+
}
|
318 |
+
effectTimer = setTimeout(function() {
|
319 |
+
jQuery("#effectShow").hide();
|
320 |
+
effectTimer = '';
|
321 |
+
},1400);
|
322 |
+
jQuery("#effectShow").removeClass();
|
323 |
+
jQuery("#effectShow").show();
|
324 |
+
jQuery("#effectShow").addClass('sg-animated '+jQuery(this).val()+'');
|
325 |
+
});
|
326 |
+
jQuery('.js-preview-effect').click(function() {
|
327 |
+
if (effectTimer!='') {
|
328 |
+
clearTimeout(effectTimer);
|
329 |
+
}
|
330 |
+
effectTimer = setTimeout(function() {
|
331 |
+
jQuery("#effectShow").hide();
|
332 |
+
effectTimer = '';
|
333 |
+
},1400);
|
334 |
+
jQuery("#effectShow").removeClass();
|
335 |
+
jQuery("#effectShow").show();
|
336 |
+
jQuery("#effectShow").addClass('sg-animated '+jQuery('select[name="effect"] option:selected').val()+'');
|
337 |
+
});
|
338 |
+
};
|
339 |
+
|
340 |
+
beckend.prototype.pageAcordion = function() {
|
341 |
+
jQuery("#specialoptionsTitle").toggle(function(){
|
342 |
+
jQuery('.specialOptionsContent').fadeOut();
|
343 |
+
jQuery("#specialoptionsTitle > img").css("transform", 'rotate(0deg)');
|
344 |
+
},function(){
|
345 |
+
jQuery('.specialOptionsContent').fadeIn();
|
346 |
+
jQuery("#specialoptionsTitle > img").css("transform", 'rotate(180deg)');
|
347 |
+
});
|
348 |
+
|
349 |
+
function acardionDivs(prama1,param2,param3) {
|
350 |
+
jQuery(prama1).toggle(function() {
|
351 |
+
jQuery(param2).addClass('closed');
|
352 |
+
jQuery(param3).fadeOut();
|
353 |
+
|
354 |
+
},function() {
|
355 |
+
jQuery(param3).fadeIn();
|
356 |
+
jQuery(param2).removeClass('closed');
|
357 |
+
});
|
358 |
+
}
|
359 |
+
|
360 |
+
acardionDivs(".generalTitle",'.popupBuilder_general_postbox','.generalContent');
|
361 |
+
acardionDivs(".effectTitle",'.popupBuilder_effect_postbox','.effectsContent');
|
362 |
+
acardionDivs(".optionsTitle",'.popupBuilder_options_postbox','.optionsContent');
|
363 |
+
acardionDivs(".dimentionsTitle",'.popupBuilder_dimention_postbox','.dimensionsContent');
|
364 |
+
acardionDivs(".js-advanced-title",'.js-advanced-postbox','.advanced-options-content');
|
365 |
+
acardionDivs(".js-special-title",'.popup-builder-special-postbox','.special-options-content');
|
366 |
+
};
|
367 |
+
|
368 |
+
beckend.prototype.fixedPostionSelection = function() {
|
369 |
+
jQuery(".js-fixed-position-style").bind("click",function() {
|
370 |
+
var sgelement = jQuery(this);
|
371 |
+
var sgpos = sgelement.attr('data-sgvalue');
|
372 |
+
jQuery(".js-fixed-position-style").css("backgroundColor","#FFFFFF");
|
373 |
+
jQuery(this).css("backgroundColor","rgba(70,173,208,0.5)");
|
374 |
+
jQuery(".js-fixed-postion").val(sgpos);
|
375 |
+
});
|
376 |
+
|
377 |
+
jQuery(".js-fixed-position-style").bind("mouseover",function() {
|
378 |
+
jQuery(".js-fixed-position-style").css("backgroundColor","#FFFFFF");
|
379 |
+
jQuery(this).css("backgroundColor","rgb(70,173,208)");
|
380 |
+
jQuery(".js-fixed-position-style").each(function() {
|
381 |
+
if (jQuery(this).attr("data-sgvalue") == jQuery('.js-fixed-postion').val())
|
382 |
+
jQuery(this).css("backgroundColor","rgba(70,173,208,0.5)");
|
383 |
+
});
|
384 |
+
});
|
385 |
+
|
386 |
+
jQuery(".js-fixed-position-style").bind("mouseout",function() {
|
387 |
+
if(jQuery(".js-fixed-position-style").attr("data-sgvalue") !== jQuery(".js-fixed-postion").val() || jQuery(".js-fixed-postion").val() == 1) {
|
388 |
+
jQuery(this).css("backgroundColor","#FFFFFF");
|
389 |
+
}
|
390 |
+
jQuery(".js-fixed-position-style").each(function() {
|
391 |
+
if (jQuery(this).attr("data-sgvalue") == jQuery('.js-fixed-postion').val()) {
|
392 |
+
jQuery(this).css("backgroundColor","rgba(70,173,208,0.5)");
|
393 |
+
}
|
394 |
+
});
|
395 |
+
});
|
396 |
+
|
397 |
+
if(jQuery('.js-fixed-postion').val()!='') {
|
398 |
+
jQuery(".js-fixed-position-style").each(function(){
|
399 |
+
if (jQuery(this).attr("data-sgvalue") == jQuery('.js-fixed-postion').val()) {
|
400 |
+
jQuery(this).css("backgroundColor","rgba(70,173,208,0.5)");
|
401 |
+
}
|
402 |
+
});
|
403 |
+
}
|
404 |
+
};
|
405 |
+
|
406 |
+
beckend.prototype.showInfo = function() {
|
407 |
+
jQuery(".dashicons.dashicons-info").hover(
|
408 |
+
function() {
|
409 |
+
jQuery(this).next('span').css({"display": 'inline-block'});
|
410 |
+
}, function() {
|
411 |
+
jQuery(this).next('span').css({"display": 'none'});
|
412 |
+
}
|
413 |
+
);
|
414 |
+
};
|
415 |
+
|
416 |
+
beckend.prototype.opacityRange = function() {
|
417 |
+
if (typeof Powerange != 'undefined') {
|
418 |
+
var powerRangeSelectors = ['js-decimal', 'js-popup-content-opacity'];
|
419 |
+
|
420 |
+
for(var i in powerRangeSelectors) {
|
421 |
+
|
422 |
+
if(jQuery('.'+powerRangeSelectors[i]).length == 0) {
|
423 |
+
continue;
|
424 |
+
}
|
425 |
+
this.powerRange(powerRangeSelectors[i]);
|
426 |
+
}
|
427 |
+
}
|
428 |
+
};
|
429 |
+
|
430 |
+
beckend.prototype.powerRange = function (cssSelectorName) {
|
431 |
+
var dec = document.querySelector('.'+cssSelectorName);
|
432 |
+
function displayDecimalValue() {
|
433 |
+
var dec = document.querySelector('.'+cssSelectorName);
|
434 |
+
document.getElementById(cssSelectorName).innerHTML = jQuery('.'+cssSelectorName).attr("value");
|
435 |
+
}
|
436 |
+
if(jQuery('#'+cssSelectorName).attr('data-init') == 'false') {
|
437 |
+
jQuery('#'+cssSelectorName).attr('data-init', true);
|
438 |
+
var initDec = new Powerange(dec, { decimal: true, callback: displayDecimalValue, max: 1, start: jQuery('.'+cssSelectorName).attr("value") });
|
439 |
+
}
|
440 |
+
|
441 |
+
};
|
442 |
+
|
443 |
+
beckend.prototype.showOptionsInfo = function(cehckboxSelector, param2) {
|
444 |
+
if(jQuery(""+cehckboxSelector+":checked").length == 0) {
|
445 |
+
jQuery("."+param2+"").css({'display': 'none'});
|
446 |
+
}
|
447 |
+
else
|
448 |
+
{
|
449 |
+
jQuery("."+param2+"").css({'display':'inline-block'});
|
450 |
+
}
|
451 |
+
|
452 |
+
jQuery(""+cehckboxSelector+"").bind("click",function() {
|
453 |
+
if(jQuery(""+cehckboxSelector+":checked").length == 0) {
|
454 |
+
jQuery("."+param2+"").css({'display':'none'});
|
455 |
+
}
|
456 |
+
else {
|
457 |
+
jQuery("."+param2+"").css({'display':'inline-block'});
|
458 |
+
}
|
459 |
+
});
|
460 |
+
jQuery('input.popup_theme_name').bind('mouseout',function() {
|
461 |
+
jQuery('.theme1').css('display', 'none');
|
462 |
+
jQuery('.theme2').css('display', 'none');
|
463 |
+
jQuery('.theme3').css('display', 'none');
|
464 |
+
jQuery('.theme4').css('display', 'none');
|
465 |
+
jQuery('.theme5').css('display', 'none');
|
466 |
+
jQuery('.theme6').css('display', 'none');
|
467 |
+
});
|
468 |
+
|
469 |
+
};
|
470 |
+
|
471 |
+
beckend.prototype.subOptionContents = function() {
|
472 |
+
this.showOptionsInfo("#js-auto-close", "js-auto-close-content");
|
473 |
+
this.showOptionsInfo("#js-scrolling-event-inp", "js-scrolling-content");
|
474 |
+
this.showOptionsInfo("#js-inactivity-event-inp", "js-inactivity-content");
|
475 |
+
this.showOptionsInfo("#js-countris", "js-countri-content");
|
476 |
+
this.showOptionsInfo("#js-popup-only-once", "js-popup-only-once-content");
|
477 |
+
this.showOptionsInfo(".js-on-all-pages", "js-all-pages-content");
|
478 |
+
this.showOptionsInfo(".js-on-all-posts", "js-all-posts-content");
|
479 |
+
this.showOptionsInfo(".js-on-all-custom-posts", "js-all-custom-posts-content");
|
480 |
+
this.showOptionsInfo(".js-user-seperator", "js-user-seperator-content");
|
481 |
+
this.showOptionsInfo(".js-checkbox-contnet-click", "js-content-click-wrraper");
|
482 |
+
this.showOptionsInfo(".js-checkbox-contact-success-frequency-click", "js-checkbox-contact-success-frequency-wrraper");
|
483 |
+
this.showOptionsInfo(".js-checkbox-sound-option", "js-checkbox-sound-option-wrapper");
|
484 |
+
this.showOptionsInfo(".js-popup-content-bg-image", "js-popup-content-bg-image-wrapper");
|
485 |
+
|
486 |
+
var that = this;
|
487 |
+
var element = jQuery(".js-checkbox-acordion");
|
488 |
+
element.each(function() {
|
489 |
+
that.checkboxAcordion(jQuery(this));
|
490 |
+
});
|
491 |
+
|
492 |
+
element.click(function() {
|
493 |
+
var elements = jQuery(this);
|
494 |
+
that.checkboxAcordion(jQuery(this));
|
495 |
+
});
|
496 |
+
|
497 |
+
this.radioButtonAcordion(jQuery("[name='allPages']"),jQuery("[name='allPages']:checked"),"selected", jQuery('.js-pages-selectbox-content'));
|
498 |
+
this.radioButtonAcordion(jQuery("[name='allPosts']"),jQuery("[name='allPosts']:checked"),"selected",jQuery('.js-posts-selectbox-content'));
|
499 |
+
this.radioButtonAcordion(jQuery("[name='allPosts']"),jQuery("[name='allPosts']:checked"),"allCategories", jQuery(".js-all-categories-content"));
|
500 |
+
this.radioButtonAcordion(jQuery("[name='allCustomPosts']"),jQuery("[name='allCustomPosts']:checked"),"selected", jQuery(".js-all-custompost-content"));
|
501 |
+
this.radioButtonAcordion(jQuery("[name='content-click-behavior']"),jQuery("[name='content-click-behavior']:checked"),"redirect",jQuery(".js-readio-buttons-acordion-content"));
|
502 |
+
|
503 |
+
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"showMessage", jQuery('.js-subs-success-message-content'));
|
504 |
+
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"redirectToUrl", jQuery('.js-subs-success-redirect-content'));
|
505 |
+
this.radioButtonAcordion(jQuery("[name='subs-success-behavior']"),jQuery("[name='subs-success-behavior']:checked"),"openPopup", jQuery('.js-subs-success-popups-list-content'));
|
506 |
+
};
|
507 |
+
|
508 |
+
beckend.prototype.radioButtonAcordion = function(element, checkedElement,value, toggleContnet) {
|
509 |
+
element.on("change", function() {
|
510 |
+
|
511 |
+
if(jQuery(this).is(":checked") && jQuery(this).val() == value) {
|
512 |
+
jQuery(this).after(toggleContnet.css({'display':'inline-block'}));
|
513 |
+
|
514 |
+
}
|
515 |
+
else {
|
516 |
+
toggleContnet.css({'display': 'none'});
|
517 |
+
}
|
518 |
+
});
|
519 |
+
if(checkedElement.val() == value) {
|
520 |
+
checkedElement.after(toggleContnet.css({'display':'inline-block'}));
|
521 |
+
}
|
522 |
+
else {
|
523 |
+
toggleContnet.css({'display': 'none'});
|
524 |
+
}
|
525 |
+
};
|
526 |
+
|
527 |
+
beckend.prototype.initAccordions = function() {
|
528 |
+
var radioButtonsList = [
|
529 |
+
jQuery("[name='contact-success-behavior']"),
|
530 |
+
jQuery("[name='popup-dimension-mode']")
|
531 |
+
];
|
532 |
+
|
533 |
+
for(var radioButtonIndex in radioButtonsList) {
|
534 |
+
|
535 |
+
var radioButton = radioButtonsList[radioButtonIndex];
|
536 |
+
|
537 |
+
var that = this;
|
538 |
+
radioButton.each(function () {
|
539 |
+
that.buildAccordionActions(jQuery(this));
|
540 |
+
});
|
541 |
+
radioButton.on("change", function () {
|
542 |
+
that.buildAccordionActions(jQuery(this), 'change');
|
543 |
+
});
|
544 |
+
}
|
545 |
+
};
|
546 |
+
|
547 |
+
beckend.prototype.buildAccordionActions = function (currentRadioButton, event) {
|
548 |
+
|
549 |
+
if(event == 'change') {
|
550 |
+
currentRadioButton.parents('.sg-radio-option-behavior').first().find('.js-radio-accordion').css({'display': 'none'});
|
551 |
+
}
|
552 |
+
|
553 |
+
var value = currentRadioButton.val();
|
554 |
+
var toggleContent = jQuery('.js-accordion-'+value);
|
555 |
+
|
556 |
+
if(currentRadioButton.is(':checked')) {
|
557 |
+
currentRadioButton.after(toggleContent.css({'display':'inline-block'}));
|
558 |
+
}
|
559 |
+
else {
|
560 |
+
toggleContent.css({'display': 'none'});
|
561 |
+
}
|
562 |
+
};
|
563 |
+
|
564 |
+
beckend.prototype.addCountries = function() {
|
565 |
+
var countyNames = [];
|
566 |
+
if(!jQuery('#countryIso').length) {
|
567 |
+
return;
|
568 |
+
}
|
569 |
+
var countryIsos = jQuery('#countryIso').val().split(',');
|
570 |
+
function addCountry(name,iso) {
|
571 |
+
countyNames.push(name);
|
572 |
+
countryIsos.push(iso);
|
573 |
+
jQuery("#countryIso").val(countryIsos.join(','));
|
574 |
+
jQuery('#countryName').tagsinput('add', countyNames.join(','));
|
575 |
+
}
|
576 |
+
jQuery(".addCountry").bind('click',function(){
|
577 |
+
var optionCountryName = jQuery(".optionsCountry option:selected").text();
|
578 |
+
var optionCountryIso = jQuery(".optionsCountry option:selected").val();
|
579 |
+
addCountry(optionCountryName,optionCountryIso);
|
580 |
+
});
|
581 |
+
jQuery('input').on('itemRemoved', function(event) {
|
582 |
+
var removeCountryName = event.item;
|
583 |
+
var countryNameIso = countyNames.indexOf(removeCountryName);
|
584 |
+
countryIsos.splice(countryNameIso,1);
|
585 |
+
countyNames.splice(countryNameIso,1);
|
586 |
+
jQuery("#countryIso").val(countryIsos.join(','));
|
587 |
+
});
|
588 |
+
|
589 |
+
if(typeof popupCountries != "undefined" && typeof popupCountries != "undefined"){
|
590 |
+
var sgCountryNameArray = popupCountries.sgCountryName.split(",");
|
591 |
+
var sgCountryIsoArray = popupCountries.sgCountryIso.split(",");
|
592 |
+
for(var i=0; i <= sgCountryIsoArray.length; i++) {
|
593 |
+
addCountry(sgCountryNameArray[i],sgCountryIsoArray[i]);
|
594 |
+
}
|
595 |
+
}
|
596 |
+
};
|
597 |
+
|
598 |
+
beckend.prototype.showCloseTextFieldForTheme = function() {
|
599 |
+
var that = this;
|
600 |
+
jQuery("[name='theme']").each(function() {
|
601 |
+
if(jQuery(this).prop("checked")) {
|
602 |
+
that.sgAllowCustomizedThemes(jQuery(this));
|
603 |
+
}
|
604 |
+
});
|
605 |
+
|
606 |
+
jQuery("[name='theme']").bind("change", function() {
|
607 |
+
that.sgAllowCustomizedThemes(jQuery(this))
|
608 |
+
});
|
609 |
+
|
610 |
+
};
|
611 |
+
|
612 |
+
beckend.prototype.sgAllowCustomizedThemes = function(cureentRadioButton) {
|
613 |
+
var customizedThemes = ['2','3','4'];
|
614 |
+
var themeNumber = cureentRadioButton.attr("sgpoupnumber");
|
615 |
+
var isInCustomThemes = customizedThemes.indexOf(themeNumber);
|
616 |
+
jQuery(".themes-suboptions").addClass("sg-hide");
|
617 |
+
if(isInCustomThemes != -1) {
|
618 |
+
|
619 |
+
if(cureentRadioButton.prop( "checked" )) {
|
620 |
+
jQuery(".sg-popup-theme-"+themeNumber).removeClass("sg-hide");
|
621 |
+
}
|
622 |
+
else {
|
623 |
+
jQuery(".sg-popup-theme-"+themeNumber).addClass("sg-hide");
|
624 |
+
}
|
625 |
+
}
|
626 |
+
};
|
627 |
+
|
628 |
+
beckend.prototype.updateQueryStringParameter = function (uri, key, value) {
|
629 |
+
var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i");
|
630 |
+
var separator = uri.indexOf('?') !== -1 ? "&" : "?";
|
631 |
+
if (uri.match(re)) {
|
632 |
+
return uri.replace(re, '$1' + key + "=" + value + '$2');
|
633 |
+
}
|
634 |
+
else {
|
635 |
+
return uri + separator + key + "=" + value;
|
636 |
+
}
|
637 |
+
};
|
638 |
+
|
639 |
+
beckend.prototype.popupPreview = function () {
|
640 |
+
var that = this;
|
641 |
+
jQuery('.sg-popup-preview').bind('click', function (e) {
|
642 |
+
e.preventDefault();
|
643 |
+
var previewButton = jQuery(this);
|
644 |
+
/*checking if it's not null*/
|
645 |
+
if(typeof tinymce != 'undefined' && !!tinymce.activeEditor) {
|
646 |
+
jQuery("[name='"+tinymce.activeEditor.id+"']").html(tinymce.activeEditor.getContent());
|
647 |
+
}
|
648 |
+
|
649 |
+
var data = {
|
650 |
+
action: 'save_popup_preview_data',
|
651 |
+
ajaxNonce: backendLocalizedData.ajaxNonce,
|
652 |
+
beforeSend: function () {
|
653 |
+
previewButton.prop('disabled', true);
|
654 |
+
previewButton.val('loading');
|
655 |
+
},
|
656 |
+
popupDta: jQuery("#add-form").serialize()
|
657 |
+
};
|
658 |
+
var newWindow = window.open(jQuery(this).attr('data-page-url'));
|
659 |
+
jQuery.post(ajaxurl, data, function(response,d) {
|
660 |
+
var popupId = parseInt(response);
|
661 |
+
if(isNaN(popupId)) {
|
662 |
+
console.log("it's not number");
|
663 |
+
return;
|
664 |
+
}
|
665 |
+
previewButton.prop('disabled', false);
|
666 |
+
previewButton.val('Preview');
|
667 |
+
var pageUrl = previewButton.attr('data-page-url');
|
668 |
+
var redirectUrl = that.updateQueryStringParameter(pageUrl, 'sg_popup_id', popupId);
|
669 |
+
newWindow.location = redirectUrl;
|
670 |
+
});
|
671 |
+
})
|
672 |
+
};
|
673 |
+
|
674 |
+
jQuery(document).ready(function($){
|
675 |
+
var sgBeckeendObj = new beckend();
|
676 |
+
sgBeckeendObj.sgInit();
|
677 |
+
});
|
javascript/sg_popup_frontend.js
CHANGED
@@ -743,7 +743,7 @@ SGPopup.prototype.colorboxEventsListener = function () {
|
|
743 |
}
|
744 |
jQuery('#sgcolorbox').on("sgColorboxOnOpen", function () {
|
745 |
if(disablePageScrolling) {
|
746 |
-
jQuery('body').
|
747 |
}
|
748 |
});
|
749 |
|
@@ -792,7 +792,7 @@ SGPopup.prototype.colorboxEventsListener = function () {
|
|
792 |
|
793 |
jQuery('#sgcolorbox').on("sgPopupClose", function () {
|
794 |
if(disablePageScrolling) {
|
795 |
-
jQuery('body').
|
796 |
}
|
797 |
});
|
798 |
|
743 |
}
|
744 |
jQuery('#sgcolorbox').on("sgColorboxOnOpen", function () {
|
745 |
if(disablePageScrolling) {
|
746 |
+
jQuery('body').addClass('sgpb-disable-page-scrolling');
|
747 |
}
|
748 |
});
|
749 |
|
792 |
|
793 |
jQuery('#sgcolorbox').on("sgPopupClose", function () {
|
794 |
if(disablePageScrolling) {
|
795 |
+
jQuery('body').removeClass('sgpb-disable-page-scrolling');
|
796 |
}
|
797 |
});
|
798 |
|
popup-builder.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: https://popup-builder.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.6.4.
|
7 |
* Author: Popup Builder
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
3 |
* Plugin Name: Popup Builder
|
4 |
* Plugin URI: https://popup-builder.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.6.4.3
|
7 |
* Author: Popup Builder
|
8 |
* Author URI: http://www.sygnoos.com
|
9 |
* License: GPLv2
|
readme.txt
CHANGED
@@ -812,6 +812,828 @@ Thus, to help avoid such kind of developments, you can foster child protection b
|
|
812 |
This popup can be built up to your preferences, as there is a range of options at hand. First, you can choose to put restriction on both visual and textual materials. Then, you will be able to see about the popup appearance by choosing the theme and effects to be adjusted to it, the background and text colour, radius of the "Yes" and "No" buttons below the question. Also, you can manage the popup dimensions and decide on its accessibility on different devices. Meanwhile, you are able to make it automatically closable, leave it open all the time or only while scrolling the page.
|
813 |
|
814 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
815 |
More popup descriptions coming soon.
|
816 |
|
817 |
Popup Builder Team.
|
812 |
This popup can be built up to your preferences, as there is a range of options at hand. First, you can choose to put restriction on both visual and textual materials. Then, you will be able to see about the popup appearance by choosing the theme and effects to be adjusted to it, the background and text colour, radius of the "Yes" and "No" buttons below the question. Also, you can manage the popup dimensions and decide on its accessibility on different devices. Meanwhile, you are able to make it automatically closable, leave it open all the time or only while scrolling the page.
|
813 |
|
814 |
|
815 |
+
More popup descriptions coming soon.
|
816 |
+
|
817 |
+
Popup Builder Team.=== Popup Builder - Responsive Wordpress Pop up ===
|
818 |
+
Plugin Name: Popup Builder - Responsive Wordpress Pop up
|
819 |
+
Contributors: Popup By Sygnoos, Sygnoos
|
820 |
+
Author: Popup Builder
|
821 |
+
Donate link: https://popup-builder.com
|
822 |
+
Tags: popup, pop up, wordpress popup, popup maker, exit popup
|
823 |
+
Requires at least: 3.8
|
824 |
+
Tested up to: 4.8.1
|
825 |
+
Requires PHP: 5.3.3
|
826 |
+
Stable tag: trunk
|
827 |
+
License: GPLv2 or later
|
828 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
829 |
+
|
830 |
+
Discover whole new ball game of pop-ups. Popup whatever floats your boat, customize it however you need and increase your sales with Popup Builder!
|
831 |
+
|
832 |
+
== Description ==
|
833 |
+
|
834 |
+
#### Popup Builder
|
835 |
+
|
836 |
+
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.
|
837 |
+
|
838 |
+
https://www.youtube.com/watch?v=3ZwRKPhHMzY
|
839 |
+
|
840 |
+
Popup Builder is a modal popup plugin for WordPress website that allows you to add highly customizable pop up windows. This plugin will enable awesome popup in your WordPress website using short codes. You can add unlimited popups with their own configurations. We added effective settings'-panel for each popup. So, you can fully customize the popup themes, colors, sizes and many other options.
|
841 |
+
|
842 |
+
Popups are a good marketing tool, they're impressively high converting. A web page with a modal popup typically sees more conversions than the same page without a popup. More important, a page with a well designed and thoughtfully implemented popup converts better than one with a poor popup. With Popup Builder plugin you can customize the popup according to your needs.
|
843 |
+
|
844 |
+
With popup builder plugin you can insert any type of content, right into your Popup. Insert your pop-up into any page or a post, easily and fast. Popups that open automatically, are the best solution to attract your visitor's attention. Add some effects to your Popup and your customers won't go unnoticed.
|
845 |
+
|
846 |
+
**Popup Builder - Features:**
|
847 |
+
|
848 |
+
* Create and manage as many popups as you want
|
849 |
+
* Customize the look and feel of the popup
|
850 |
+
* Set custom animation effects
|
851 |
+
* Customize popup animation effect
|
852 |
+
* Choose between several popup themes
|
853 |
+
* Set popup location on the screen
|
854 |
+
* Change popup content background color
|
855 |
+
* Customize popup overlay color and opacity
|
856 |
+
* Add custom class for popup overlay
|
857 |
+
* Add custom class for popup content
|
858 |
+
* Repetitive pop up - show popup every X period of time
|
859 |
+
* Redirect user to another page when he/she clicks on popup content
|
860 |
+
* Show/Hide Popup for selected User Roles (Admin panel)
|
861 |
+
* Popup opening sound
|
862 |
+
* Responsive popup
|
863 |
+
* Scale popup for desktop sizes
|
864 |
+
* Network/Multisite popup
|
865 |
+
* On click popup
|
866 |
+
* Open popup from URL. Example http://popup-builder.com/index.php?sg_popup_id=1
|
867 |
+
* Reopen popup after form submission
|
868 |
+
* Html popup
|
869 |
+
* Image popup
|
870 |
+
* Facebook popup
|
871 |
+
* Shortcode popup
|
872 |
+
|
873 |
+
|
874 |
+
**Popup Builder - 3rd party supported plugins:**
|
875 |
+
|
876 |
+
* Contact Form 7
|
877 |
+
* Ninja Forms
|
878 |
+
* Gravity Forms
|
879 |
+
* TablePress - Just add `cache_table_output=false` to shortcode Ex. `[table id=213 cache_table_output=false /]`
|
880 |
+
* Formidable Forms
|
881 |
+
* WP Google Maps
|
882 |
+
* HTML5 Maps
|
883 |
+
* Review Builder
|
884 |
+
|
885 |
+
**Popup Builder - PRO features:**
|
886 |
+
|
887 |
+
* Iframe popup - you can set the URL you want to load within an iframe and the popup will load that iframe
|
888 |
+
|
889 |
+
* Video popup - embed YouTube and Vimeo videos inside your popup.
|
890 |
+
|
891 |
+
* Social popup - this is a great type of a popup if you need to share/like your site. In social popup we have added all popular social networks like Facebook, LinkedIn, Twitter, Google Plus etc.
|
892 |
+
|
893 |
+
* Age restriction popup - sometimes the site content may not be appropriate for all audiences. In these cases, users may not be able to view the content until they pass age confirmation popup.
|
894 |
+
|
895 |
+
* Create countdown popup - your site is under construction and you are planning to open it in some amount of time, in this case countdown popup is exactly for you.
|
896 |
+
|
897 |
+
* Exit popup - catch your users attention when they decide to leave your site without doing any of the things you want them to do. Exit popups can briefly interrupt them with a popup message, steering them towards a singular call to action.
|
898 |
+
|
899 |
+
* Subscription popup - this kind of popup provides the easiest way to create an efficient connection between users and your website through subscription popup. With this simple popup solution you can quickly collect subscribers in a very pleasant and elegant way. With our newsletter module you can easily send mass mailings.
|
900 |
+
|
901 |
+
* Create contact form popup - contact popup will allow your clients to write you a message right from the popup.
|
902 |
+
|
903 |
+
* MailChimp popup (separate extension) - create eye-catching, beautiful MailChimp popups to make your users sign up to the mail list right from the popup. You can set up all the design customization according to your needs and preferences!
|
904 |
+
|
905 |
+
* Adblock popup (separate extension) - detect Adblock extensions that block the advertisements of your site and show a message to your visitors via popup!
|
906 |
+
|
907 |
+
* AWeber popup (separate extension) - let your visitors to subscribe to your AWeber subscription form right from the popup.
|
908 |
+
|
909 |
+
* Popup analytics (separate extension) - get statistics about the effectiveness of your popup.
|
910 |
+
|
911 |
+
* Show popup only when user is scrolling - sometimes you don't want to show the popup right away, it's a good idea to set this option so the popup will be shown to the visitor only when he scrolls.
|
912 |
+
|
913 |
+
* Random popups option - this option is useful if you need to show random popups to your visitors. Let's say you are running ecommerce website and want to show discount codes. With random popup options ON you will be able to show different offers to your customers.
|
914 |
+
|
915 |
+
* Show popup once per visitor - useful when you don't want to show the popup to the same visitor more than once.
|
916 |
+
|
917 |
+
* Don't show popup on mobile devices - after activating this option, popup won't be shown in mobile devices.
|
918 |
+
|
919 |
+
* Show popup only on mobile devices - after activating this option, popup will be shown only on mobile devices.
|
920 |
+
|
921 |
+
* Disable popup closing - after activating this option, user won't be able to close the popup in any possible way.
|
922 |
+
|
923 |
+
* Auto close popup after X seconds - useful when activated together with the previous option, you can disable manual popup closing but close it after a certain time.
|
924 |
+
|
925 |
+
* Targeting popup - this popup allows you to show a popup depending on user's location. This kind of popup is useful if your product or service is created for a specific region.
|
926 |
+
|
927 |
+
* Show popup for logged in users or vice versa - you can make the popup appear only for the users who are logged in. Or you can make the popup visible only for the users who aren't logged in.
|
928 |
+
|
929 |
+
* Schedule popup - you can schedule the period (in days) when you want the popup to be shown. The users will see the popup during the period of the time you set. (Ex. April 13- May 9)
|
930 |
+
|
931 |
+
* Popup showing frequency - you can select how many times you want the popup be shown to the same user. This means, you can make the popup appear for 3 times, for example, to the same user.
|
932 |
+
|
933 |
+
|
934 |
+
<a href="https://popup-builder.com" target="_blank">Get Popup Builder PRO package</a>
|
935 |
+
<div>
|
936 |
+
Customizing the look and feel of the popup is as important as the content itself. That's why Popup Builder gives you the ability to customize the timings, effects, position and size of the popup to your needs.
|
937 |
+
</div>
|
938 |
+
|
939 |
+
|
940 |
+
Popup Builder team constantly works on upgrades and improvements. With our upcoming updates we are planning to add more types of popups.
|
941 |
+
|
942 |
+
Thank you for using our pop-up modal plugin.
|
943 |
+
|
944 |
+
<div>
|
945 |
+
<div>
|
946 |
+
<br />
|
947 |
+
</div>
|
948 |
+
|
949 |
+
<div>
|
950 |
+
If you think that you found a bug in our Popup Builder plugin or have any questions, please feel free to contact us at <a href="mailto:support@popup-builder.com" title="support@popup-builder.com"><strong>support@popup-builder.com</strong></a>.
|
951 |
+
#### Popup Builder
|
952 |
+
</div>
|
953 |
+
</div>
|
954 |
+
|
955 |
+
<div>
|
956 |
+
<br />
|
957 |
+
</div>
|
958 |
+
|
959 |
+
== Installation ==
|
960 |
+
|
961 |
+
Install Popup Builder either via the WordPress.org plugin directory, or by uploading the files to your server.
|
962 |
+
|
963 |
+
Activate the plugin through the 'Plugins' menu in WordPress.
|
964 |
+
|
965 |
+
Go to the Popup Builder settings and set your desired options.
|
966 |
+
|
967 |
+
== Screenshots ==
|
968 |
+
|
969 |
+
1. List of popups screen
|
970 |
+
2. Add new popup screen
|
971 |
+
3. Edit popup screen
|
972 |
+
4. Advanced options (PRO options) metabox screen
|
973 |
+
5. Include popup into the page screen
|
974 |
+
6. Insert shortcode popup screen
|
975 |
+
7. Video popup
|
976 |
+
8. Social popup
|
977 |
+
9. Content restriction popup
|
978 |
+
10. Subscription popup
|
979 |
+
11. Image popup
|
980 |
+
12. Countdown popup
|
981 |
+
13. Facebook popup
|
982 |
+
|
983 |
+
== Changelog ==
|
984 |
+
|
985 |
+
= Version 2.6.4.3 =
|
986 |
+
* Bug fixed connected to Popup Preview.
|
987 |
+
* Popup preview improvments.
|
988 |
+
* Minor fixes and improvements.
|
989 |
+
* Optimization of page scroling when the popup is opened.
|
990 |
+
|
991 |
+
= Version 2.6.4.2 =
|
992 |
+
* Added popup preview option.
|
993 |
+
* Added popup background image option.
|
994 |
+
* Added new option to open popup from URL. Example `<a href="https://yoursite.com#sg-popup-id-1">Click Text</a>`
|
995 |
+
* Minor fixes and improvements.
|
996 |
+
|
997 |
+
= Version 2.6.4.1 =
|
998 |
+
* Added popup counter feature.
|
999 |
+
* Added review section.
|
1000 |
+
* Bug fixed connected to popup opening sound.
|
1001 |
+
* PHP Notices fixed.
|
1002 |
+
* Minor fixes and improvements.
|
1003 |
+
|
1004 |
+
= Version 2.6.4 =
|
1005 |
+
* Added new option to play sound on popup opening.
|
1006 |
+
* Minor fixes and improvements.
|
1007 |
+
|
1008 |
+
= Version 2.6.3.3 =
|
1009 |
+
* Bug fixed for Safari browser when the popup loads automatically.
|
1010 |
+
|
1011 |
+
= Version 2.6.3.2 =
|
1012 |
+
* Popup media button functionality improvements.
|
1013 |
+
* Show popup this often time period is saving according to visitors browser.
|
1014 |
+
|
1015 |
+
= Version 2.6.3.1 =
|
1016 |
+
* JS bug fixed.
|
1017 |
+
|
1018 |
+
= Version 2.6.3 =
|
1019 |
+
* Bug fixes and code improvements.
|
1020 |
+
* New popup animation added.
|
1021 |
+
|
1022 |
+
= Version 2.6.2 =
|
1023 |
+
* Bug fixed connected to page scrolling behind the popup.
|
1024 |
+
* Added new option `repetitive popup` to show popup every X period of time.
|
1025 |
+
* Added option to sho random popups (PRO).
|
1026 |
+
* Improved compatibility with WPML (PRO).
|
1027 |
+
* Typo fixes.
|
1028 |
+
|
1029 |
+
= Version 2.6.1 =
|
1030 |
+
* Shortcode detection optimizations.
|
1031 |
+
|
1032 |
+
= Version 2.6.0 =
|
1033 |
+
* Improvement of responsive auto mode.
|
1034 |
+
* Improvement of popup's shortcode detection.
|
1035 |
+
* Bug fixes.
|
1036 |
+
|
1037 |
+
= Version 2.5.9.3 =
|
1038 |
+
* Added new option to disable content scrolling of the page.
|
1039 |
+
* Auto mode optimization.
|
1040 |
+
* Bug fixes.
|
1041 |
+
|
1042 |
+
= Version 2.5.9.2 =
|
1043 |
+
* Hot fix connected to onclick popup.
|
1044 |
+
|
1045 |
+
= Version 2.5.9.1 =
|
1046 |
+
* Bug fixed connected to popup positioning.
|
1047 |
+
* Bug fixed connected to popup hovering event.
|
1048 |
+
* Bug fixed connected to popup scaling.
|
1049 |
+
* Minor fixes and improvements.
|
1050 |
+
|
1051 |
+
= Version 2.5.9 =
|
1052 |
+
* Added popup content padding option.
|
1053 |
+
* Banner improvements.
|
1054 |
+
* Bug fixes.
|
1055 |
+
|
1056 |
+
= Version 2.5.8 =
|
1057 |
+
* Tweak: Added option to control popup opening count.
|
1058 |
+
* Bug fixed connected to banner `Do not show again button` button.
|
1059 |
+
* Code improvements.
|
1060 |
+
|
1061 |
+
= Version 2.5.7 =
|
1062 |
+
* Bug fixed connected to popup On/Off switch button.
|
1063 |
+
* PHP notices fixed.
|
1064 |
+
|
1065 |
+
= Version 2.5.6 =
|
1066 |
+
* Improvements of the HTML sanitization.
|
1067 |
+
|
1068 |
+
= Version 2.5.4 - 2.5.5 =
|
1069 |
+
* Security update.
|
1070 |
+
|
1071 |
+
= Version 2.5.3 =
|
1072 |
+
* Tweak: JS and CSS minified for better performance.
|
1073 |
+
* Tweak: Responsive mode calculations are more accurate.
|
1074 |
+
* Tweak: Facebook popup share and like buttons will be localized according to the site language.
|
1075 |
+
* Bug fixed connected to user roles who can use popup builder plugin.
|
1076 |
+
* Bug fixed connected to Max-Width option for `auto` mode.
|
1077 |
+
* Code optimization and typo fixes.
|
1078 |
+
|
1079 |
+
= Version 2.5.2 =
|
1080 |
+
* Added new option `auto` inside the responsive mode.
|
1081 |
+
* Tweak: popup loading optimization.
|
1082 |
+
* Tweak: added compatibility with autoptimize plugin.
|
1083 |
+
* Tweak: added e.preventDefault(); for onclick popups to not redirect the page.
|
1084 |
+
* Code optimization and typo fixes.
|
1085 |
+
* Bug fixes.
|
1086 |
+
|
1087 |
+
|
1088 |
+
= Version 2.5.1 =
|
1089 |
+
* Bug fixed connected to Filename notice.
|
1090 |
+
* Added new feature to control popup Z-Index.
|
1091 |
+
* Popup themes optimization.
|
1092 |
+
* Code optimization and typo fixes.
|
1093 |
+
* Fixed some output notices.
|
1094 |
+
|
1095 |
+
= Version 2.5.0 =
|
1096 |
+
* Added new option for responsiveness.
|
1097 |
+
* Added option to control the opacity of the popup background.
|
1098 |
+
* Shortcode popup improvements.
|
1099 |
+
* Added compatibility with cache plugins.
|
1100 |
+
* Added CSS class sg-popup-hover-id for triggering popup by hovering via element.
|
1101 |
+
* Code improvement and optimization.
|
1102 |
+
* Improvement for detection of CSS classes(inside page templates, and WooCommerce products).
|
1103 |
+
* Code improvement and optimization.
|
1104 |
+
|
1105 |
+
= Version 2.4.9 =
|
1106 |
+
* New extensions added.
|
1107 |
+
* Subscription popup improvements.
|
1108 |
+
* Shortcode popup improvements.
|
1109 |
+
* Compatibility with WP Network > 4.6.
|
1110 |
+
* User role improvement for WP Network.
|
1111 |
+
* JS optimization for Cache plugins.
|
1112 |
+
* Code improvement and optimization.
|
1113 |
+
|
1114 |
+
= Version 2.4.8 =
|
1115 |
+
* Bug fixed connected to extensions manager.
|
1116 |
+
|
1117 |
+
= Version 2.4.7 =
|
1118 |
+
* Added extension logic.
|
1119 |
+
* Code optimization.
|
1120 |
+
* Bug fixes.
|
1121 |
+
* Exit-Intent extension (PRO).
|
1122 |
+
* AdBlock extension (PRO).
|
1123 |
+
|
1124 |
+
= Version 2.4.6 =
|
1125 |
+
* UX modifications.
|
1126 |
+
|
1127 |
+
= Version 2.4.5 =
|
1128 |
+
* Backend JS optimization.
|
1129 |
+
* Frontend JS optimization.
|
1130 |
+
|
1131 |
+
= Version 2.4.4 =
|
1132 |
+
* Bug fixed connected to timezone.
|
1133 |
+
|
1134 |
+
= Version 2.4.3 =
|
1135 |
+
* Added empty index.php file inside every directory to prevent directory listing.
|
1136 |
+
* Shortcode functionality improvements.
|
1137 |
+
* Prevented direct access to plugins php file.
|
1138 |
+
* Bug fixes.
|
1139 |
+
|
1140 |
+
= Version 2.4.2 =
|
1141 |
+
* Added option to open from URL. Example http://popup-builder.com/index.php?sg_popup_id=1
|
1142 |
+
* Added option to reopen popup after any form submission.
|
1143 |
+
* Added option to show popup on custom posts (PRO)
|
1144 |
+
* Bug fixes and code optimization.
|
1145 |
+
|
1146 |
+
= Version 2.4.1 =
|
1147 |
+
* New opening animation added.
|
1148 |
+
|
1149 |
+
= Version 2.4.0 =
|
1150 |
+
* Availability to add popup for external link. Ex.`<a href="https://sygnoos.com/" class="sg-confirm-popup-1">Popup</a>` where 1 is a popup id.
|
1151 |
+
* Now you can have one iframe popup instance which can load dynamic external URLs. Ex `<a href="https://sygnoos.com/" class="sg-iframe-popup-1">Popup</a>`(PRO)
|
1152 |
+
* Page level cookie storing. Now you can decide 'Show this often' option will work on a site level or on a page level.
|
1153 |
+
* Bug fixed and code optimization.
|
1154 |
+
|
1155 |
+
= Version 2.3.9.1 =
|
1156 |
+
* UTF-8 issue fixed.
|
1157 |
+
|
1158 |
+
= Version 2.3.9 =
|
1159 |
+
* New theme added (lightbox popup).
|
1160 |
+
* Added new functionlity to turn on/off popup.
|
1161 |
+
* Inside HTML popup now allowed to use script, styles and other HTML tags.
|
1162 |
+
* Onclick popup inside menu item.
|
1163 |
+
* Newsletter module added to subscription popup (PRO).
|
1164 |
+
* Selective deletion inside Subscribers data table (PRO).
|
1165 |
+
* Popup cookie saving per page or site (PRO).
|
1166 |
+
* Bug fixed and code optimization.
|
1167 |
+
|
1168 |
+
= Version 2.3.8 =
|
1169 |
+
* New animation effect added.
|
1170 |
+
|
1171 |
+
= Version 2.3.7 =
|
1172 |
+
* New option: Popup scaling.
|
1173 |
+
* New option: Availability to customize 3rd theme. Ex (border-radius, border-color)
|
1174 |
+
* Bug fixes and code optimization.
|
1175 |
+
|
1176 |
+
= Version 2.3.6 =
|
1177 |
+
* Show/Hide Popup for selected User Roles (Admin panel) (Free)
|
1178 |
+
* Bug fixed connected to 3rd party shortcodes
|
1179 |
+
* New option: Show popup after inactivity (PRO)
|
1180 |
+
* New option: Popup Scheduling (Example: every Monday from 9:00am - 6:00pm) (PRO)
|
1181 |
+
* New option: Show popup on categories
|
1182 |
+
|
1183 |
+
= Version 2.3.5 =
|
1184 |
+
* Added new menu item `Settings` where user can choose weather to delete tables or not. This is helpfull when user upgrades to PRO version and don't want to lost previous data.
|
1185 |
+
* Third party shortcodes improvments.
|
1186 |
+
* New type of popup Mailchimp (PRO).
|
1187 |
+
* Bug fixed connected to onclick popup integration.
|
1188 |
+
* Dimenssions fixed when using shortcode popup.
|
1189 |
+
|
1190 |
+
|
1191 |
+
= Version 2.3.4 =
|
1192 |
+
* PHP version bug fixed.
|
1193 |
+
|
1194 |
+
= Version 2.3.3 =
|
1195 |
+
* Bug fixed connected to PHP script short tag.
|
1196 |
+
* Bug fixed connected to popup's dialog z-index.
|
1197 |
+
* Added support for future extensions.
|
1198 |
+
* Added compatibility with Ninja Forms.
|
1199 |
+
* Added compatibility with Gravity Forms.
|
1200 |
+
* Added compatibility with TablePress.
|
1201 |
+
* Added compatibility with Formidable Forms.
|
1202 |
+
* Added compatibility with WP Google Maps.
|
1203 |
+
* Added compatibility with HTML5 Maps.
|
1204 |
+
* Code cleanup.
|
1205 |
+
* Code optimization related to include paths.
|
1206 |
+
|
1207 |
+
= Version 2.3.3 =
|
1208 |
+
* Added new option for a popup content padding.
|
1209 |
+
* Backend banner improvement.
|
1210 |
+
* Bug fixes.
|
1211 |
+
|
1212 |
+
= Version 2.3.2 =
|
1213 |
+
* Fusion builder compatible.
|
1214 |
+
* Bug fixes.
|
1215 |
+
|
1216 |
+
= Version 2.3.1 =
|
1217 |
+
* Bug fixed connected to PHP version
|
1218 |
+
|
1219 |
+
= Version 2.3.0 =
|
1220 |
+
* Popup shortcode modified, onclick popup can be wrapped to any element. Ex `[sg_popup id="1" wrap="span" event="click"]Open Popup #1[/sg_popup]`
|
1221 |
+
* Popup can be opened via html class. Ex. `<span class='sg-popup-id-1'>Popup #1</span>`
|
1222 |
+
|
1223 |
+
= Version 2.2.9 =
|
1224 |
+
* Bug fixed connected to redirection on popup click.
|
1225 |
+
|
1226 |
+
= Version 2.2.8 =
|
1227 |
+
* Bug fixed connected to version 2.2.7
|
1228 |
+
|
1229 |
+
= Version 2.2.7 =
|
1230 |
+
* Shortcode bug fixed.
|
1231 |
+
* Show popup on element hover (New Feature).
|
1232 |
+
|
1233 |
+
= Version 2.2.6 =
|
1234 |
+
* Bug fixed with redirection logic.
|
1235 |
+
|
1236 |
+
= Version 2.2.5 =
|
1237 |
+
* Now you can insert a link (URL) of a page to which the customers will be redirected to, when clicking on the popup.
|
1238 |
+
* Code cleanup.
|
1239 |
+
|
1240 |
+
= Version 2.2.4 =
|
1241 |
+
* Bug fixed connected to data tables.
|
1242 |
+
|
1243 |
+
= Version 2.2.3 =
|
1244 |
+
* Popup Z-index set to max value.
|
1245 |
+
|
1246 |
+
= Version 2.2.2 =
|
1247 |
+
* Fully tested on WordPress 4.5.
|
1248 |
+
* New features added.
|
1249 |
+
* Bug fixes and stability improvements.
|
1250 |
+
|
1251 |
+
= Version 2.2.1 =
|
1252 |
+
* Auto resize if dimensions are not defined.
|
1253 |
+
|
1254 |
+
= Version 2.2.0 =
|
1255 |
+
* Bug fixed with popup scrolling.
|
1256 |
+
|
1257 |
+
= Version 2.1.9 =
|
1258 |
+
* Bug fixed.
|
1259 |
+
|
1260 |
+
= Version 2.1.8 =
|
1261 |
+
* Added close button localization for fourth popup theme.
|
1262 |
+
* Code cleanup.
|
1263 |
+
* Minor improvements.
|
1264 |
+
|
1265 |
+
= Version 2.1.7 =
|
1266 |
+
* Auto adjust Popup to HTML image size.
|
1267 |
+
|
1268 |
+
= Version 2.1.6 =
|
1269 |
+
* Page scrolling issue fixed in popup builder.
|
1270 |
+
|
1271 |
+
= Version 2.1.5 =
|
1272 |
+
* Compatible with Black Studio TinyMCE.
|
1273 |
+
|
1274 |
+
= Version 2.1.4 =
|
1275 |
+
* Short code popup added.
|
1276 |
+
* Bug fixed.
|
1277 |
+
|
1278 |
+
= Version 2.1.3 =
|
1279 |
+
* Bug fixed.
|
1280 |
+
|
1281 |
+
|
1282 |
+
= Version 2.1.2 =
|
1283 |
+
* Bug fixed inside Facebook Popup.
|
1284 |
+
* Optimizations.
|
1285 |
+
|
1286 |
+
= Version 2.1.1 =
|
1287 |
+
|
1288 |
+
* Compatible with minify plugins.
|
1289 |
+
* Code cleanup.
|
1290 |
+
|
1291 |
+
= Version 2.1.0 =
|
1292 |
+
|
1293 |
+
* Added ability to close popup from itself. Just add html class to the element.
|
1294 |
+
* Ex. `<a href="#" class="sg-popup-close">Close Popup</a>`
|
1295 |
+
|
1296 |
+
= Version 2.0.9 =
|
1297 |
+
|
1298 |
+
* Facebook share and like popup added.
|
1299 |
+
* Code cleanup.
|
1300 |
+
* Bug fixed.
|
1301 |
+
|
1302 |
+
= Version 2.0.8 =
|
1303 |
+
|
1304 |
+
* Inside Popup data table added sorting and search field.
|
1305 |
+
* Bug fixed.
|
1306 |
+
|
1307 |
+
= Version 2.0.7 =
|
1308 |
+
|
1309 |
+
* Inside HTML popup WYSIWYG is updated and now allows to create content with most common HTML tags and styles.
|
1310 |
+
* Code cleanup.
|
1311 |
+
* Bug fixed.
|
1312 |
+
|
1313 |
+
|
1314 |
+
= Version 2.0.6 =
|
1315 |
+
|
1316 |
+
* Added new effects of showing popup.
|
1317 |
+
* Bug fixed.
|
1318 |
+
|
1319 |
+
= Version 2.0.5 =
|
1320 |
+
|
1321 |
+
* Added shortcode to auto open popup.
|
1322 |
+
* Added new feature to support all screen positions where popup can be shown.
|
1323 |
+
* Code cleanup.
|
1324 |
+
* Bug fixed.
|
1325 |
+
|
1326 |
+
= Version 2.0.4 =
|
1327 |
+
|
1328 |
+
* Bug fixed with database collation.
|
1329 |
+
|
1330 |
+
= Version 2.0.3 =
|
1331 |
+
|
1332 |
+
* Bug fixed.
|
1333 |
+
|
1334 |
+
= Version 2.0.2 =
|
1335 |
+
|
1336 |
+
* Popup UI changed.
|
1337 |
+
* Popup Builder PHP version fixes.
|
1338 |
+
|
1339 |
+
= Version 2.0.1 =
|
1340 |
+
|
1341 |
+
* Bug fixed.
|
1342 |
+
|
1343 |
+
= Version 2.0 =
|
1344 |
+
|
1345 |
+
* Major release of Popup Builder v.2.0
|
1346 |
+
|
1347 |
+
= Version 1.1.4 =
|
1348 |
+
|
1349 |
+
* Bug fixed with single quotes string/html popup.
|
1350 |
+
|
1351 |
+
= Version 1.1.3 =
|
1352 |
+
|
1353 |
+
* Multisite support.
|
1354 |
+
* Bug fixes.
|
1355 |
+
|
1356 |
+
= Version 1.1.2 =
|
1357 |
+
|
1358 |
+
* Bug fixes.
|
1359 |
+
|
1360 |
+
= Version 1.1.1 =
|
1361 |
+
|
1362 |
+
* Bug fixes.
|
1363 |
+
|
1364 |
+
= Version 1.1 =
|
1365 |
+
|
1366 |
+
* Bug fixes.
|
1367 |
+
|
1368 |
+
= Initial upload 1.0.0 =
|
1369 |
+
|
1370 |
+
== Frequently Asked Questions ==
|
1371 |
+
**How many popups can I create?**
|
1372 |
+
|
1373 |
+
You can create as many popups as you want, there is no limit either on the Free or the PRO version.
|
1374 |
+
|
1375 |
+
**Can I have more than one popup on the same page?**
|
1376 |
+
|
1377 |
+
You can have as many popups as you want on the same page, but you can only set one popup to be opened on page load, the others must be set to open on click.
|
1378 |
+
|
1379 |
+
**How can I set a popup to open automatically?**
|
1380 |
+
|
1381 |
+
After creating your popup, go to the desired page or post and you will see a meta box below the content editor, with the following title: "Select popup on page load". Select the popup you want to set and then update the page. You are done! After you go to that page/post the popup will get opened automatically.
|
1382 |
+
|
1383 |
+
**Want to insert a popup on a link, that will open up when clicked on the link?**
|
1384 |
+
|
1385 |
+
Simply add the following class to it: sg-confirm-popup-#popupid.
|
1386 |
+
Ex. `<a href="https://sygnoos.com/" class="sg-confirm-popup-1">Popup</a>`
|
1387 |
+
This will open a popup before a user goes to the page from the link.
|
1388 |
+
|
1389 |
+
**How to redirect users after clicking on the popup image?**
|
1390 |
+
|
1391 |
+
Go to the `Options` section of your popup and find "Dismiss on content click" option.
|
1392 |
+
Then Select "Redirect" option and in the URL field type the URL of the page you need your users to be redirected to.
|
1393 |
+
|
1394 |
+
**Can I show a popup after a specific amount of time?**
|
1395 |
+
|
1396 |
+
Under the Effects panel you will see 'Popup opening delay' option, all you need to do is to enter the amount of time (seconds) after which popup will be shown.
|
1397 |
+
|
1398 |
+
**Want to open your links inside the popup without redirecting your users to the other site? (PRO)**
|
1399 |
+
|
1400 |
+
You can simply create an empty iframe popup and add the following class to your link: sg-iframe-popup-#popupid number.
|
1401 |
+
Ex. `<a href="https://sygnoos.com/" class="sg-iframe-popup-1">Popup</a>`
|
1402 |
+
This way, you'll have an iframe popup on your link, so when a user clicks on your link an iframe popup will open up, with the page of the link inside, so the users won't be redirected by the link.
|
1403 |
+
|
1404 |
+
**Can I put a popup to show after clicking something?**
|
1405 |
+
|
1406 |
+
Yes. There is an "Insert popup" button which will insert the popup shortcode over any element (text, image, button, etc.) you want. Just select the element, click on the button, choose a popup and you are done!
|
1407 |
+
|
1408 |
+
Ex. [sg_popup id="1" event="click"]Your text, or HTML element[/sg_popup]
|
1409 |
+
|
1410 |
+
Ex. [sg_popup id="1" event="click" wrap="span"]Your text, which will be wraped inside span element[/sg_popup]
|
1411 |
+
|
1412 |
+
Ex. [sg_popup id="1" event="click"]`<img src="https://sygnoos.com/images/sygnoos_logo_grey.png">`[/sg_popup]
|
1413 |
+
|
1414 |
+
Alternative method in case if shortcode doesn't satisfy your needs
|
1415 |
+
|
1416 |
+
Adding the following class `sg-popup-id-1`
|
1417 |
+
|
1418 |
+
Example: `<span class='sg-popup-id-1'>Popup #1</span>`
|
1419 |
+
|
1420 |
+
**Can I change the wrapping element of onclick popup?**
|
1421 |
+
|
1422 |
+
Yes, you can change it. You can write any HTML element you need to wrap your content in the wrapper attribute of your onclick popup.
|
1423 |
+
|
1424 |
+
Example: `[sg_popup id="1" event="click" wrap="span"]Your text, which will be wraped inside span element[/sg_popup]`
|
1425 |
+
|
1426 |
+
**Can I put a popup to show after hovering an element?**
|
1427 |
+
|
1428 |
+
Sure, you can! Just insert your text into the following code: `[sg_popup id="1" event="hover" wrap="span"]Your text, which will be wrapped inside span element[/sg_popup]`
|
1429 |
+
|
1430 |
+
**Can I change the wrapping element of hovering popup?**
|
1431 |
+
|
1432 |
+
Yes, you can change it. You can write any HTML element you need to wrap your content in the wrapper attribute of your hovering popup.
|
1433 |
+
|
1434 |
+
Example: `[sg_popup id="1" event="hover" wrap="span"]Your text, which will be wraped inside span element[/sg_popup]`
|
1435 |
+
|
1436 |
+
**How to create a shortcode popup?**
|
1437 |
+
|
1438 |
+
It's a very easy thing to do, just follow the steps!
|
1439 |
+
|
1440 |
+
* Find "Popup Builder" plugin on the left bar
|
1441 |
+
* Press "Add new Popup" button
|
1442 |
+
* Press "Shortcode" button
|
1443 |
+
* Enter a title for the Popup
|
1444 |
+
* Setup general options of the popup
|
1445 |
+
* Enter a Shortcode
|
1446 |
+
* Setup effects of the popup
|
1447 |
+
* Setup the dimensions of the popup
|
1448 |
+
* Setup advanced options of the popup
|
1449 |
+
* After creating press "Save changes" right above the page
|
1450 |
+
* Find the popup you created in "All popups" on the left bar
|
1451 |
+
|
1452 |
+
One perfect news for the popup builder users! Our popup builder plugin is now compatible with any other plugins' shortcodes!
|
1453 |
+
|
1454 |
+
**How to make the Popup responsive?**
|
1455 |
+
|
1456 |
+
To make your popup responsive you should do the following:
|
1457 |
+
Set width and height in percent(%) and then set Max width and Max height in pixels (px).
|
1458 |
+
When the screen is too wide, Max width option will work and it will prevent showing popup large.
|
1459 |
+
|
1460 |
+
Example of responsive popup:
|
1461 |
+
|
1462 |
+
Width: 80%
|
1463 |
+
|
1464 |
+
Height: 90%
|
1465 |
+
|
1466 |
+
Max width: 640px
|
1467 |
+
|
1468 |
+
Max height: 480px
|
1469 |
+
|
1470 |
+
|
1471 |
+
**What URL do I have to enter in the URL field of the facebook popup?**
|
1472 |
+
|
1473 |
+
You should enter the URL of the site you want to share.
|
1474 |
+
|
1475 |
+
**How to redirect user to specific page when he/she clicks on popup?**
|
1476 |
+
|
1477 |
+
You should create any type of popup.
|
1478 |
+
|
1479 |
+
* From the Popup's options, find "Dismiss on content click" option.
|
1480 |
+
* Check it.
|
1481 |
+
* Select "Redirect" button.
|
1482 |
+
* In the "URL" field enter the URL of the page you need your users to be redirected to.
|
1483 |
+
|
1484 |
+
Don't forget to Save changes!)
|
1485 |
+
|
1486 |
+
**Can I make the video play automatically in the Video popup? (PRO)**
|
1487 |
+
|
1488 |
+
Sure! If you want your video to play automatically, we have an option specially for that case. Just select "Autoplay" and your video will play automatically. Please be noted that autoplay option will not work on mobile devices as there are browser restrictions.
|
1489 |
+
|
1490 |
+
**What do I have to write in the field "Label" of the Age Restriction popup? (PRO)**
|
1491 |
+
|
1492 |
+
You can write the text which you want to see on the button. ("Yes" or "No")
|
1493 |
+
|
1494 |
+
**What if I don't have any specific URL to be shared in my social popup?**
|
1495 |
+
|
1496 |
+
You can select "Use active URL" and the current page URL will be shared.
|
1497 |
+
|
1498 |
+
**Why should I buy the PRO package?**
|
1499 |
+
|
1500 |
+
The Free version of Popup Builder gives you anything you need for creating unlimited fully functional popups and insert them wherever you want. Our PRO package gives you the ability to create more specific popups, like iframe, video or shortcode popups. Also, advanced options will be available for you to disable popup closing, disable popup for mobile devices, show the popup only once, and many other features. So if you need these advanced popups and functionalities, get Popup Builder PRO <a href="http://popup-builder.com">here</a>.
|
1501 |
+
|
1502 |
+
**How to upgrade to PRO version without losing popup's data?**
|
1503 |
+
|
1504 |
+
We made it very easy for you! All you need to do is:
|
1505 |
+
|
1506 |
+
* In your Menu sidebar, go to Popup -> "Settings" section.
|
1507 |
+
* Disable the "Delete popup data" option.
|
1508 |
+
|
1509 |
+
That's all! And you don't need to delete your Free version manually before upgrading to Pro!
|
1510 |
+
|
1511 |
+
**How can I add a sound on popup opening?**
|
1512 |
+
|
1513 |
+
From the 'Effects' panel enable 'Popup open sound' option and choose the sound you would like to be played on the popup opening.
|
1514 |
+
Please be noted that browser's don't support all the formats. We recommend to use the WAV format.
|
1515 |
+
|
1516 |
+
**Can I create a popup and make it invisible for some countries? (PRO)**
|
1517 |
+
|
1518 |
+
Our plugin has an option for such cases. You can select "Filter popup for selected countries" option, which allows you to select the countries in which you want the popup to be shown or hidden, because there can be some popups which you make for specific countries and you may not want them to be seen in some other countries in cases of targeting groups for your marketing. (Allow/Disallow)
|
1519 |
+
|
1520 |
+
**What's Live Preview in Countdown, Subscription and Contact Form popups for? (PRO)**
|
1521 |
+
|
1522 |
+
Live preview is a great option which gives you an opportunity to see all the changes you make while creating your popup without saving it after every single change.
|
1523 |
+
|
1524 |
+
|
1525 |
+
**Something is not working. What do I do?**
|
1526 |
+
|
1527 |
+
Contact us! Depending on your server configuration something may go wrong, please don't hesitate on contacting us, we are here to help you! Our support email is: support@popup-builder.com
|
1528 |
+
|
1529 |
+
**Everything works PERFECT. What do I do?**
|
1530 |
+
|
1531 |
+
Leave us a good review :)
|
1532 |
+
|
1533 |
+
== Upgrade Notice ==
|
1534 |
+
|
1535 |
+
Current Version of Popup Builder is 2.6.4.3
|
1536 |
+
|
1537 |
+
== Other Notes ==
|
1538 |
+
|
1539 |
+
Our Popup Builder plugin is brilliant if you need to insert some ads to your website to attract users' attention. You can use our popups to redirect users to pages which you want them to visit, besides your host website. You can share videos, images and links of websites you want to. By our Popup Builder plugin you can add subscription forms to make your users subscribe to your page. You can even set restrictions for some groups of users, inserting restriction popups created by our popup plugin to your page.
|
1540 |
+
|
1541 |
+
Popup Builder Team finds popups as another definition of the word "Solution".
|
1542 |
+
Ready to see 10 relevant problems that appear while social marketing?
|
1543 |
+
Here is how this works.
|
1544 |
+
|
1545 |
+
= First problem: I want to have basic information about my product in a certain popup but a huge text might make annoying or just unreadable the text. How can this be achieved? Is there a correspondent tool for it? =
|
1546 |
+
|
1547 |
+
== First solution: HTML Popup ==
|
1548 |
+
|
1549 |
+
While sharing your ideas and viewpoints online, it is not always convenient or adequate to involve in the text all the information you got. On the other hand, it is always important not to ignore all the significant extra pieces of the information, because every website owner wants to satisfy the needs of a manifold audience.
|
1550 |
+
|
1551 |
+
The HTML popup of ours is quite popular solution. After installing it, you gain the golden ability to be brief in your texts but unleash a pack of needed information that was collected in your mind. It is all about a simple redirection.
|
1552 |
+
There are several sections in the options we give, that represent a grateful help to configure all the popups up to your needs.
|
1553 |
+
|
1554 |
+
Firstly - the way the Popup looks.
|
1555 |
+
You may easily customize it by choosing the theme and effect types applied to it and deciding the appropriate dimensions.
|
1556 |
+
Secondly - the time, when the Popup turns up.
|
1557 |
+
You have all the abilities to manage when and where the popup turns up. It can appear while visitors scroll the page, whether while they try to exit the page.
|
1558 |
+
Thirdly - the size of your Popup.
|
1559 |
+
You may make the HTML Popup to remain unchangeable or be resized according to the window.
|
1560 |
+
Fourthly - how visitors can close it.
|
1561 |
+
The popup could close itself either automatically or by visitor's hand. All this options are up to you our dear customer.
|
1562 |
+
And finally - the availability of the Popup.
|
1563 |
+
You can decide on its availability on different devices (PC, mobile, etc.).
|
1564 |
+
|
1565 |
+
= Second problem: I want to have lots of comments and reviews about my blogs because I find them attractive and informative ones. Thus, how to make people read the articles on my web page? =
|
1566 |
+
|
1567 |
+
== Second solution: Image Popup ==
|
1568 |
+
|
1569 |
+
It is not a secret that even the greatest articles written with the most attractive style awaken laziness among readers. The victims of these situations are huge texts that are allowed to include only words as main characters but the images. An undeniable fact - even few images certainly ease the process of reading and getting information from blogs.
|
1570 |
+
Image popup is the best way to deal with this problem; the best way to make your ideas stand out in the crowd. All you need to do is using all the available opportunities of image popup by adding a topic image to the pilot.
|
1571 |
+
|
1572 |
+
* You may customize your installed image popup in many interesting ways, such as determining the image dimensions that considers being a very responsive option due to its resizing and repositioning ability when the main window resizes.
|
1573 |
+
* This popup also provides options for choosing the image frame theme and effects that vary in the duration of the popup animation as well.
|
1574 |
+
* There is one more possibility up to you, to specify how long the ready-made popup appearance should be delayed after loading the page.
|
1575 |
+
* With the help of both basic and advanced options, you are able to easily regulate the dismissal, display, color and location of the image popup.
|
1576 |
+
* You may choose where to appear the image popup. It can appear at the top right or left corner, at the bottom or in the center.
|
1577 |
+
* You can choose to show the popup whenever the user scrolls the page or ensure its permanent occurrence by disabling popup closing in any possible way.
|
1578 |
+
* On the other hand, the popup can be chosen to close automatically, whether be dismissed when the user clicks inside or beyond of the popup area.
|
1579 |
+
* In addition, it is up to you to decide on your popup accessibility on different devices (PC, mobile, etc.).
|
1580 |
+
|
1581 |
+
|
1582 |
+
= ShortCode Popup =
|
1583 |
+
|
1584 |
+
It is so wonderful and advantageous that more and more people take up the business of Internet content creation, as each of them tries to enrich us with marvelous tools to make use of in different spheres. Some are the authors of tooltips, column layouts, galleries, others of buttons, block quotes, social media buttons, etc.. All of the latter can be inserted into any of your content, page or post in the form of a short code which will be opened in a popup window.
|
1585 |
+
Besides having the ability to add a short code into the modal popup, it is also possible to manage the popup development with the help of different options available. First, you can apply a certain theme and/or effect to it, decide how long its appearance should be delayed after loading the page. Then, you will be able to configure the display and dismissal of the popup by choosing it to be closed automatically or by hand, be opened while scrolling or be a permanent one. Also, you are to decide where the popup will be located.
|
1586 |
+
As far as the popup accessibility on different devices is freely manageable too, the popup is quite responsive and is resized accordingly.
|
1587 |
+
|
1588 |
+
|
1589 |
+
= Iframe Popup =
|
1590 |
+
|
1591 |
+
Here is another useful pop up to make your content or website more sociable and vibrant. It is a great addition to your social toolkit, since Iframe enables you to include and remind of another website with the help of a simple popup.
|
1592 |
+
One can think of a number of cases when this popup can efficiently be used.
|
1593 |
+
For instance, if you are lucky enough to have sponsors or you have got partners that are worth a mention, Iframe will give you the wonderful opportunity to share the work they do. Thus, by clicking on the popup, the user will get to their websites.
|
1594 |
+
It can also be used to add some maps, diagrams, charts, etc. to your content without putting them within the material itself or by refraining from dealing with copyright issues.
|
1595 |
+
You can build the Iframe popup having decided on the popup frame theme and the effects that vary in duration. It is also possible to manage how long the ready-made popup appearance should be delayed after loading the page (in sec).
|
1596 |
+
The popup can appear at the top right/left corner, at the bottom or in the center. Thanks to certain ticks-off in the options section you will be able to to show the popup whenever the user scrolls the page and disable popup closing at all. On the contrary, the popup can be chosen to close automatically or be dismissed when the user clicks inside or beyond the popup area.
|
1597 |
+
Finally, you can decide whether to make the popup accessible or not on different devices by choosing the options available.
|
1598 |
+
|
1599 |
+
= Video Popup =
|
1600 |
+
|
1601 |
+
Every single day lots of information and news is shared by a number of people online. And it is widespread knowledge that any information transmitted visually is more comprehensible and competitive, as motion pictures, video clips, etc. give any material somehow a unique flavour.
|
1602 |
+
Surely, many of you would like to take advantage of the opportunity that this video popup offers. It can help to emphasize or season your ideas. You will be able to add video content (YouTube, Vimeo, etc.) by putting its video URL in the popup options.
|
1603 |
+
Happily, you can manage the popup look by choosing the popup frame theme and the effect type that can vary in duration. Also, you can decide how long the popup appearance should be delayed after loading the main page.
|
1604 |
+
The availability of both basic and advanced options makes the popup dismissal and display easily manageable. You can have the popup at the top right/left corner, at the bottom or in the center of the page. The popup can appear while the user is scrolling the page and play right away thanks to its wonderful autoplay option. Meanwhile, you can secure the permanent appearance of the popup having disabled popup closing in any possible way or it can be chosen to close automatically or disappear when the user clicks inside or beyond the popup area. Also, it's of importance that you are able to decide whether the popup should be available on a certain device or not.
|
1605 |
+
|
1606 |
+
= Social Popup =
|
1607 |
+
|
1608 |
+
Sometimes it is really crucial to make your voice audible to the public when you have so many things to share. On the Internet it is the social media that can enable you with the chance to communicate your ideas to the world. And to reach this goal, you can get this social popup that gives you very useful options while sharing.
|
1609 |
+
Having added this popup, you will be provided with a variety of office and general tools to develop your content as you wish. Then, you will be able to make a choice between the two options to share in the social media either by adding the URL of the website you work on - the active URL - or by putting some important material from another internet source.
|
1610 |
+
But before making the sharing option available you can configure the labels according to the theme and font size you want. It is also possible to make visible or hide the number of shares you have had so far. Finally, you are able to share your material with all the social media given or only the ones you prefer.
|
1611 |
+
The dismissal, display, colour and location of the social popup can be easily regulated as well by making use of both basic and advanced options. The popup may appear at the top right/left corner, at the bottom or in the centre. You can choose to show the popup whenever the user scrolls the page or disable popup closing thus ensuring its permanent occurrence. Meanwhile, the popup can be arranged to close automatically, be dismissed when the user clicks inside or beyond the popup area. Also, you have the possibility to decide on your popup accessibility on different devices ( PC, mobile, etc.).
|
1612 |
+
|
1613 |
+
= Exit-Intent Popup =
|
1614 |
+
|
1615 |
+
The exit-intent popup technologies we offer can detect when your visitors are about to push the back button, close their browser, or navigate away and they can appear as a popup addressed to them. These popups are "overlay popups", and cannot be blocked by popup blockers. Also, they are the most customer-friendly approach to communicate a special message to your visitors, as they don't interrupt your visitors while browsing or scanning your site. Thus, you will be able to easily draw their attention to sales, special offers and contests. If you decide to make use of targeted audience, you'd better consider those of a particular social network you get a lot of traffic from. Another thing you will be able to do is to grab email addresses by offering an incentive to subscribe.
|
1616 |
+
|
1617 |
+
= Countdown Popup =
|
1618 |
+
|
1619 |
+
You are lucky enough to come up with a great project, novelty or an unprecedented offer? You don't know how to stress its importance and make people long for it? Well, there is at least one version and we are here to lighten up your burden. Imagine a time counter that is decreasing in days, hours, minutes, etc.. We suggest installing this countdown popup that helps to present your content and keep people anticipating for it, as the popup gives information and shows the time left for reaching it at the same time.
|
1620 |
+
While building up the popup, you are able to attach any kind of media or textual material. Moreover, you can control its look by choosing the popup theme and the accompanying effect. The way the counter is displayed is also manageable, since you can choose the counter background colour, text colour and language, countdown format, time zone and the location of the counter in the popup.
|
1621 |
+
In the meantime, there are basic and advanced options available which help to regulate the dismissal, display, colour and location of the countdown popup. It can be chosen to turn up while scrolling or remain unchangeable, be closed automatically or manually. As far as the size of the popup is concerned, it can easily be arranged in the dimensions' options.
|
1622 |
+
|
1623 |
+
= Subscription Popup =
|
1624 |
+
|
1625 |
+
No doubt, building a trustful relationship with an audience is highly important if you wish to make a profit online and have an email list full of targeted, engaged subscribers. As the trust grows, the audience will be more prone to buying whatever is being sold. One way to make this happen is to make people wish to subscribe to your website with the help of the Subscription popup which can help to extend the functionality of your website.
|
1626 |
+
The Subscription popup offered allows to generate a great-looking form, add a compelling incentive to subscribe and guarantee the buildup of an email list, as, once installed, it will be given maximum visibility on your website.
|
1627 |
+
Happily, almost every element of the popup is fully customizable - including fonts, sizes and colours, themes and effects applied. Also, you can view the popup real-time thanks to the live previewer displaying changes you make.
|
1628 |
+
The appearance and disappearance of the popup is under complete control too. It will appear after a pre-configured wait, be permanent or turn up while scrolling, close by hand or by itself.
|
1629 |
+
|
1630 |
+
= Age restriction Popup =
|
1631 |
+
|
1632 |
+
Internet is recognized as somehow an open space for creation and dissemination of ideas and content that comply to no kind of limits. It is also known that many children have at least once accessed some online content that contains violence, sex, bad language, etc.. The latter can play a crucial role in the child's personality development and can lead to serious deviations later.
|
1633 |
+
Thus, to help avoid such kind of developments, you can foster child protection by simply deciding on how much explicit your each content is and installing the age restriction popup we offer. It will make your content accessible to the age group it refers to, as the popup will make the user answer some questions to decide his/her age and will direct to certain content accordingly.
|
1634 |
+
This popup can be built up to your preferences, as there is a range of options at hand. First, you can choose to put restriction on both visual and textual materials. Then, you will be able to see about the popup appearance by choosing the theme and effects to be adjusted to it, the background and text colour, radius of the "Yes" and "No" buttons below the question. Also, you can manage the popup dimensions and decide on its accessibility on different devices. Meanwhile, you are able to make it automatically closable, leave it open all the time or only while scrolling the page.
|
1635 |
+
|
1636 |
+
|
1637 |
More popup descriptions coming soon.
|
1638 |
|
1639 |
Popup Builder Team.
|
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)}#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}button#sgcboxClose{min-height:0!important}
|
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}button#sgcboxClose{min-height:0!important}.sgpb-disable-page-scrolling{overflow:hidden!important}
|