首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > 一个基于jQuery JavaScript库流图文围绕在一个不显眼的方式

一个基于jQuery JavaScript库流图文围绕在一个不显眼的方式

资 源 简 介

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

文 件 列 表

flowtext
example.html
example.jpg
example.jpg.flowtext.xml
flowtext-0.1.js
jquery-1.2.6.min.js
README.txt

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP