摘要:
图片外层元素添加下方属性 display: table-cell; vertical-align: middle; 阅读全文
摘要:
$(".fix_nav span").click(function(){ //点击事件触发 $(this).addClass("cur").siblings().removeClass("cur"); var Index = $(this).index()+1; ... 阅读全文
摘要:
header("Content-type: text/html; charset=utf-8"); function getCity($ip = '')//获取地区 { if($ip == ''){ $url = "http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json";//新浪借口获取访问者地... 阅读全文
摘要:
body添加 <body onload="showImg()"> 阅读全文
摘要:
http://edu.51cto.com/roadmap/view/id-95.html 阅读全文
摘要:
邮箱需要开启 SMTP服务器 phpcms 后台》设置 > 相关设置 > 基本设置 >邮箱配置 邮件发送模式: SMTP 函数发送 邮件服务器:smtp.163.com 邮件发送端口:25 发件人地址: test123@163.com AUTH LOGIN验证:开启 验证用户名: test123@1 阅读全文
摘要:
1、反馈表单的提交后跳转页: 在表单中加入: <input name="bid" type="hidden" value="2"> //这个是你反馈信息的分类ID(没有的话在FF等非IE浏览器不能提交) <input name="ecmsfrom" type="hidden" value="跳转地址 阅读全文
摘要:
/*{slide:滚动主体 ,li:单个元素: ,img:元素内图片 ,nav: 点击按钮,sudu:速度}*/function slide(arr){var mybody=document.documentElement|| document.body;var mywidth=0;var slid 阅读全文
摘要:
[e:loop={"select * from `[!db.pre!]enewsclass` where bclassid='12' order by `myorder` asc ",4,24,0,0,0}] 查询所有字段信息 <div> <a href="<?=$bqr['classpath']? 阅读全文