t( $overlaySpotlight ) || 'true' !== $overlaySpotlight || $styles .= '#fancybox-overlay{background-attachment:fixed;background-image:url("' . \easyFancyBox::$plugin_url . 'images/light-mask.png");background-position:center;background-repeat:no-repeat;background-size:100% 100%}'; empty( $borderRadius ) || $styles .= '#fancybox-outer,#fancybox-content{border-radius:'.$borderRadius.'px}.fancybox-title-inside{padding-top:'.$borderRadius.'px;margin-top:-'.$borderRadius.'px !important;border-radius: 0 0 '.$borderRadius.'px '.$borderRadius.'px}'; $content_style = ''; empty( $backgroundColor ) || $content_style .= 'background:'.$backgroundColor.';'; empty( $paddingColor ) || $content_style .= 'border-color:'.$paddingColor.';'; if ( ! empty( $textColor ) ) { $content_style .= 'color:'.$textColor.';'; $styles .= '#fancybox-outer{background:'.$paddingColor.'}'; //.fancybox-title-inside{background-color:'.$paddingColor.';margin-left:0 !important;margin-right:0 !important;width:100% !important;} } empty( $content_style ) || $styles .= '#fancybox-content{'.$content_style.'}'; empty( $titleColor ) || $styles .= '#fancybox-title,#fancybox-title-float-main{color:'.$titleColor.'}'; $styles = \apply_filters( 'easy_fancybox_inline_style', $styles ); empty( $styles ) || \easyFancyBox::$inline_style = \wp_strip_all_tags( $styles ); } function add_easing() { // Check IMG settings. if ( \get_option( 'fancybox_enableImg', \easyFancyBox::$options['Global']['options']['Enable']['options']['IMG']['default'] ) && ( 'elastic' === \get_option( 'fancybox_transitionIn', 'elastic' ) || 'elastic' === \get_option( 'fancybox_transitionOut', 'elastic' ) ) ) { return true; } // Check Inline Content settings. if ( \get_option( 'fancybox_enableInline', false ) && ( 'elastic' === \get_option( 'fancybox_transitionInInline' ) || 'elastic' === \get_option( 'fancybox_transitionOutInline' ) ) ) { return true; } return false; } /** * ACTIONS & FILTERS */ function prepare_scripts_styles() { // Make sure whe actually need to do anything. if ( ! \easyFancyBox::add_scripts() ){ return; } // INLINE SCRIPT & STYLE prepare_inline(); $min = ( defined('WP_DEBUG') && WP_DEBUG ) ? '' : '.min'; // SCRIPT & STYLE URLS $dep = get_option( 'fancybox_nojQuery', false ) ? array() : array( 'jquery' ); $ver = defined( 'WP_DEBUG' ) && WP_DEBUG ? time() : false; $min = defined( 'WP_DEBUG' ) && WP_DEBUG ? '' : '.min'; $footer = get_option( 'fancybox_noFooter', false ) ? false : true; // FancyBox. \easyFancyBox::$styles['fancybox'] = array( 'src' => \easyFancyBox::$plugin_url.'fancybox/'.FANCYBOX_VERSIONS['classic'].'/jquery.fancybox'.$min.'.css', 'deps' => array(), 'ver' => $ver, 'media' => 'screen' ); \easyFancyBox::$scripts['jquery-fancybox'] = array( 'src' => \easyFancyBox::$plugin_url.'fancybox/'.FANCYBOX_VERSIONS['classic'].'/jquery.fancybox'.$min.'.js', 'deps' => $dep, 'ver' => $ver, 'footer' => $footer ); // jQuery Easing, which is not needed if jQueryUI Core Effects are loaded or when using fancyBox 3. if ( add_easing() ) { \easyFancyBox::$easing_script_url = \easyFancyBox::$plugin_url.'vendor/jquery.easing'.$min.'.js'; } // jQuery Mousewheel, which is not needed if jQueryUI Mouse is loaded or when using fancyBox 3. if ( \get_option( 'fancybox_mouseWheel', true ) ) { \easyFancyBox::$mousewheel_script_url = \easyFancyBox::$plugin_url.'vendor/jquery.mousewheel'.$min.'.js'; } // Metadata in Miscellaneous settings? if ( \get_option( 'fancybox_metaData' ) ) { \easyFancyBox::$scripts['jquery-metadata'] = array( 'src' => \easyFancyBox::$plugin_url.'vendor/jquery.metadata.min.js', 'deps' => $dep, 'ver' => METADATA_VERSION, 'footer' => $footer ); } } \add_action( 'init', __NAMESPACE__.'\prepare_scripts_styles', 12 ); function onready_callback( $content ) { $content .= 'jQuery(easy_fancybox_handler);jQuery(document).on(\'' . implode( " ", \easyFancyBox::$events ) . '\',easy_fancybox_handler);' . PHP_EOL; if ( \easyFancyBox::$onready_auto ) $content .= \apply_filters( 'easy_fancybox_onready_auto', 'jQuery(easy_fancybox_auto);' ); return $content; } \add_filter( 'easy_fancybox_inline_script', __NAMESPACE__.'\onready_callback' ); veneer - www.klironomoudental.com
Make an appoinment

veneer

    Contact us! Request enquiry

    Enquiry here! (optional)

    Upload your x-ray (optional)

    Special offers

    full dental restoration

    All-on-4

    From €8.000

    read more »
    Testimonials