山本

导航

2013年5月9日 #

实现仿QQ相册功能 .

摘要: <head> <title></title> <script src="js/jquery.js" type="text/javascript"></script><script src="js/images.js" type="text/javascript"></script> <style type="text/css"> * {line-height: 150%}.image {text-al 阅读全文

posted @ 2013-05-09 22:14 高级菜鸟 阅读(533) 评论(4) 推荐(0) 编辑

手风琴特效 .

摘要: 只需要引入jquery-1.3.2.min.js即可实现效果;<head> <title></title> <style type="text/css"> dl { width: 150px; }dl,dd { margin: 0; }dt { background: gray; font-size: 14px; padding: 2px; margin: 2px; }dt a { color: #FFF; }dd a { color: #000;font-size: 12px; }ul { list-style: none; 阅读全文

posted @ 2013-05-09 22:12 高级菜鸟 阅读(182) 评论(0) 推荐(0) 编辑

图片拖出相框,自动消失

摘要: 这里需要注意的是对几个js文件的引用顺序,因为是层层嵌套的关系,所以顺序不能乱;这里主要是实现当把图片拖出相框时,图片消失(见下图的图示)。<head> <title></title> <style type="text/css"> #mydiv{ width:900px; background-color:#444;left:100px;position:absolute;} img{ width:200px; height:200px;} ul{ list-style-type:none;} ul li{ display: 阅读全文

posted @ 2013-05-09 22:10 高级菜鸟 阅读(172) 评论(0) 推荐(0) 编辑