Comments (7)
The problem is due to you not including Tooltipster's CSS. Make sure you have tooltipster.css included!
from tooltipster.
Quote: "The problem is due to you not including Tooltipster's CSS. Make sure you have tooltipster.css included!"
That's not true... it's included in the "resources" pane on the left using this URL...
http://calebjacob.com/tooltipster/css/tooltipster.css
WORKING: same jsFiddle with "position: 'top'"
BROKEN: same jsFiddle with "position: 'bottom'"
from tooltipster.
Woops, my bad. Not really sure what's going on here then. You can see it works fine here: http://jsfiddle.net/bZpHY/
Try and mess around with that to see if you can figure out what you're doing to break it. I have a slightly older version of Tooltipster running on my site - so I wouldn't recommend directly linking or copying those files (I need to get those updated). I'd be happy to help out more here, but unfortunately, I'm out of time right now. Let me know if you end up finding the problem!
from tooltipster.
I'm not really sure that I can take the blame...
As you can see in my jsFiddle, I have no other CSS whatsoever.
It's also broken on my production site and that's using the Tooltipster CSS that came with the latest version I downloaded yesterday.
Thanks for your help and I'm in no rush... just have to keep qTip a little while longer.
from tooltipster.
Aha!! Found your problem. :)
offsetY: '3'
You were using a string - instead of an integer. This completely destroys the math when adding strings and integers together. I'm going to add in extra protection against this, but for now, all you need to do is remove the quotes:
offsetY: 3
from tooltipster.
I'm very happy this is fixed and I should have realized that... except the fact that it was working until I changed from "top" to "bottom". It actually took the string and applied the offset.
Thank-you!
from tooltipster.
Yeah, that definitely made this one tricky to figure out. No idea why the numbers were coming out right when using other positions. I reviewed all the math for the different positions - the offsets are all being added correctly.
Anyways, the master branch is now up to date with the extra protection against strings. :)
from tooltipster.
Related Issues (20)
- Cannot install HOT 2
- Close on Escape HOT 1
- Screen overlay HOT 3
- Mobile devices - tool tip only shows with a double click and quickly closes HOT 7
- 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?
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.