Is there a way to animate a browser window using jquery. Right now I'm essentially using this:
$(window).animate({
left: '+=50'
}, 5000});
The reason why it isn't working is probably obvious, although not for me. I eventually need to loop an animate effect so that the brow开发者_如何学JAVAser will move back and forth dynamically.
Thanks.
window.moveBy()
. Don't be surprised when many browsers refuse to obey, as moving the window is highly obnoxious and of little (if any) worth.
精彩评论