Best Prophecy code snippet using Revealer.reveal
base.class.php
Source:base.class.php
...84 $_handle = 'rs-' . static::$_PluginTitle . '-admin';85 $_base = static::$_PluginUrl . 'admin/assets/';86 $_textdomain = 'rs_' . static::$_PluginTitle;87 88 wp_enqueue_style($_handle, static::$_PluginUrl . 'public/assets/css/revolution.addon.revealer.preloaders.css', array(), static::$_Version);89 wp_enqueue_script($_handle, $_base . 'js/revslider-' . static::$_PluginTitle . '-addon-admin.js', array('jquery', 'revbuilder-admin'), static::$_Version, true);90 wp_localize_script($_handle, 'revslider_revealer_addon', self::get_var() );91 }92 93 }94 95 /**96 * New function for ajax activation to include AddOn help definitions97 *98 * @since 2.0.099 */100 public static function get_data($var='',$slug='revslider-revealer-addon') {101 102 if($slug === 'revslider-revealer-addon'){103 104 $obj = self::get_var();105 $obj['help'] = self::get_definitions();106 return $obj;107 108 }109 110 return $var;111 112 }113 114 /**115 * Called via php filter. Merges AddOn definitions with core revslider definitions116 *117 * @since 2.0.0118 */119 public static function get_help($definitions) {120 121 if(empty($definitions) || !isset($definitions['editor_settings'])) return $definitions;122 123 if(isset($definitions['editor_settings']['slider_settings']) && isset($definitions['editor_settings']['slider_settings']['addons'])) {124 $help = self::get_definitions();125 $definitions['editor_settings']['slider_settings']['addons']['revealer_addon'] = $help['slider'];126 }127 128 return $definitions;129 130 }131132133 /**134 * Returns the global JS variable135 *136 * @since 2.0.0137 */138 public static function get_var() {139140 return array(141 'bricks' => array(142 'revealer' => __('Reveal', 'revslider-revealer-addon'),143 'reveal_settings' => __('Reveal Settings', 'revslider-revealer-addon'),144 'reveal_color' => __('Reveal Color', 'revslider-revealer-addon'),145 'active' => __('Active', 'revslider-revealer-addon'),146 'opening_reveal' => __('Reveal Type', 'revslider-revealer-addon'),147 'none' => __('None', 'revslider-revealer-addon'),148 'open_horizontal' => __('Open Horizontal', 'revslider-revealer-addon'),149 'open_vertical' => __('Open Vertical', 'revslider-revealer-addon'),150 'split_left_corner' => __('Open Left Corner', 'revslider-revealer-addon'),151 'split_right_corner' => __('Open Right Corner', 'revslider-revealer-addon'),152 'shrink_circle' => __('Shrink Circle', 'revslider-revealer-addon'),153 'expand_circle' => __('Expand Circle', 'revslider-revealer-addon'),154 'left_to_right' => __('Left to Right', 'revslider-revealer-addon'),155 'right_to_left' => __('Right to Left', 'revslider-revealer-addon'),156 'top_to_bottom' => __('Top to Bottom', 'revslider-revealer-addon'),157 'bottom_to_top' => __('Bottom to Top', 'revslider-revealer-addon'),158 'tlbr_skew' => __('Top Left to Bottom Right', 'revslider-revealer-addon'),159 'trbl_skew' => __('Top Right to Bottom Left', 'revslider-revealer-addon'),160 'bltr_skew' => __('Bottom Left to Top Right', 'revslider-revealer-addon'),161 'brtl_skew' => __('Bottom Right to Top Left', 'revslider-revealer-addon'),162 'reveal_easing' => __('Reveal Ease', 'revslider-revealer-addon'),163 'reveal_duration' => __('Reveal Duration', 'revslider-revealer-addon'),164 'enable_overlay' => __('Use Overlay', 'revslider-revealer-addon'),165 'overlay_color' => __('Overlay Color', 'revslider-revealer-addon'),166 'overlay_easing' => __('Overlay Ease', 'revslider-revealer-addon'),167 'spinner_settings' => __('Spinner Settings', 'revslider-revealer-addon'),168 'defaults' => __('Default', 'revslider-revealer-addon'), 169 'spinner' => __('Spinner', 'revslider-revealer-addon'),170 'spinner_color' => __('Spinner Color', 'revslider-revealer-addon'),171 'placeholder_select' => __('Select From List', 'revslider-revealer-addon')172 )173 );174175 }176 177 /**178 * Returns the addon help definitions179 *180 * @since 2.0.0181 */182 private static function get_definitions() {183 184 return array(185 186 'slider' => array(187 188 'type' => array(189 190 'dependency_id' => 'reveal_type',191 'buttonTitle' => __('Revealer Addon Type', 'revslider-revealer-addon'), 192 'title' => __('Reveal Type', 'revslider-revealer-addon'),193 'helpPath' => 'addOns.revslider-revealer-addon.direction', 194 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal type'), 195 'description' => __("Choose how the Slider should be revealed", 'revslider-revealer-addon'), 196 'helpStyle' => 'normal', 197 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 198 'video' => false,199 'section' => 'Slide Settings -> Reveal',200 'highlight' => array(201 202 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 203 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 204 'focus' => "#revealer_direction"205 206 )207 208 ),209 210 'color' => array(211 212 'buttonTitle' => __('Revealer Addon Color', 'revslider-revealer-addon'), 213 'title' => __('Reveal Color', 'revslider-revealer-addon'),214 'helpPath' => 'addOns.revslider-revealer-addon.color', 215 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal color', 'color'), 216 'description' => __("The main color for the chosen reveal effect", 'revslider-revealer-addon'), 217 'helpStyle' => 'normal', 218 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 219 'video' => false,220 'section' => 'Slide Settings -> Reveal',221 'highlight' => array(222 223 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type')),224 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 225 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 226 'focus' => "#revealer_color"227 228 )229 230 ),231 232 'easing' => array(233 234 'buttonTitle' => __('Revealer Addon Easing', 'revslider-revealer-addon'), 235 'title' => __('Reveal Easing', 'revslider-revealer-addon'),236 'helpPath' => 'addOns.revslider-revealer-addon.easing', 237 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal easing', 'easing'), 238 'description' => __("The easing equation to use for the reveal effect", 'revslider-revealer-addon'), 239 'helpStyle' => 'normal', 240 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 241 'video' => false,242 'section' => 'Slide Settings -> Reveal',243 'highlight' => array(244 245 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew::expand_circle', 'option' => 'reveal_type')),246 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 247 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 248 'focus' => "*[data-r='addOns.revslider-revealer-addon.easing']"249 250 )251 252 ),253 254 'duration' => array(255 256 'buttonTitle' => __('Revealer Addon Duration', 'revslider-revealer-addon'), 257 'title' => __('Reveal Duration', 'revslider-revealer-addon'),258 'helpPath' => 'addOns.revslider-revealer-addon.duration', 259 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal duration', 'duration'), 260 'description' => __("The total time the reveal effect should occur in milliseconds", 'revslider-revealer-addon'), 261 'helpStyle' => 'normal', 262 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 263 'video' => false,264 'section' => 'Slide Settings -> Reveal',265 'highlight' => array(266 267 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew::expand_circle', 'option' => 'reveal_type')),268 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 269 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 270 'focus' => "#revealer_duration"271 272 )273 274 ),275 276 'delay' => array(277 278 'buttonTitle' => __('Revealer Addon Delay', 'revslider-revealer-addon'), 279 'title' => __('Reveal Delay', 'revslider-revealer-addon'),280 'helpPath' => 'addOns.revslider-revealer-addon.delay', 281 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal delay', 'delay'), 282 'description' => __("A delay in milliseconds before the reveal effect should start", 'revslider-revealer-addon'), 283 'helpStyle' => 'normal', 284 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 285 'video' => false,286 'section' => 'Slide Settings -> Reveal',287 'highlight' => array(288 289 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew::expand_circle', 'option' => 'reveal_type')),290 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 291 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 292 'focus' => "#revealer_delay"293 294 )295 296 ),297 298 'overlay' => array(299 300 'enable' => array(301 302 'dependency_id' => 'reveal_overlay',303 'buttonTitle' => __('Revealer Addon Overlay', 'revslider-revealer-addon'), 304 'title' => __('Enable Overlay', 'revslider-revealer-addon'),305 'helpPath' => 'addOns.revslider-revealer-addon.overlay.enable', 306 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal overlay', 'overlay'), 307 'description' => __("Add an optional overlay to the Slider as the reveal effect takes place", 'revslider-revealer-addon'), 308 'helpStyle' => 'normal', 309 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 310 'video' => false,311 'section' => 'Slide Settings -> Reveal',312 'highlight' => array(313 314 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew::expand_circle', 'option' => 'reveal_type')),315 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 316 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 317 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.enable']"318 319 )320 321 ),322 323 'color' => array(324 325 'title' => __('Overlay Color', 'revslider-revealer-addon'),326 'helpPath' => 'addOns.revslider-revealer-addon.overlay.color', 327 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal overlay', 'overlay color'), 328 'description' => __("The main color for the revealer's overlay", 'revslider-revealer-addon'), 329 'helpStyle' => 'normal', 330 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 331 'video' => false,332 'section' => 'Slide Settings -> Reveal',333 'highlight' => array(334 335 'dependencies' => array(336 337 array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type'),338 array('path' => 'settings.addOns.revslider-revealer-addon.overlay.enable', 'value' => true, 'option' => 'reveal_overlay')339 340 ),341 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 342 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 343 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.color']"344 345 )346 347 ),348 349 'easing' => array(350 351 'title' => __('Overlay Easing', 'revslider-revealer-addon'),352 'helpPath' => 'addOns.revslider-revealer-addon.overlay.easing', 353 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'overlay easing', 'easing'), 354 'description' => __("The easing equation to use for the revealer's overlay", 'revslider-revealer-addon'), 355 'helpStyle' => 'normal', 356 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 357 'video' => false,358 'section' => 'Slide Settings -> Reveal',359 'highlight' => array(360 361 'dependencies' => array(362 363 array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type'),364 array('path' => 'settings.addOns.revslider-revealer-addon.overlay.enable', 'value' => true, 'option' => 'reveal_overlay')365 366 ),367 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 368 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 369 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.easing']"370 371 )372 373 ),374 375 'duration' => array(376 377 'title' => __('Overlay Duration', 'revslider-revealer-addon'),378 'helpPath' => 'addOns.revslider-revealer-addon.overlay.duration', 379 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'overlay duration', 'duration'), 380 'description' => __("The total time the overlay should fade out in milliseconds", 'revslider-revealer-addon'), 381 'helpStyle' => 'normal', 382 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 383 'video' => false,384 'section' => 'Slide Settings -> Reveal',385 'highlight' => array(386 387 'dependencies' => array(388 389 array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type'),390 array('path' => 'settings.addOns.revslider-revealer-addon.overlay.enable', 'value' => true, 'option' => 'reveal_overlay')391 392 ),393 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 394 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 395 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.duration']"396 397 )398 399 ),400 401 'delay' => array(402 403 'title' => __('Overlay Delay', 'revslider-revealer-addon'),404 'helpPath' => 'addOns.revslider-revealer-addon.overlay.delay', 405 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'overlay delay', 'delay'), 406 'description' => __("A delay in milliseconds before the overlay should fade out", 'revslider-revealer-addon'), 407 'helpStyle' => 'normal', 408 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 409 'video' => false,410 'section' => 'Slide Settings -> Reveal',411 'highlight' => array(412 413 'dependencies' => array(414 415 array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type'),416 array('path' => 'settings.addOns.revslider-revealer-addon.overlay.enable', 'value' => true, 'option' => 'reveal_overlay')417 418 ),419 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 420 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 421 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.delay']"422 423 )424 425 ),426 427 ),428 429 'spinner' => array(430 431 'title' => __('Revealer Spinner', 'revslider-revealer-addon'),432 'helpPath' => 'addOns.revslider-revealer-addon.spinner.type', 433 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal spinner', 'revealer spinner', 'spinner', 'preloader', 'reveal preloader', 'revealer preloader'), 434 'description' => __("The preloader spinner to show as the reveal effect occurs", 'revslider-revealer-addon'), 435 'helpStyle' => 'normal', 436 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 437 'video' => false,438 'section' => 'Slide Settings -> Reveal',439 'highlight' => array(440 441 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 442 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 443 'focus' => "#revealer_spinners"444 445 )446 447 )448 449 )450 451 );452 453 }454455}456 457?>
slider.class.php
Source:slider.class.php
...22 }23 24 protected static function _init($_slider) {25 26 $_enabled = RevSliderFunctions::getVal($_slider, 'revealer_enabled', false) == 'true' ? ' checked' : '';27 $_overlay_enabled = RevSliderFunctions::getVal($_slider, 'revealer_overlay_enabled', false) == 'true' ? ' checked' : '';28 $_direction = RevSliderFunctions::getVal($_slider, 'revealer_direction', 'open_horizontal');29 30 $_color = RevSliderFunctions::getVal($_slider, 'revealer_color', '#000000');31 $_duration = RevSliderFunctions::getVal($_slider, 'revealer_duration', '500');32 $_delay = RevSliderFunctions::getVal($_slider, 'revealer_delay', '0');33 $_easing = RevSliderFunctions::getVal($_slider, 'revealer_easing', 'Power2.easeOut');34 35 $_overlay_color = RevSliderFunctions::getVal($_slider, 'revealer_overlay_color', '#000000');36 $_overlay_duration = RevSliderFunctions::getVal($_slider, 'revealer_overlay_duration', '500');37 $_overlay_delay = RevSliderFunctions::getVal($_slider, 'revealer_overlay_delay', '0');38 $_overlay_easing = RevSliderFunctions::getVal($_slider, 'revealer_overlay_easing', 'Power2.easeOut');39 40 $_spinner = RevSliderFunctions::getVal($_slider, 'revealer_spinner', 'default');41 $_spinner_color = RevSliderFunctions::getVal($_slider, 'revealer_spinner_color', '#FFFFFF');42 43 $_showOverlay = $_overlay_enabled ? 'block' : 'none';44 $_showSettings = $_enabled ? 'block' : 'none';45 $_textDomain = 'rs_' . static::$_Title;46 47 $_preloaders = RsAddOnRevealPreloaders::getPreloaders();48 $_preloaders = json_encode($_preloaders);49 $_preloaders = addslashes($_preloaders);50 51 $_directions = array(52 53 'none' => 'None',54 'CURTAINS OPEN' => 'disabled',55 'open_horizontal' => 'Open Horizontal',56 'open_vertical' => 'Open Vertical',57 'split_left_corner' => 'Open Left Corner',58 'split_right_corner' => 'Open Right Corner',59 'CIRCULAR' => 'disabled',60 'shrink_circle' => 'Shrink Circle',61 'expand_circle' => 'Expand Circle',62 'CORNER TO CORNER' => 'disabled',63 'left_to_right' => 'Left to Right',64 'right_to_left' => 'Right to Left',65 'top_to_bottom' => 'Top to Bottom',66 'bottom_to_top' => 'Bottom to Top',67 'SIDE TO SIDE' => 'disabled',68 'tlbr_skew' => 'Top Left to Bottom Right',69 'trbl_skew' => 'Top Right to Bottom Left',70 'bltr_skew' => 'Bottom Left to Top Right',71 'brtl_skew' => 'Bottom Right to Top Left',72 73 );74 75 $_easings = array(76 77 'Linear.easeNone', 78 'Power0.easeIn',79 'Power0.easeInOut',80 'Power0.easeOut',81 'Power1.easeIn',82 'Power1.easeInOut',83 'Power1.easeOut',84 'Power2.easeIn',85 'Power2.easeInOut',86 'Power2.easeOut',87 'Power3.easeIn',88 'Power3.easeInOut',89 'Power3.easeOut',90 'Power4.easeIn',91 'Power4.easeInOut',92 'Power4.easeOut',93 'Back.easeIn',94 'Back.easeInOut',95 'Back.easeOut',96 'Bounce.easeIn',97 'Bounce.easeInOut',98 'Bounce.easeOut',99 'Circ.easeIn',100 'Circ.easeInOut',101 'Circ.easeOut',102 'Elastic.easeIn',103 'Elastic.easeInOut',104 'Elastic.easeOut',105 'Expo.easeIn',106 'Expo.easeInOut',107 'Expo.easeOut',108 'Sine.easeIn',109 'Sine.easeInOut',110 'Sine.easeOut',111 'SlowMo.ease'112 113 );114 115 $_spinners = array(116 117 'default' => 'Default',118 '1' => '1',119 '2' => '2',120 '3' => '3',121 '4' => '4',122 '5' => '5',123 '6' => '6',124 '7' => '7',125 '8' => '8',126 '9' => '9',127 '10' => '10'128 129 );130 131 static::$_Markup = 132 133 '<span class="label" id="label_revealer_enabled" origtitle="' . __("Enable/Disable Reveal Preloaders for this Slider<br><br>", $_textDomain) . '">' . __('Activate Reveal Preloaders', $_textDomain) . '</span>134 <input type="checkbox" class="tp-moderncheckbox withlabel" id="revealer_enabled" name="revealer_enabled"' . $_enabled . ' 135 onchange="document.getElementById(\'revealer-settings\').style.display=this.checked ? \'block\' : \'none\'" />136 137 <div id="revealer-settings" style="display: ' . $_showSettings . '">138 139 <h4>Revealer Settings</h4>140 141 <span class="label" id="label_revealer_direction" origtitle="' . __('The Opening Reveal Option/Direction', $_textDomain) . '">' . __("Opening Reveal", $_textDomain) . '</span>142 <select class="withlabel" id="revealer_direction" name="revealer_direction">';143 144 foreach($_directions as $_key => $_val) {145 146 if($_val !== 'disabled') {147 $_selected = $_key !== $_direction ? '' : ' selected';148 static::$_Markup .= '<option value="' . $_key . '"' . $_selected . '>' . $_val . '</option>';149 }150 else { 151 static::$_Markup .= '<option disabled>' . $_key . '</option>';152 }153 154 }155 156 static::$_Markup .= '</select>157 158 <div id="revealer-opening-settings">159 160 <div id="revealer-color-wrap">161 <span class="label" id="label_revealer_color" origtitle="' . __('The reveal transition color<br><br>', $_textDomain) . '">' . __("Reveal Color", $_textDomain) . '</span>162 <input id="revealer_color" name="revealer_color" type="text" class="revealer-color-picker rs-layer-input-field tipsy_enabled_top" title="Select a Color" value="' . $_color . '" data-editing="Reveal Color" />163 <br>164 </div>165 166 <span class="label" id="label_revealer_easing" origtitle="' . __('The Reveal Easing Function', $_textDomain) . '">' . __("Reveal Easing", $_textDomain) . '</span>167 <select class="withlabel" id="revealer_easing" name="revealer_easing">';168 169 foreach($_easings as $_ease) {170 171 $_selected = $_ease !== $_easing ? '' : ' selected';172 static::$_Markup .= '<option value="' . $_ease . '"' . $_selected . '>' . $_ease . '</option>';173 174 }175 176 static::$_Markup .= '</select>177 <br>178 179 <span class="label id="label_revealer_duration" origtitle="' . __('The reveal transition duration<br><br>', $_textDomain) . '">' . __("Reveal Duration", $_textDomain) . '</span>180 <input id="revealer_duration" name="revealer_duration" type="text" class="rs-layer-input-field tipsy_enabled_top" title="Transition Duration" value="' . $_duration . '" />181 <br>182 183 <span class="label id="label_revealer_delay" origtitle="' . __('Delay before the opening begins<br><br>', $_textDomain) . '">' . __("Reveal Delay", $_textDomain) . '</span>184 <input id="revealer_delay" name="revealer_delay" type="text" class="rs-layer-input-field tipsy_enabled_top" title="Reveal Delay" value="' . $_delay . '" />185 <br>186 187 <span class="label" id="label_revealer_overlay_enabled" origtitle="' . __("Enable/Disable Initial Overlay<br><br>", $_textDomain) . '">' . __('Enable Initial Overlay', $_textDomain) . '</span>188 <input type="checkbox" class="tp-moderncheckbox withlabel" id="revealer_overlay_enabled" name="revealer_overlay_enabled"' . $_overlay_enabled . ' 189 onchange="document.getElementById(\'revealer-overlay-settings\').style.display=this.checked ? \'block\' : \'none\'" />190 191 <div id="revealer-overlay-settings" style="display: ' . $_showOverlay . '">192 193 <div class="withsublabels">194 195 <span class="label" id="label_revealer_overlay_color" origtitle="' . __('The initial overlay for the reveal effect<br><br>', $_textDomain) . '">' . __("Overlay Color", $_textDomain) . '</span>196 <input id="revealer_overlay_color" name="revealer_overlay_color" type="text" class="revealer-color-picker rs-layer-input-field tipsy_enabled_top" title="Select an Overlay Color" value="' . $_overlay_color . '" data-editing="Reveal Overlay" />197 <br>198 199 <span class="label" id="label_revealer_overlay_easing" origtitle="' . __('The Overlay Easing Function', $_textDomain) . '">' . __("Overlay Easing", $_textDomain) . '</span>200 <select class="withlabel" id="revealer_overlay_easing" name="revealer_overlay_easing">';201 202 foreach($_easings as $_ease) {203 204 $_selected = $_ease !== $_overlay_easing ? '' : ' selected';205 static::$_Markup .= '<option value="' . $_ease . '"' . $_selected . '>' . $_ease . '</option>';206 207 }208 209 static::$_Markup .= '</select>210 <br>211 212 <span class="label id="label_revealer_overlay_duration" origtitle="' . __('The overlay fadeout duration<br><br>', $_textDomain) . '">' . __("Overlay Duration", $_textDomain) . '</span>213 <input id="revealer_overlay_duration" name="revealer_overlay_duration" type="text" class="rs-layer-input-field tipsy_enabled_top" title="Transition Duration" value="' . $_overlay_duration . '" />214 <br>215 216 <span class="label id="label_revealer_overlay_delay" origtitle="' . __('Delay before the overlay animation begins<br><br>', $_textDomain) . '">' . __("Overlay Delay", $_textDomain) . '</span>217 <input id="revealer_overlay_delay" name="revealer_overlay_delay" type="text" class="rs-layer-input-field tipsy_enabled_top" title="Overlay Delay" value="' . $_overlay_delay . '" />218 219 </div>220 221 </div>222 223 </div>224 225 <h4>Spinner Settings</h4>226 227 <span class="label" id="label_revealer_spinner" origtitle="' . __('The animated preloading spinner<br><br>', $_textDomain) . '">' . __("Animated Spinner", $_textDomain) . '</span>228 <select id="revealer_spinner" name="revealer_spinner" class="withlabel">';229 230 foreach($_spinners as $_key => $_val) {231 232 $_selected = $_key != $_spinner ? '' : ' selected';233 static::$_Markup .= '<option value="' . $_key . '"' . $_selected . '>' . $_val . '</option>';234 235 }236 static::$_Markup .= '</select>237 238 <div id="revealer-spinner-wrap">239 <span class="label" id="label_revealer_spinner_color" origtitle="' . __('The animated spinner color<br><br>', $_textDomain) . '">' . __("Spinner Color", $_textDomain) . '</span>240 <input id="revealer_spinner_color" name="revealer_spinner_color" type="text" class="revealer-color-picker rs-layer-input-field tipsy_enabled_top" title="Select a Color" value="' . $_spinner_color . '" data-editing="Spinner Color" data-mode="basic" />241 <div id="revealer_spinner_preview"></div>242 </div>243 244 <style type="text/css">245 246 #revealer-settings .label {min-width: 150px !important} 247 #revealer_direction option:disabled {font-weight: bold}248 #revealer_spinner_preview {width: 100%; height: 100px; position: relative; margin-top: 20px; background: #F1C40F}249 250 </style>251 252 </div>';253 static::$_Icon = 'eg-icon-magic';254 static::$_JavaScript = "var rsAddOnPreloaders = '" . $_preloaders . "';";255 256 }257}258?>...
reveal
Using AI Code Generation
1$revealer = new Revealer();2$revealer->reveal();3$revealer = new Revealer();4$revealer->reveal();5$revealer = new Revealer();6$revealer->reveal();7$revealer = new Revealer();8$revealer->reveal();9$revealer = new Revealer();10$revealer->reveal();11$revealer = new Revealer();12$revealer->reveal();13$revealer = new Revealer();14$revealer->reveal();15$revealer = new Revealer();16$revealer->reveal();17$revealer = new Revealer();18$revealer->reveal();19$revealer = new Revealer();20$revealer->reveal();21$revealer = new Revealer();22$revealer->reveal();23$revealer = new Revealer();24$revealer->reveal();25$revealer = new Revealer();26$revealer->reveal();27$revealer = new Revealer();28$revealer->reveal();29$revealer = new Revealer();30$revealer->reveal();31$revealer = new Revealer();32$revealer->reveal();
reveal
Using AI Code Generation
1$revealer = new Revealer();2$revealer->reveal();3$revealer = new Revealer();4$revealer->reveal();5$revealer = new Revealer();6$revealer->reveal();7{8 public function reveal()9 {10 echo "Hello from Revealer class";11 }12}13$revealer = new Revealer();14$revealer->reveal();15$revealer = new Revealer();16$revealer->reveal();17$revealer = new Revealer();18$revealer->reveal();19$revealer = new Revealer();20$revealer->reveal();21{22 public function reveal()23 {24 echo "Hello from Revealer class";25 }26}27$revealer = new Revealer();28$revealer->reveal();29$revealer = new Revealer();30$revealer->reveal();
reveal
Using AI Code Generation
1require_once('Revealer.php');2$revealer = new Revealer();3$revealer->reveal();4require_once('Revealer.php');5$revealer = new Revealer();6$revealer->reveal();7require_once('Revealer.php');8$revealer = new Revealer();9$revealer->reveal();10require_once('Revealer.php');11$revealer = new Revealer();12$revealer->reveal();13require_once('Revealer.php');14$revealer = new Revealer();15$revealer->reveal();16require_once('Revealer.php');17$revealer = new Revealer();18$revealer->reveal();19require_once('Revealer.php');20$revealer = new Revealer();21$revealer->reveal();22require_once('Revealer.php');23$revealer = new Revealer();24$revealer->reveal();25require_once('Revealer.php');26$revealer = new Revealer();27$revealer->reveal();28require_once('Revealer.php');29$revealer = new Revealer();30$revealer->reveal();31require_once('Revealer.php');32$revealer = new Revealer();33$revealer->reveal();34require_once('Revealer.php');35$revealer = new Revealer();36$revealer->reveal();37require_once('Revealer.php');38$revealer = new Revealer();
reveal
Using AI Code Generation
1$revealer = new Revealer;2$revealer->reveal();3$revealer = new Revealer;4$revealer->reveal();5$revealer = new Revealer;6$revealer->reveal();7$revealer = new Revealer;8$revealer->reveal();9$revealer = new Revealer;10$revealer->reveal();11$revealer = new Revealer;12$revealer->reveal();13$revealer = new Revealer;14$revealer->reveal();15$revealer = new Revealer;16$revealer->reveal();17$revealer = new Revealer;18$revealer->reveal();19$revealer = new Revealer;20$revealer->reveal();21$revealer = new Revealer;22$revealer->reveal();23$revealer = new Revealer;24$revealer->reveal();25$revealer = new Revealer;26$revealer->reveal();27$revealer = new Revealer;28$revealer->reveal();29$revealer = new Revealer;30$revealer->reveal();31$revealer = new Revealer;32$revealer->reveal();
reveal
Using AI Code Generation
1$revealer = new Revealer();2$revealer = new Revealer();3$revealer = new Revealer();4$revealer = new Revealer();5$revealer = new Revealer();6$revealer = new Revealer();7$revealer = new Revealer();8$revealer = new Revealer();9$revealer = new Revealer();10$revealer = new Revealer();11$revealer = new Revealer();12$revealer = new Revealer();13$revealer = new Revealer();
reveal
Using AI Code Generation
1include('Revealer.php');2$revealer = new Revealer();3$revealer->reveal();4class Revealer {5 public function reveal() {6 echo "This is the Revealer class";7 }8}9include('Revealer.php');10include('SubRevealer.php');11$revealer = new SubRevealer();12$revealer->reveal();13class Revealer {14 public function reveal() {15 echo "This is the Revealer class";16 }17}
reveal
Using AI Code Generation
1require_once("Revealer.php");2$rev = new Revealer();3$rev->reveal();4require_once("Revealer.php");5$rev = new Revealer();6$rev->reveal();
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Execute automation tests with reveal on a cloud-based Grid of 3000+ real browsers and operating systems for both web and mobile applications.
Test now for FreeGet 100 minutes of automation test minutes FREE!!