01 2012 档案

格式化提示电话号码
摘要:<style> *{margin:0;padding:0;} .pr5{padding-right:5px;} .labelbox{position:relative;width:200px;height:30px;margin:20px auto;display:block} .showvalue{width:200px;height:20px;color:#333;font-size:12px;position:absolute;top:22px;left:0;} .showvalue_big{width:200px;height:20px;color:#f60;border: 阅读全文

posted @ 2012-01-12 17:03 kpbiao 阅读(236) 评论(0) 推荐(0) 编辑

微博划词转发
摘要:var miniBlogShare = function() { //指定位置显示的分享图标按钮 $('<img id="imgSinaShare" class="img_share" title="将选中内容分享到新浪微博" src="http://www.sprityaoyao.org/content/templates/ljie/images/sina_share.gif" /><img id="imgQqShare" class="img_share& 阅读全文

posted @ 2012-01-12 17:02 kpbiao 阅读(263) 评论(0) 推荐(0) 编辑

不确定宽度的块级元素的水平居中三方法
摘要:<style>ul{list-style:none;margin:0;padding:0;}table{margin:0 auto;}.test li{float:left;display:inline;margin-right:5px;}.test a{float:left;width:20px;height:20px;text-align:center;line-height:20px;background:#316ac5;color:#fff;border:1px solid #316ac5;text-decoration:none;}.test a:hover{backgr 阅读全文

posted @ 2012-01-06 13:13 kpbiao 阅读(409) 评论(0) 推荐(0) 编辑

边栏 滚动
摘要:<script> $(function(){var _go = [0,1017,1556,2205,3090,3968,$(document).height()]; var $jumpbar = $("#jumpbar"), $window = $(window), offset = $jumpbar.offset(), topPadding = 100, jL = $("#jumpbar a").length; $(window).scroll( ... 阅读全文

posted @ 2012-01-04 18:24 kpbiao 阅读(280) 评论(1) 推荐(0) 编辑

界面设计速成(blueidea)
摘要: 阅读全文

posted @ 2012-01-04 14:16 kpbiao 阅读(203) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示