77
| <![CDATA[<script type="text/javascript">
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.pg-modal-button').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
// Add extra modal close functionality for tinyMCE-based editors
document.onreadystatechange = function () {
if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
{
if (typeof window.jModalClose_no_tinyMCE === 'undefined')
{
window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false;
jModalClose = function () {
if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
{
if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {};
window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false;
SqueezeBox.close = function () {
if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
}
};
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
jQuery(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} });
jQuery(document).ready(function(){
new Slideshowck('#camera_wrap_102', {
height: '400px',
minHeight: '150',
pauseOnClick: false,
hover: 1,
fx: 'random',
loader: 'bar',
pagination: 0,
thumbnails: 1,
thumbheight: 75,
thumbwidth: 100,
time: 7000,
transPeriod: 1500,
alignment: 'center',
autoAdvance: 1,
mobileAutoAdvance: 1,
portrait: 1,
barDirection: 'leftToRight',
imagePath: '/turismojaguariaiva/media/com_slideshowck/images/',
lightbox: 'mediaboxck',
fullpage: 0,
mobileimageresolution: '0',
navigationHover: false,
mobileNavHover: false,
navigation: true,
playPause: true,
barPosition: 'bottom',
responsiveCaption: 1,
keyboardNavigation: 0,
container: ''
});
});
</script>]]>
|