摘要: text-overflow: ellipsis;多度剪切white-space: nowrap;禁止换行overflow: hidden;多余隐藏 阅读全文
posted @ 2016-06-29 11:09 MasterC 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 类似的形式,调用下级分类 ?php $bclassid=[!--self.classid--]; //选择当前栏目的id,如果调用指定栏目下的多级分类,则填写栏目id //取得本栏目下的子栏目 ? [e:loop={select classid, classname, classpath from 阅读全文
posted @ 2016-06-22 14:52 MasterC 阅读(4369) 评论(0) 推荐(0) 编辑
摘要: function stopBubble(e) { //如果提供了事件对象,则这是一个非IE浏览器 if ( e && e.stopPropagation ) //因此它支持W3C的stopPropagation()方法 e.stopPropagation(); else //否则,我们需要使用IE的方式来取消事件冒泡 window.event.can... 阅读全文
posted @ 2016-06-02 11:57 MasterC 阅读(282) 评论(0) 推荐(0) 编辑
摘要: <a href="javascript:void(0)" onclick="SetHome(this,window.location)">设为首页</a><a href="javascript:void(0)" onclick="shoucang(document.title,window.loca 阅读全文
posted @ 2016-04-19 16:23 MasterC 阅读(257) 评论(0) 推荐(0) 编辑
摘要: border-collapse: collapse; 合并多余边框 阅读全文
posted @ 2016-04-11 11:32 MasterC 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 图片延时加载 阅读全文
posted @ 2016-03-28 13:55 MasterC 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 模板防盗:<%if not in_sdcms then response.write("template load fail"):response.end() end if%> seo标题:{sdcms[webname]}{sdcms[seotitle]}seo关键词:{seokey}seo描述:{ 阅读全文
posted @ 2016-03-07 11:54 MasterC 阅读(6587) 评论(0) 推荐(1) 编辑
摘要: 引入这两个js <script src="{webroot}lib/validator/jquery.validator.js"></script><script src="{webroot}lib/tips/jquery.tips.js"></script> 提交页面插入下方JS<script> 阅读全文
posted @ 2016-03-07 11:39 MasterC 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 掌握点: 1、column-count 把div中的文本分为多少列 2、column-width 规定列宽 3、column-gap 规定列间隙 4、break-inside: avoid; ←在制作手机站瀑布流时候,会出现图片错乱,请使用这个属性:避免元素内部断行并产生新列; 注意: Intern 阅读全文
posted @ 2016-02-29 19:51 MasterC 阅读(1651) 评论(0) 推荐(0) 编辑
摘要: 相关标签 {$WAP['sitename']}标题 {list_url(3)} 调取栏目链接 {template "wap","header"}{template "wap","footer"} 调取详细信息 {pc:wap action="lists" typeid="3" num="10" or 阅读全文
posted @ 2016-02-26 11:31 MasterC 阅读(224) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示