staaky / tipped Goto Github PK
View Code? Open in Web Editor NEWA complete Tooltip solution based on jQuery
A complete Tooltip solution based on jQuery
On the website's homepage, it doesn't mention that it uses jQuery, which is actually a big deal to many.
Please include it somewhere there.
Hi.
Thank you for this library.
I wonder if this is PRO or not? Is there any support? Your forums are shut down.
There is no way to prevent a tooltip from triggering if you move your mouse over it even for a fraction of a second.
Even if you add showDelay: 3000 the tooltip will still trigger if you have moved over it 3 seconds ago and your mouse is over the other side of the screen.
This is a real problem when you have many elements on a screen with tooltips - made even worse if they all trigger an AJAX request.
There should be a way to prevent tooltips triggering at all until you've hovered over them for x millsecs. showDelay could check to see if the mouse is still over the element before showing the tooltip.
Or perhaps we need a triggerDelay option?
Obviously this is only for tooltips triggered with a hover.
When using showOn: 'click' the trigger element should preventDefault() on the event. Currently it will follow the link if its on an anchor element.
Yes, I can add it in my own code, but it would be nice if tipped did it automatically.
thanks.
Hey,
I have a Bootstrap-based page, where I'm simply doing:
$(document).ready(function () {
Tipped.create($("#endBtn"), "a987");
});
The result is in the Screen shot - the div is displayed in a completely unexpected location, with no styling. I'm also attaching the HTML that Tipped injects at the bottom of <body>
, right after the JS imports.
Any ideas what could be going so wrong?
https://i.paste.pics/7434aa3055935a4dde39f281c4b556b2.png
https://i.paste.pics/0ed2abcca18c006f5ae2a6b92ecf164f.png
The following snippet results in javascript being run when the tooltip first appears.
Tipped.create('#foo', '<script>console.log("oops");');
This is an issue because we use jquery.select2
dropdowns with tags = true
in conjunction with Tipped.delegate()
. The result is that a malicious user can execute javascript by typing it into a dropdown.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.