I'm currently working on a website and I'm trying to implement the jQuery slideToggle
feature to move some blocks. Everything seems to be working fine when I test the code on jsbin.com, but for some reason, it's not functioning properly on my Joomla website. Here is the code snippet I am using:
$('.sTurinys').hover(function(){
$('.ssTurinys',(this)).stop().slideToggle(600);
});
I have checked the link to the script file (splash.js) and it appears to be correct. However, I encountered an error message that reads:
Uncaught TypeError: Object [object Object] has no method 'tooltip'
Could someone help me troubleshoot this issue?
<script type="text/javascript">
window.addEvent('load', function() {
new JCaption('img.caption');
});
jQuery(document).ready(function()
{
jQuery('.hasTooltip').tooltip({"container": false});
});
The tooltip code seems to be automatically included in the
<jdoc:include type="head" />
section of the website. I'm not sure how to resolve this conflict. Any suggestions would be greatly appreciated.
UPDATE:
I have provided additional information including the full <head>
code and the complete splash.js file in the JavaScript section of this Bin: http://jsbin.com/aFOZEWI/2/edit
Please note that other parts of the splash.js file are functioning correctly, such as the overflow element changes. Thank you for any assistance you can provide.