I'm trying to use Rok Stories on a site that uses JScrollpane and got the following error:Fehler: $("comment-form").addEvent is not a functionQuelldatei: http://localhost/sylverice/components/com_k2/js/k2.jsZeile: 14The thumbnails show but the fullsize image is missing. The thumbnails are also not clickable i.e. when I click on them nothing happens.I've done a quick search around and read about the possible conflict with jquery and its suggested solution here:http://docs.jquery.com/Using_jQuery_with_Other_Libraries... which I've tried but no luck. Then again I don't know much about javascript and I'm not even sure if what I tried is right.This is my header currently:<head><jdoc:include type="head" /><script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/ice/scripts/jquery-1.4.2.min.js"></script><script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/ice/scripts/jquery.mousewheel.min.js"></script><script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/ice/scripts/jScrollPane.js"></script><link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->baseurl ?>/templates/ice/css/jScrollPane.css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/ice/css/template.css" type="text/css" /><script type="text/javascript"> $(function() { // this initialises the demo scollpanes on the page. $('#mainbody-container').jScrollPane(); });</script></head>Adding the jQuery.noConflict(); line after this line:$('#mainbody-container').jScrollPane();works at least to get the RokStories happening, but then my pretty Jscrollpane scrollbar is gone and replaced by the normal scrollbar.I'm using K2 2.1, RokStories 1.5 and Joomla 1.5.15.Unfortunately the site is not yet online there is no live URL yet, so I can't show you directly.Does anyone have any ideas how to solve this conflict?Thanks in advance for your time and help.
16 years 7 months ago #81033