You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I know that you can use fx: 'slide' for page transition. But the default is to slide up from the bottom. I would like also to be able to slide a page in from the left or right rather like FSS.js http://www.interactivegoods.com/fss/#/introduction. Is this possible?
(fantatic library BTW)
The text was updated successfully, but these errors were encountered:
If one can write something like $.fn.slideUp it would be trivial to add a slideLeft or slideRight fx like (search for pager.fx.slide in the source code):
I've just skimmed the jQuery documentation and I think it might be possible to add this using (dry coding)
var slideLeft = function(time, callback) {
this.animate({width: 'toggle'}, time, callback);
};
var slideAwayLeft = function(time, callback) {
this.animate({width: 'toggle'}, time, callback);
};
{width: 'toggle'} might need to be changed to something else and I think you might need to add/subtract overflow: hidden. This might be interesting to add to the lib so if you get something working I'll be interested in getting a pull request.
Hi, I know that you can use fx: 'slide' for page transition. But the default is to slide up from the bottom. I would like also to be able to slide a page in from the left or right rather like FSS.js http://www.interactivegoods.com/fss/#/introduction. Is this possible?
(fantatic library BTW)
The text was updated successfully, but these errors were encountered: