Comments (11)
Hi, it works on my side : http://jsfiddle.net/E66qn/
from tooltipster.
Interesting. So what could go wrong? :-(
The particular project is a minimalistic Twitter client, currently hosted here. (You might need a Twitter account to test it; don't forget to remove your token when you're done doing so.) Enable "Show nicknames" and "Show avatars" from the header bar.
For debugging reasons, I echo new tweets via "alert". A valid tweet looks like this:
<div class='tweet' title="<img src='http://pbs.twimg.com/profile_images/378800000596411665/7706e505f2a652a4f3a25e7a88a1e309_normal.jpeg' style='width:50px;height:50px;' /><p style='float:left;padding-left:1em'>Geschrieben von<br /><b>07elfe</b></p>">RT @SpeedleDum: Den meisten Spaß habe ich immer noch unter der Dusche. Ich tanze, ich singe, ich lache, ich weine. Es ist wie ein Broadway …</div><br />
JSFiddle displays it correctly, my application doesn't - I only see the image.
What the...?
from tooltipster.
I can't debug for you sadly, but it must be related to your css. Why are you making the paragraph float left ?
from tooltipster.
Because I want it to be displayed next to the image, like the HTML demo tooltip does. I only use the default Tooltipster CSS. :-)
from tooltipster.
By the way, it won't solve your issue but html entities inside an attribute such as "title" should be encoded.
from tooltipster.
Encoded? The demo doesn't encode anything either. :-/
from tooltipster.
The demo is wrong, it will have to be updated about that. It works if it's not encoded but it's invalid HTML.
Can't Firebug help you figure out what's the matter with the css ? Give me a straight access to the page and I'll take a look.
from tooltipster.
The page generates everything dynamically from your Twitter account, so that would be weird. :) Anyway, a "valid example" of a generated DIV (which should have a tooltip) is above. :-/
Firebug says the tooltip only contains the IMG, so the CSS is probably not the problem here.
from tooltipster.
That's weird yes. Have you tried using the latest version of Tooltipster which is to be released soon ? It's version 2.3.0 and it is currently on dev branch. The way things are handled is slightly different to be more effective.
I'm not sure why it would work better in your case (as the current version also works in the Fiddle test), but it won't hurt to try it out.
from tooltipster.
Nice! The update to dev perfectly works! :-) Thanks!
from tooltipster.
Great ! You're welcome :)
from tooltipster.
Related Issues (20)
- bind jquery data table to tooltipster HOT 1
- Delay In and Delay Out HOT 1
- Refresh page add child class to parent in production HOT 1
- Hyperlinks issue
- Scrollbar is outside the tooltip window
- Add options for tooltipster to maintain content in instance of hiding or closing HOT 1
- Interactive Tooltip with delay 0 not working HOT 2
- Possible false positive detection as malicious script by BitDefender?!
- Can't find the right files
- Not able to resize the tooltip properly when resizing the browser window
- How to remove vertical scroll from tooltip ?
- active development
- Downloaded tooltipster did not contain /tooltipster.css HOT 1
- When I put an overflow-х hidden on the body, the tooltipster block starts to move up along with the content creating a parallax effect. How to fix it?
- onlyOne is not working
- CKEditor support or plugin?
- Tooltipped children of tooltipped parents HOT 1
- The tooltip on IOS requires two clicks to open.
- Tooltips collapse en Firefox
- jQuery 3.5.1 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tooltipster.