摘要: <div class="wz-list">里边需要有html做好的Html代码样式</div> <script> var attrnew = <%=ImgTopList(617,"sort","new",1,1,"js",10,false,false,false)%>; var htmlnew =" 阅读全文
posted @ 2017-04-05 14:51 夏小夏吖 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 用JS判断value的值,既不会影响后台程序做功能,又可以兼容IE啦~~~ 阅读全文
posted @ 2017-03-29 10:46 夏小夏吖 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 兼容问题解决方案。 1、在做网站之前,先把下边三句meta加入页面。 <meta http-equiv="x-ua-compatible" content="IE=9" > <meta http-equiv="x-ua-compatible" content="IE=8" > <meta http- 阅读全文
posted @ 2017-03-27 09:55 夏小夏吖 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 聚闲堂跑胡子 应用名称:聚闲堂跑胡子 应... 阅读全文
posted @ 2017-02-13 23:46 夏小夏吖 阅读(4089) 评论(2) 推荐(1) 编辑
摘要: 在右边的样式: border-right: 1px solid #003c74; box-shadow: 1px 0px 0px #0264c1; 在下边的样式: border-bottom: 1px solid #9c9c9c; box-shadow: 0px 1px 0px #ffffff; 阅读全文
posted @ 2017-01-16 11:13 夏小夏吖 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 沿用同行思密达的方法整理了一下;前提是先引入iconfont字体图标(引用线上iconfont查看上篇随笔):比如&#xe7bb; 其中&#是开头用以标明这是字符实体,x表示这是十六进制,而CSS的content接受的也是16进制的Unicode编码,所以可以直接写 content: "\e7bb" 阅读全文
posted @ 2017-01-09 11:34 夏小夏吖 阅读(4558) 评论(0) 推荐(0) 编辑
摘要: 引入jquery.validate.js插件以及Jquery,在最后加上这个插件的方法名来引用。$('form').validate(); 像以上class中的类名,required是字段不能为空;email是需要符合邮件格式;url是需要符合网址格式(必须带http://),后边minlength 阅读全文
posted @ 2017-01-02 17:33 夏小夏吖 阅读(435) 评论(0) 推荐(0) 编辑
摘要: @font-face { font-family: 'iconfont'; /* project id 41366 */ src: url('http://at.alicdn.com/t/font_2uv0mkcc0vfxyldi.eot'); src: url('http://at.alicdn. 阅读全文
posted @ 2017-01-02 09:48 夏小夏吖 阅读(867) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css"> .box{ width:50%; max-height: 500px; overflow: hidden; } .box img{ height: 500px; transition: all 1s ease 0s; -ms-transition: a 阅读全文
posted @ 2016-12-30 17:09 夏小夏吖 阅读(280) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css"> .btn{ padding:15px 40px; background: red; border-style: none; color:white; font-size: 16px; cursor: pointer; transition: all 1 阅读全文
posted @ 2016-12-30 16:42 夏小夏吖 阅读(996) 评论(0) 推荐(0) 编辑