All javascript disappears when trying to add a jquery plugin
As the title says, I can't install any jquery plugin because the moment I try the final code every default jquery pluging is disabled.
I'm trying to install either this http://caroufredsel.frebsite.nl/ or this http://jquery.malsup.com/cycle/
Using Tikiwiki 6.3, after days of trying, I managed to make the caroufredsel plugin work, but again, every other jquery plugin that comes with tikiwiki stops working, I've read that this is probably for security reasons, but I'm not using the tpl editor of the site. I can load the jquery and jquery plugin libraries from the header.tpl with no problems, but when I try to add this code to execute the jquery plugin, it doesn't work.
$(document).ready(function() { // Using default configuration $("#foo1").carouFredSel(); // Using custom configuration $("#foo2").carouFredSel({ items : 2, direction : "up", scroll : { items : 1, effect : "easeOutBounce", duration : 1000, pauseOnHover : true } }); });
I know I have to change the name of the ID to what I want to use, this is just an example, it happens with every code that tries to execute the plugin. I can make the plugin work if I put it in the "Custom End of Code" or directly inside a .tpl like the footer.tpl with Dreameeaver or TextPad, but when I when do it with that and with the custom javascript (even if that one doesn't make it work), like I said, everything else stops working. Adding the code inside the wikipage editor doesn't seem to make it work, I have tried with
{JQ()} *code* {JQ}
{HTML()} *code* {HTML}
I have tried this method http://doc.tiki.org/Custom+Code+HowTo+-+jQuery and this method http://themes.tiki.org/Infinite_carousel and many other combinations.
Infinite Carousel works without destroying everything else and by adding the code in the wikipage, but I would prefer to use those other plugins, and I couldn't find a way for Infinite Carousel to use anything other than 11 items, it seemed buggy.