1. Function: to add to the title page scrolling or switching effect, similar to the effect in the title bar of WebQQ to the message.
2. call:
jQuery(
function
($){
$.animateTitle.scroll( 300 );
// $.animateTitle.scroll(300,true,'title2','title3');
window.setTimeout( function (){
$.animateTitle.clear();
}, 100000 );
});
$.animateTitle.scroll( 300 );
// $.animateTitle.scroll(300,true,'title2','title3');
window.setTimeout( function (){
$.animateTitle.clear();
}, 100000 );
});
4. problems: Since the width occupied title text may be different, resulting in non-uniform effect of the scroll speed.
Reproduced in: https: //www.cnblogs.com/likestone/archive/2011/05/18/2049181.html