Current Path :
/
home
/
develito
/
httpdocs
/
modules
/
mod_jp_notification_bar
/
tmpl
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/httpdocs/modules/mod_jp_notification_bar/tmpl/default.php
<?php /** * @package JP Extensions * @subpackage mod_jp_notification_bar * * @copyright Copyright (C) 2005 - 2015 Joomportal.Com. All rights reserved. * @license GNU General Public License version 2 or later. */ // no direct access defined('_JEXEC') or die; ?> <script type="text/javascript"> <!-- var jQuery = jQuery.noConflict(); jQuery(document).ready(function($) { $foobar({ "height" : { "bar" : <?php echo intval(trim($params->get('bar_height')))?>, "button" : <?php echo intval(trim($params->get('bar_button_height')))?> }, "width": { "center": "<?php echo $params->get('bar_width')?>" // The width for the center section of the bar }, "position": { "bar": "<?php echo $params->get('bar_position')?>", "button": "<?php echo $params->get('position_button')?>", // Position of the close / open button (left | right | hidden) "social": "<?php echo $params->get('position_social')?>" // Position of the social links (left | right | hidden) }, "display": { "type": "<?php echo $params->get('bar_type')?>", // The initial state of the foobar (expanded, collapsed, delayed, onscroll) "delay": <?php echo intval(trim($params->get('bar_delay')))?>, // Used in conjunction with the "delayed" and "onscroll" display values to determine the amount of time to wait before showing the foobar "speed": <?php echo intval(trim($params->get('bar_speed')))?>, // The speed at which to scroll the foobar into view "backgroundColor": "<?php echo $params->get('bar_backgroundcolor')?>", // The CSS background color of the foobar "border": "<?php echo $params->get('bar_border')?>", // The CSS border styling for the bottom of the foobar "theme": { "bar": "<?php echo $params->get('bar_theme')?>" // The theme used for the arrow buttons that are shown in the foobar } }, "cookie": { "enabled": <?php echo $params->get('cookie')?>, // Whether or not the state of the foobar is stored in a client-side cookie (open or closed) "duration": <?php echo $params->get('cookie_duration')?> // The number of days the client side cookie remains active }, "social": { "text": "<?php echo $params->get('socialtext')?>", "profiles": [ <?php echo $social;?> ] }, "messages": [ <?php echo $messages ?> ], "message": { "delay": <?php echo $params->get('delay')?>, // The delay between switching of messages if more than 1 is supplied "fadeDelay": <?php echo $params->get('fade_delay')?>, // The time it takes to transition to the next message "random": <?php echo $params->get('random')?>, // Sets whether or not to randomly select messages to be displayed "navigation": <?php echo $params->get('navigation')?>, // Sets whether or not to display the prev & next arrows when 2 or more messages are being displayed "font": { "family": "<?php echo $params->get('font_family')?>", // The font family used for the messages "size": "<?php echo $params->get('text_size')?>", // The font size used for the messages "color": "<?php echo $params->get('text_color')?>", // The font color used for the messages "shadow": "1px 1px 0 #444", // The shadow applied to the font used for messages (only supported by browsers that support CSS3) "weight": "<?php echo $params->get('font_weight')?>" // The font weight used for the messages }, "aFont": { "family": "<?php echo $params->get('font_family')?>", "size": "<?php echo $params->get('text_size')?>", "color": "<?php echo $params->get('link_color')?>" // The font color of any links in the messages } } }); autotoggle = <?php echo $params->get('auto_toggle')?>; if(autotoggle ==1){ setTimeout(function() { $foobar('toggle'); }, <?php echo intval(trim($params->get('time_auto_toggle')))?>); } }); --> </script>