0

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

4

1 回答 1

1

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
于 2011-03-15T03:14:28.553 回答