jQuery Hack – How to Automatically Re-size Background Images!

http://bavotasan.com/wp-content/uploads/2010/02/fullbg.jpg

For web designers out there who use photos as background images, you might want to learn how to automatically re-size background images, matching the size of the browser of the user.

You can probably use a complicated javascript for that but there’s a better way, you can use a simple jQuery hack for that, see Bavota’s hack here.

I just really dig how versatile the jQuery library is and all the amazing things you can do to a Web site with it. I had to create a resizing background image that would fit the full size of the browser window and this little plugin does just that.

I have to agree, jQuery can do some things rather quickly and simple, awesome hack bud!

Leave a Reply

Your email address will not be published.


Other interesting stuff at Zedomax.com: , , , , ,
Check out more interesting categories: browser, Design, DIY, Featured Hacks, Featured Web, Hack, HOWTO, Projects, Web.


Related News and Resources