06 2013 档案
摘要:require(dirname(__FILE__).'/include/init.php');
阅读全文
摘要:将下代码{foreach from=$lang.p_y item=pv}{$pv}{/foreach}{$licensed}替换模板文件page_footer.lbi代码:{foreach from=$lang.p_y item=pv}{$pv}{/foreach}{$licensed}原理:重点在overflow:hidden ,隐藏,扩展:关于其他程序版权问题都可以用overflow去掉
阅读全文
摘要:css代码:td:first-child{border-right: 1px solid #d9dbdd; }备注:在下面的例子中,选择器匹配作为任何元素的第一个子元素的 p 元素:链接:http://www.w3cschool.cn/tdae7.html?f=csse_first-child_1
阅读全文
摘要:代码如下function in_scroll(){ liW=141;num = (".in−cyli").size();ulW = liW∗num; (".in−cyul").css("width",ulW); srollW=parseInt((".in-cy ul").css("left"))-liW−10;if(srollW < -$ulW+580){ $(".in-cy ul").animate({left: 0}); .
阅读全文
摘要:php时间:1368524732js代码:functiongetLocalTime(nS){returnnewDate(parseInt(nS)*1000).toLocaleString().replace(/:\d{1,2}$/,'');}alert(1368524732)输出:2013年5月15日上午10:39来源:http://www.cnblogs.com/sufei/archive/2012/12/03/2799480.htmlhttp://blog.csdn.net/wust_star/article/details/7672840
阅读全文
摘要:文章代码提示:如果这里没有 return ,会检测,但还会跳转到 action='xxx.php'目标页面。 这样就是去了检测意义js代码function check(){ if(form1.name.value ==""){ alert("用户名不能为空"); f...
阅读全文
摘要:1.<script type="text/javascript">var str="Is this all th05777-89856825ere is50577-456-?";var model = /\d{4}\-\d{7,8}/g;document.write(str.match(model));</script>输出结果5777-89856825备注:\d{4} 查找4位数字 \d 数字\d{7,8} 查找7-8位数字g 是全局匹配 扩展代码一:var str="Is this all th05888777-89
阅读全文
摘要:1.前台页面提交出现__NOLAYOUT__解决把法: 在Public 文件下找到success.html,error.html,exception.html 头部去掉就可以
阅读全文
摘要:Thinkphp 语言包丢失 造成的原因有那些1.复制模板 预览时内容出现英文状态 如:show.html解决:找到lang ,在zh-cn 复制想对应的文件包 改下名称就有可以 如:admin_orderl.php
阅读全文
摘要:日历插件来源网站:http://www.cnblogs.com/yank/archive/2008/08/14/1267746.html六款英文日历http://www.bobd.cn/design/web/effect/200910/35679.html可控制日期和时间:http://trentr...
阅读全文
摘要:图片错误加载<a href="{:U('User/Index/avatar')}"><img src="{$vo['avatar']}" width="60" height="60" onerror="this.src='./Public/Images/nophoto.gif'"></a>
阅读全文
摘要:这是在div上直接加连接<div class="in-more" onclick="window.open('http://www.baidu.com','_parent')"></div>
阅读全文
摘要:问题描述:首次启动并运行php文件 出现以下代码Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, admin@example.com and inform them of the time the error occurred, and anything you might have done that may have
阅读全文
摘要:ZendStudio 版本9.0.4第一步:安装完成软件第二步:下载破解文件ZendStudio9.0破解文件com.zend.php.core_9.0.0.201111081531.jarZendStudio9.0.1破解文件com.zend.php.core_9.0.1.201112141951.jarZendStudio9.0.2破解文件com.zend.php.core_9.0.2.201202240955.jarZendStudio9.0.3破解文件com.zend.php.core_9.0.3.201206251721.jarZendStudio9.0.4破解文件com.zend.
阅读全文
摘要:1.js获取表单值var val = document.getElementById("tel").valuealert(val);var val = document.getElementById("tel").valalert(val);var val = document.getElementById("tel").innerHTMLalert(val);2.
阅读全文
摘要:样式一: (function()$(".menuli").eq(1).css("background","url(../images/menu−bg.jpg)repeat−x"););样式二(document).ready(function(){ ('.menu li:eq(1)').attr('class','cur'); }) 相关(function(){$(".menu li a")[0].className='cur'})
阅读全文