Saturday, October 3, 2009

Fluid Images - Resize Your Images Automatically

Fluid Images - a little script that automatically resize your images.

The script is needed to get fluid images resizing smoothly in Internet Explorer earlier than version 8. Otherwise, you can just use a simple CSS fix.

View Demo | Download Script

The script cycles through your document, swaps out the images for a transparent GIF, and applies the AlphaImageLoader property to each one. Then, whenever the window’s resized, the script automatically recalculates the proper, proportional height and width of the image, and resizes the spacer graphic accordingly.

Labels:



1 Comments:

At October 3, 2009 at 11:01 AM , Blogger Dheeraj said...

very useful script, thanks buddy lage raho munna bhai

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home