Code Monkey home page Code Monkey logo

ezpz-tooltip's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ezpz-tooltip's Issues

bind vs. live

Hi there,

I'm not sure if bind vs. live is my problem or not, but it would seem to be.

And btw, I'm using the "click" version of the source code.

I have a page that loads a shadowBox pop-up, and when it closes, I have it do a .load('filename.jsp') into a div. However, when the shadowBox closes and the div is reloaded with the .jsp, the tooltips aren't popping up (just in this section). Other tooltips do still pop up outside of the reloaded div section.

I was thinking it's because the code is doing a .click(), which is basically a bind. So I changed both .click() with .live('click', ...

Changing them both doesn't work at all (even if I don't reload the div). Changing the first .click() works when I don't reload the div section, but again still doesn't work if I do reload the div.

I also tried moving where the .load(), (where the div is being reloaded), but there are only so many places to put that after the shadowBox closes.

I understand it may have to do with some other part of all my code, but figured I'd start here to see if anyone had any thoughts on the bind vs live aspect of this?

Thanks.

Keith D Commiskey
http://kdcinfo.com

Scrolling bug

Let me start by saying, this is by far my favorite tooltip plugin, and I love it.

I noticed that there is a little bug when keeping the mouse still and scrolling (such as by mouse wheel) over a target div. Because the mouse hasn't moved the plugin can't/doesn't calculate the location, so the popup box ends up in the top left corner. I wish it would not turn the display:block. Which would be a pleasant degrade. Or better yet, correctly calculate the locate.

PS. you can only see this from after refresh and before moving your mouse over any tooltip.

I hope that made sense.

Click instead of mouseover

Is there a version of the code that works with an click onto the target rather than a mouseover? I have messed with both the last enriquez version of js and the most recent greg added and if i change the mouseover (or mousenter) to click it works for loading the content but the hover still brings in the background image. How do i change it to only work on click of the target and not do anything with a hover?

Thanks!
Matt

ezpz-tooltip plugin

I found this plugin to be exactly what I have been craving. But being too green in JQuery and Javascript, I have not been able to implement it successfully!
I saved the plugin file in my root folder as jquery.ezpz.tooltip.js
I inserted the target class and IDs in the Target Divs and Content class and IDs in the Contents Divs to match those in the corresponding Target Divs.
And then entered the calling script at bottom of my page just before the closing body tag like this:

$(document).ready(function(){
$(".tooltip-target").ezpz_tooltip();
});
Please help me pinpoint my mistake.

My webpage is Bootstrap 3-based and with .php extension.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.