views:

97

answers:

1

I have 2 plugins, amongst several others, that are loaded together. All of them work together correctly expect 2. By commenting out bits of code etc I've narrowed it down to the two plugins. These are the 2 plugins in question jQuery Tools tabs and NewsTicker

I have tried calling them as follows as per their instructions

$(document).ready(function(){
    $().newsTicker({
        newsList: "#news",
        startDelay: 10,
        placeHolder1: " []"
    });

    $("ul.tabs").tabs("div.panes > div");
});

With the calls this way around the ticker works but the tabs do not. If I swap the calls round then the tabs work but the ticker does not. Both plugins work if the other call is commented out.

Any ideas what could be wrong here or could something in the code of one of the plugins be affecting the other. Both plugins work ok when several other plugins are also called in the same script. I'm just wondering if I'm calling them in the wrong way or something being fairly new to jQuery

+1  A: 

maybe this article will help

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Ben