资料
表格
制度
合同
管理
职场
经营
创业
范文
总结
计划
作文
文章
美文
词句
教程
模板
图片
字体
图标
办公
人事
财务
生产
管理资源吧首页
>>>
教程
>>>
编程
>>>
JavaScript教程
>>>
jquery 圆角遮罩图片实现图片圆角
运行后请刷新一次。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>圆角遮罩图片实现图片圆角 by ahuinan 2009-5-15</title> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20language%3D%22javascript%22%20type%3D%22text%2Fjavascript%22%20src%3D%22http%3A%2F%2Fimg.glzy8.com%2Fjslib%2Fjquery%2Fjquery-1.3.2.min.js%22%3E%3C%2Fscript%3E"> <img src="/_New/_cj/myeditor/sysimage/space.gif" class="ewebeditor__script" _ewebeditor_fake_tag="script" _ewebeditor_fake_value="%3Cscript%20language%3D%22javascript%22%20type%3D%22text%2Fjavascript%22%3E%20%0D%0A%24(function()%7B%20%0D%0A%24(%22.kuang%22).after(%22%3Cdiv%20class%3D'kuang_div'%3E%3Cimg%20src%3D'http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805261.png'%20%2F%3E%3C%2Fdiv%3E%22)%3B%20%0D%0A%7D)%20%0D%0A%3C%2Fscript%3E"> <style type="text/css"> li{ list-style:none; float:left; margin-right:20px; margin-top:20px; position:relative; } img{ border:0; width:94px; height:94px; } .kuang_div{ position:absolute; z-index:1000; left:0; top:0; } </style> </head> <body> <div id="board"> <ul> <li><a href="#" _ewebeditor_ta_href="%23"><img src="http://www.glzy8.com/upload/20090518004805144.gif" _ewebeditor_ta_src="http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805144.gif" class="kuang" /></a></li> <li><a href="#" _ewebeditor_ta_href="%23"><img src="http://www.glzy8.com/upload/20090518004805144.gif" _ewebeditor_ta_src="http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805144.gif" class="kuang" /></a></li> <li><a href="#" _ewebeditor_ta_href="%23"><img src="http://www.glzy8.com/upload/20090518004805144.gif" _ewebeditor_ta_src="http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805144.gif" class="kuang" /></a></li> <li><a href="#" _ewebeditor_ta_href="%23"><img src="http://www.glzy8.com/upload/20090518004805144.gif" _ewebeditor_ta_src="http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805144.gif" class="kuang" /></a></li> <li><a href="#" _ewebeditor_ta_href="%23"><img src="http://www.glzy8.com/upload/20090518004805144.gif" _ewebeditor_ta_src="http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805144.gif" class="kuang" /></a></li> <li><a href="#" _ewebeditor_ta_href="%23"><img src="http://www.glzy8.com/upload/20090518004805144.gif" _ewebeditor_ta_src="http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805144.gif" class="kuang" /></a></li> <li><a href="#" _ewebeditor_ta_href="%23"><img src="http://www.glzy8.com/upload/20090518004805144.gif" _ewebeditor_ta_src="http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805144.gif" class="kuang" /></a></li> <li><a href="#" _ewebeditor_ta_href="%23"><img src="http://www.glzy8.com/upload/20090518004805144.gif" _ewebeditor_ta_src="http%3A%2F%2Fwww.glzy8.com%2Fupload%2F20090518004805144.gif" class="kuang" /></a></li> </ul> </div> </body> </html>
[Ctrl+A 全选 注:
如需引入外部Js需刷新才能执行
]
教程首页
更多教程