Elxis CMS Forum
Support => General => Topic started by: ROUBOS on February 19, 2012, 00:21:17
-
Hi,
I have the following script in my template's index.php file for TinySlideshow to work but I think that it is conflicting with easygallery because the bot does not work anymore. (does not dislay images as it should, pops them in a new tab)
<script type="text/javascript" src="http://www.kalymna-yachting.gr/templates/kyc-template/slideshow/compressed.js"></script>
<script type="text/javascript">
$('slideshow').style.display='none';
$('wrapper').style.display='block';
var slideshow=new TINY.slideshow("slideshow");
window.onload=function(){
slideshow.auto=true;
slideshow.speed=5;
slideshow.link="linkhover";
slideshow.info="information";
slideshow.thumbs="slider";
slideshow.left="slideleft";
slideshow.right="slideright";
slideshow.scrollSpeed=4;
slideshow.spacing=5;
slideshow.active="#fff";
slideshow.init("slideshow","image","imgprev","imgnext","imglink");
}
</script>
Is there a way to sort it out?
thanks
-
Hello ROUBOS,
I don't know whether you are having a problem due to jquery loading duplication or from a conflict with a different js such as mootools but have a look at this.
http://api.jquery.com/jQuery.noConflict/ (http://api.jquery.com/jQuery.noConflict/)