I use
$( "#viewPort" ).effect( "slide", hideoptions, 1000, callback )
to pull out the div โviewPortโ, and in the callback () function Iโm gliding in the new div on the display, calling
$( "#viewPort2" ).effect( "slide", showoptions, 1000 ) var hideoptions = { "direction" : "left", "mode" : "hide"; var showoptions = {"direction" : "right","mode" : "show"};
The problem is that it is not a smooth transition: first, the content slides, leaving an empty space, and then new content is added.
Is there a way to avoid a blank display?
javascript jquery jquery-ui
user193116
source share