popo.js maintenance
marked a bug in code
fixed a major bug. Wrong parentOffset was calculated for fixed target element.
found a lot of bugs, added todo notices
calculation changes to onCollision callback
found a huge bug, when body/html element is given a border the calculations go sideways, badly. Also ie7/ie8 browser border affects the calculations, which it should not. Need to fix these bugs asap!
html/body border does not affect the calculations anymore, fixed the getOffsetParent function. IE8 forced border does not seem to affect the calculations after the fix. IE7 forced border still messes up the calculations.
The librarys's pitfalls with the html element are now tested and documented. Also did a little cleanup to the core, making the library again a bit more compact.
Update README.md
Update README.md
testing relative, not working currently
Merge branch 'dev' of https://github.com/niklasramo/popo into dev
fixed relative element's positioning a bit, still broken though.
syntax updates
removed relative element support due to extremely difficult challenges that need to be tackled with more time and care. For the moment everything seems to work fine as long as the target element's position is 'absolute' or 'fixed'.
Update README.md
Unstable version with unfinished gbcr fallback and readjusted getHeight/getWidth functions. documentElement is now treated fully as the document when calculating dimensions.
Merge branch 'dev' of https://github.com/niklasramo/popo into dev
updated offsetParent function
v0.8 nightly, needs some tweaking and testing still. The fallback for gbcr is tested and should work pretty decently in IE7+. Mobile browsers need to be tested still.