jQuery Easy Background Resize
Resizable full-browser background image using jQuery. Implementation requires no CSS. Keeps the images aspect ratio in tact!
Example HTML for Background DIV
<!-- This gets positioned absolutely so place it anywhere. --> <div id="body-background"><img src="image/bg.jpg" alt="Bg"></div>
Example Example jQuery Code
$(document).ready(function() { $("#body-background").ezBgResize(); });
And that's it! Well, other than including the proper jQuery and Easy Background Resize javascript files.
Hope you like it!
You might also like
Tags
accordion accordion menu animation navigation animation navigation menu carousel checkbox inputs css3 css3 menu css3 navigation date picker dialog drag drop drop down menu drop down navigation menu elastic navigation form form validation gallery glide navigation horizontal navigation menu hover effect image gallery image hover image lightbox image scroller image slideshow multi-level navigation menus rating select dependent select list slide image slider menu stylish form table tabs text effect text scroller tooltips tree menu vertical navigation menu