Dear Cesário Camacho,
For module Sj K2 Accordion, please open file (/mod_sj_k2_accordion/default.php) and add this code to header:
<?php $script = '
window.addEvent("load", function() {
$$("#yt-accordion-'.$module->id.'").each( function( item ){
new Accordion( item, ".yt-toggler-'.$module->id.'", ".yt-element-'.$module->id.'", {
opacity: false,
alwaysHide:false,
display:'.$options->item_first_display.',
onActive: function(toggler, element){
toggler.addClass("open");
element.addClass("active");
},
onBackground: function(toggler, element){
toggler.removeClass("open");
element.removeClass("active");
}
});'; ?>
<?php if($options->accmouseenter == 'mouseenter'){?>
<?php $script .= '$$(".yt-toggler-'.$module->id.'").addEvent('.$options->accmouseenter.', function() { this.fireEvent("click"); });';?>
<?php } ?>
<?php $script .= ' } );
});';
$doc = JFactory::getDocument();
$doc->addScriptDeclaration( $script );
?>
For the module Sj k2 Splash, please open file(/mod_sj_k2_splash/tmp/default.php) and add this code to header:
<?php
$script = '
window.addEvent("domready",function(){
featuredcontentslider.init({
id: "yttitleflash'.$module->id.'",
contentsource: ["inline", ""],
toc: "markup",
nextprev: ["Previous", "Next"],
revealtype: "click",
enablefade: [true, 0.1],
autorotate: [true, 5000],
onChange: function(previndex, curindex){
}
});
});';
$doc = JFactory::getDocument();
$doc->addScriptDeclaration( $script );?>
We fixed this issue, please check your site again.
Thanks!