I want to intergrate a jQuery library into CMSMS. I created a normal website with all functions wich work.
http://birdsart.de/temp/kvb/kontakt.html
Now I started to build up the same site with CMSMS but all javascript functions don't work.
http://www.schwartau-food.de/cms/index.php?page=ihre-ansprechpartner
All javascript packages are in uploads/scripts. The template head looks like this:
Code: Select all
{literal}
<__script__ type="text/javascript">
$(document).ready(function(){
$(".accordion2 h3").eq(2).addClass("active");
$(".accordion ul:not(:first)").hide();
$(".accordion h3").click(function(){
$(this).next("ul").slideToggle("slow")
.siblings("ul:visible").slideUp("slow");
$(this).toggleClass("active");
$(this).siblings("h3").removeClass("active");
});
});
</__script>
{/literal}
{literal}
<__script__ type="text/javascript" src="uploads/scripts/jquery-1.2.6.min.js"></__script>
{/literal}
{literal}
<__script__ type="text/javascript" src="uploads/scripts/show_hide_slide.js"></__script>
{/literal}
{*{literal}
<__script__ type="text/javascript" src="uploads/scripts/showhide.js"></__script>
{/literal}*}
{literal}
<__script__ type="text/javascript">
jQuery(document).ready(function() {
jQuery('#mycarousel').jcarousel();
});
</__script>
{/literal}