Comments (6)
Fixed by changing lines 199, and 120 respectively -
right = left + el.width();
bottom = top + el.height();
Just a quick fix though, there's probably a better way. See http://blog.jquery.com/2012/08/16/jquery-1-8-box-sizing-width-csswidth-and-outerwidth/
from jquery.fn.
I cannot reproduce this breaking with jQuery 1.8. See http://jsbin.com/oxenow/1/ (seems to work fine)
Could you provide code which breaks it?
from jquery.fn.
Hmm, this is what I'm using -
$('#title').on('proximity', {max: 50, fireOutOfBounds: true}, function(event, proximity, distance){
$('#titleDots').css('opacity', proximity);
});
from jquery.fn.
And here are the css properties on the #title element in case it has something to do with that, although it was behaving the same way on two instances of proximity that I had.
#title {
text-align: center;
position: relative;
margin-bottom: -45px;
top: 65px;
font-size: 18px;
text-shadow: 0 -4px 4px rgba(0, 0, 0, 0.38), 0 4px 4px rgba(0, 0, 0, 0.38);
letter-spacing: 4px;
height: 45px;
cursor: default;
-webkit-transform: translate3d(0,0,0);
}
from jquery.fn.
...so I just switched it back to outerWidth and outerHeight, and it's working fine. Strange, perhaps it had to do with a code minifying script that I was testing around the time I updated to jq1.8, I'll let you know if it happens again and if i can reproduce it.
from jquery.fn.
Cool okay, glad it's working again.
from jquery.fn.
Related Issues (20)
- Error with jQuery 1.6.4 HOT 3
- Results always come back empty? HOT 6
- data.results[0] is undefined
- nitial cap and/or all caps (acronyms) seem to be throwing off alpha order HOT 2
- Not working with jQuery 1.7.2 HOT 1
- Is there a way to ignore if a table cell has some default value like "--"? HOT 3
- Error $.get with data
- The cross domain function stopped working this afternoon, does anyone have the same problem?? HOT 2
- namespaces HOT 1
- Cross Domain calls do not work anymore HOT 2
- usage limits HOT 3
- custom headers
- jquery.fn HOT 1
- jquery.fn HOT 1
- version number for `cdnjs`
- a problem when I use this
- [cross-domain-ajax] Not works since YQL API's update HOT 2
- Cross-domain error : net::ERR_NAME_NOT_RESOLVED, exemple doesnt work
- sort number and size
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 jquery.fn.