资 源 简 介
WHAT IS IT?
A jQuery-based javascript library to flow text around an image in an unobtrusive way
HOW DOES IT WORK?
On page load, the script dynamically creates outline DIVs that float on the same
side as the image; the image is pushed into the background by setting its position
to absolute and the z-index to -1.
The outlines are specified in an XML file that resides in the same folder as the image itself.
The implementation is 100% unobtrusive: the image stays in place if javascript is disabled
or the XML file is missing or incorrect. Also, the HTML stays clean.
I noticed a positioning glitch on IE (offset is incorrect by a few pixels) but Chrome and Firefox
position the image perfectly. I suspect it"s a bug in jquery-1.2.6 and therefore I will not
build a workaround in case it is solved in a later version of jQuery and this script breaks.
Tested on IE7, FF3, Chrome with jquery-1.2.6
IMPORTANT: make sure