Current Directory: /home/astoriaah/www/old15/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_fancybox
Viewing File: /home/astoriaah/www/old15/plugins/content/jw_sigpro/jw_sigpro/includes/js/jquery_fancybox/popup.php
<?php
/**
* @version 3.0.x
* @package Simple Image Gallery Pro
* @author JoomlaWorks - http://www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2014 JoomlaWorks Ltd. All rights reserved.
* @license http://www.joomlaworks.net/license
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$relName = 'fancybox-button';
$extraClass = 'fancybox-button';
$stylesheets = array(
'fancybox/jquery.fancybox.css?v=2.1.5',
'fancybox/helpers/jquery.fancybox-buttons.css?v=2.1.5',
'fancybox/helpers/jquery.fancybox-thumbs.css?v=2.1.5'
);
$stylesheetDeclarations = array();
$scripts = array(
'fancybox/lib/jquery.mousewheel-3.0.6.pack.js',
'fancybox/jquery.fancybox.pack.js?v=2.1.5',
'fancybox/helpers/jquery.fancybox-buttons.js?v=2.1.5',
'fancybox/helpers/jquery.fancybox-thumbs.js?v=2.1.5'
);
if(!defined('PE_FANCYBOX_LOADED')){
define('PE_FANCYBOX_LOADED', true);
$scriptDeclarations = array('
jQuery.noConflict();
jQuery(function($) {
$("a.fancybox-button").fancybox({
//padding: 0,
//fitToView : false,
helpers : {
title : { type : \'inside\' }, // options: over, inside, outside, float
buttons : {}
},
afterLoad : function() {
this.title = \'<b class="fancyboxCounter">Image \' + (this.index + 1) + \' of \' + this.group.length + \'</b>\' + (this.title ? this.title : \'\');
}
});
});
');
} else {
$scriptDeclarations = array();
}