Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9004183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:50:40+00:00 2026-06-16T00:50:40+00:00

Frameworks jQuery 1.8.3 jQuery PowerTip 1.1.0 Objective I want to have a powerTip inside

  • 0

Frameworks

  • jQuery 1.8.3
  • jQuery PowerTip 1.1.0

Objective

I want to have a powerTip inside of another powerTip.

Current Outcome

The first tip (tip1) displays fine but the second (tip2) doesn’t display at all. The CSS for tip2 works, in that the bottom border shows and all, but when you roll over it the powerTip won’t show.

HTML

<p>
    Blah blah blah blah blah
    <span data-powertiptarget="tip1">Blah</span>
    and more blah blah blah.
</p>

<div id="tip1" class="tooltip-div">
    <p>
        Email: <a href="mailto:me@somebody.com">me@somebody.com</a><br/>
        <span data-powertiptarget="tip2">Nomenclature</span>: Blah
    </p>
</div>

<div id="tip2" class="tooltip-div">
    Nomenclature: blah blah blah blah.
</div>

CSS

.tooltip {
    border-bottom: 1px dashed #333333;
}

.tooltip-div {
    display: none;
}

#powerTip {
    text-align: left;
}

#powerTip a {
    color: #FFFFFF;
}

#powerTip a:visited {
    color: #F0F0F0;
}

#powerTip .tooltip {
    border-bottom: 1px dashed #FFFFFF;
}

JavaScript

$('span[data-powertiptarget]').addClass('tooltip');
$('span[data-powertiptarget]').each( function() {
    $(this).powerTip( {
        placement: 'ne',
        mouseOnToPopup: true,
        smartPlacement: true
    });
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:50:42+00:00Added an answer on June 16, 2026 at 12:50 am

    The reason why your tooltip doesn’t show up is because the contents of each tooltip seem to get copied into a seperate div, and the events attached to it get lost in the process. You can see that quite well e.g. if you inspect the apearing tooltip via the chrome developer tools.

    So, what you would need to do is create the powerTip2 instance inside the div#powerTip once the tooltip opens. Also you need unique ids for every opened tooltip.

    Example on JsFiddle

    Code:

    $('span[data-powertiptarget]').addClass('tooltip');
    createPowerTips($('span[data-powertiptarget]'),'powerTip');
    
    function createPowerTips($elems, popupId) {
        $elems.each( function() {
            $(this).powerTip( {
                popupId: popupId,
                placement: 'ne',
                mouseOnToPopup: true,
                smartPlacement: true
            }).on({
                powerTipOpen: function() {
                    createPowerTips(
                        $('#powerTip').find('span[data-powertiptarget]'),
                        'powerTip2'
                    );
                }
            });
        });
    }
    

    As you can see in the example, the nested tooltip has no CSS attached to it. So you’d have to copy all the #powerTip CSS over for #powerTip2

    Clearly, the plugin has not been designed for such a use case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen many js frameworks (including jquery) using closure around their main function
Iam a great fan of javascript frameworks especially jQuery .I have always wanted to
I've been using various javascript frameworks including mootools, jquery, prototype and scriptaculous and have
I'm looking to find a galleria replacement, hopefully using jQuery but other javascript frameworks
This is my first time using lightbox which uses jquery framework. But when I
I have a jquery ui framework that is constructing the Date Picker elements. I
I have a Cordova app that runs the jQuery mobile framework and loads pages
I am pretty new to the zend framework and the JQuery helper. I have
I have written a simple jQuery script that changes the hash tag of a
When I write web apps I rely on frameworks like jQuery, likewise in WinForm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.