Your IP : 216.73.216.248


Current Path : /home/digilove/www/41423/
Upload File :
Current File : /home/digilove/www/41423/blur.tar

css/index.html000064400000000032152350563460007335 0ustar00<html><body></body></html>js/index.html000064400000000032152350563460007161 0ustar00<html><body></body></html>config.php000064400000002423152350563460006534 0ustar00<?php
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
class YT_Shortcode_blur_config {
static function get_config() {
        // blur
        return array(
			'blur' => array(
				'type' => 'slider',
				'default' => 2,
				'min' => 0,
				'max' => 5,
				'step' => 0.1,
				'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BLUR'),
				'desc' => JText::_("PLG_SYSTEM_YOUTECH_SHORTCODES_BLUR_DESC"),
				'child'=> array(
					'hover_blur' => array(
						'type' => 'slider',
						'default' => 1,
						'min' => 0,
						'max' => 5,
						'step' => 0.1,
						'name' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_HOVER_BLUR'),
						'desc' => JText::_("PLG_SYSTEM_YOUTECH_SHORTCODES_HOVER_BLUR_DESC"),
					),
				),
			),
			
			'content'  => array('type' => 'textarea',
				'default' => "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book",
				'name' => 'Content',
			),	
	   );
	}
}
?>shortcode.php000064400000002036152350563460007261 0ustar00<?php 
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/

defined('_JEXEC') or die;
function blurYTShortcode( $atts, $content = null ) {
		extract(ytshortcode_atts(array(
		"blur"          => '1',
		"hover_blur"    => '0.1'
	), $atts));
		$class = uniqid('yt_blur_').rand().time();
		$css='.'.$class.' {-webkit-filter: blur('.$blur.'px); -moz-filter: blur('.$blur.'px); -o-filter: blur('.$blur.'px); -ms-filter: blur('.$blur.'px); filter: blur('.$blur.'px);}
				.'.$class.':hover{-webkit-filter: blur('.$hover_blur.'px); -moz-filter: blur('.$hover_blur.'px); -o-filter: blur('.$hover_blur.'px); -ms-filter: blur('.$hover_blur.'px); filter: blur('.$hover_blur.'px);}';
		$doc = JFactory::getDocument();
		$doc->addStyleDeclaration($css);
		return '<div class="yt-clearfix '.$class.'" >	'.parse_shortcode(str_replace(array("<br/>","<br />","<p></p>"), " ", $content)).'</div> ';
}
?>