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

by max on Wednesday, February 24th, 2010
No Comments
Share
Email Email

http://zedomax.com/img/aHR0cDovL2Jhdm90YXNhbi5jb20vd3AtY29udGVudC91cGxvYWRzLzIwMTAvMDIvZnVsbGJnLmpwZw==.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

   Connect with Twitter
If you like this post then please subscribe to our full feed RSS or follow us on Twitter @Zedomax.

You can also subscribe by E-mail by filling out your name and E-mail below:

Name: Email:
Got a new hack, DIY, howto, or gadget you want us to blog about?

Got a tips for us? Use our Tip Line or via Twitter @Zedomax or send e-mail to zedomax [at] gmail.com.

You can also use our free Guest Blogger services.

Try Goohack to find a new Hack:

Related News and Resources

?>

Other Interesting News From Our Friends


Featured Sites From Zedomax Blog Network