开发者

jquery animate browser window

开发者 https://www.devze.com 2022-12-22 23:42 出处:网络
Is there a way to animate a browser window using jquery. Right now I\'m essentially using this: $(window).animate({

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消