cameronmcefee / plax

JQuery powered parallaxing

Home Page:http://www.cameronmcefee.com/plax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make PLAX work properly with bottom: and right: attributes

fletom opened this issue · comments

Right now, PLAX doesn't handle these cases properly at all. There are lots of cases where bottom: and right: need to be used instead of top: and left:.

Can you cite some examples? Many of the recent updates have been directed at fixing bottom and right values.

Sure, but the easiest way I can think of showing you is on our staging server. Can you add me on jabber/Skype? (fletcher@nomulous.com / fletcher.tomalty)

Never mind about this. After playing around with it some more, I've figured out that it does seem to work, except that since for bottom: and right: a calculation has to be made, if PLAX is enabled before less.js finishes rendering our CSS, it calculates the wrong values. Still not sure how to fix it, but it isn't actually a problem with PLAX.

Ah, yeah. That would make sense.