Jquery-tools and fancybox conflict?
first off: i have no prior javascript or jquery experience.
I'm using Jquery-tools to create a tool tip on this page (the info icons) and fancybox to create an overlay on this page (the "bel mij op" buttons).
Now, since i added the last lines of code to my script to trigger the tool tip, 开发者_高级运维the tool tip works but fancybox stops working.
$(document).ready(function() {
$("a.iframe").fancybox({
'hideOnContentClick': true
});
$('#tabs').tabs();
$("td.tariefinfo img[title]").tooltip({
'position': "center right"
});
});
So i'm wondering if there's something wrong with my code (i haven't really figured out on how to see javascript errors with firegbug yet) or is it because both plugins are incompatible.
Thanks in advance.
Aaron
Here is the error in Firebug. Looks like you haven't include the "js/jquery.tools.min.js" file in http://users.telenet.be/ezarto/ezarto/pco/index.php yet.
$("td.tariefinfo img[title]").tooltip is not a function
精彩评论