I'm not using jquery UI but i would like to make element slide and show at same time, from left to right.
So which is the equivalent function of jquery UI?:
$(function(){
$(element).show('slide', {direction: 'right'},1000);
});
thanks
As @DipeshParmar has commented, you can use .animate() to slide an element.
$(".box").animate({left: "200px", opacity: 1}, 4000);
Live Demo: http://jsfiddle.net/zq6Rx/6/
.hide() call first? jsfiddle.net/zq6Rx/5
.animatetoo$(element).animate({left: '300px'}, 1000);