Tiptip dont work with slide

nick's Avatar

nick

18 Apr, 2012 09:26 AM

I need fix this problem i just added one slider and then tiptip stop working

i show u the fuctions of my website:

script type="text/javascript">

    $(function() {
        del_home_page.initHomePage();
        $('[wt=StackTile]').StackTile();
        $('[wt=StackExpando]').StackExpando();
        $('[wt=StackCarousel]').StackCarousel();
        $('.dismissable .close').click(function() {
          $('.dismissable').fadeOut();
          D.util.cookie('hpd', '1');
        });
        if (!D.util.cookie('hpd')) {
          $('.dismissable').show();
      }

    });
</script>

script type="text/javascript">

    $(document).ready(function() {

        // Toggle the dropdown menu's
        $(".dropdown .button, .dropdown button").click(function () {
            if (!$(this).find('span.toggle').hasClass('active')) {
                $('.dropdown-slider').slideUp();
                $('span.toggle').removeClass('active');
            }

    // open selected dropown
            $(this).parent().find('.dropdown-slider').slideToggle('fast');
            $(this).find('span.toggle').toggleClass('active');

            return false;
        });

        // Launch TipTip tooltip
        $('.tiptip a.button, .tiptip button').tipTip();

    });

    // Close open dropdown slider by clicking elsewhwere on page
    $(document).bind('click', function (e) {
        if (e.target.id != $('.dropdown').attr('class')) {
            $('.dropdown-slider').slideUp();
            $('span.toggle').removeClass('active');
        }
    });
            </script>

script type="text/javascript">

    $(function(){
            $('.someClass').tipTip();
             });

Observation: if i remove the first function the tiptip work but my slider broke.

Chrome Error:
Uncaught TypeError: Object [object Object] has no method 'tipTip'

thanks for all i will wait for comments

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac