Tutorial :jquery animate browser window



Question:

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 browser will move back and forth dynamically.

Thanks.


Solution:1

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.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »