SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Non-Member
    Join Date
    Jun 2013
    Location
    Patna
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bootstrap Tooltip - Hide when another tooltip is click

    I hope someone can help.

    I'm trying to hide the tooltip when another tooltip icon is clicked. It works but when I decide to click the last tooltip again it 'flashes' the tooltip.

    Code JavaScript:
    var Hastooltip = $('.hastooltip');
        HasTooltip.on('click', function(e) {
                    e.preventDefault();
                    HasTooltip.tooltip('hide');
                }).tooltip({
                    animation: true
                }).parent().delegate('.close', 'click', function() {
                    HasTooltip.tooltip('hide');
                });
    Last edited by cpradio; Jun 24, 2013 at 04:28. Reason: Added JS tags

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,890
    Mentioned
    211 Post(s)
    Tagged
    12 Thread(s)
    Hi there,

    Could you provide a link to a page where we can see this happening?


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •