Menu icon Foundation

Developer | Shanghai

Front-end from Nextdigital

My Posts


My Comments

Jennie Ji commented on Jennie Ji's post over 5 years

ISSUE2 is found still exists in foundation v5.
And I just found out the stupid browser cannot work good with the negative percent margin.
foundation.orbit.js:line339: prev.css(margin, ‘-100%’);

So the above code should be updated to:
foundation.orbit.js:line339: prev.css(margin, -prev.width());

And following code should be updated to:
foundation.orbit.js:line329: animMargin[margin] = '0';

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Jennie Ji's post over 5 years

ISSUE2 is found still exists in foundation v5.
And I just found out the stupid browser cannot work good with the negative percent margin.
foundation.orbit.js:line339: prev.css(margin, ‘-100%’);

So the above code should be updated to:
foundation.orbit.js:line339: prev.css(margin, -prev.width());

And following code should be updated to:
foundation.orbit.js:line329: animMargin[margin] = '0';

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content