会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yewook
逝去的过往,就不要回头望
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2017年12月13日
js获取form元素,不使用id
摘要: <form method="post" name="form"> <input type="text" name="user" value="我的名字"/> <input type="password" name="pass" value=""/> <input type="submit" oncl
阅读全文
posted @ 2017-12-13 10:31 yewook
阅读(2069)
评论(0)
推荐(0)
2017年11月22日
事物回滚机制
摘要: 之前做了一个网站 但是没有用到事物回滚机制 问题以后肯定会暴露很多的 为了避免以后修改,估计要推翻,重新建议一个网站了 哭哭... 用PHP做事物回滚 1、关闭自动提交 $mysqli->autocommit(false); 2、利用影响行(affected_rows)判断是否语句执行成功 3、如果
阅读全文
posted @ 2017-11-22 16:35 yewook
阅读(442)
评论(0)
推荐(0)
2017年9月13日
ckplayer跨域调用
摘要: <script type="text/javascript" src="/ckplayer/ckplayer.js" charset="utf-8"></script> <div id="videoWrap"></div><script type="text/javascript">showPlay
阅读全文
posted @ 2017-09-13 21:36 yewook
阅读(2538)
评论(0)
推荐(0)
帝国移动pc站文章
摘要: 帝国建站的时候发现,如果在PC站发文章,那么移动站的文章正文无法显示... 搜索调试了很久,原来是要对config进行配置。 在移动站config.php文件,对 $ecms_config['sets']['txtpath']='D:/PC站路径/d/txt/'; //文本型数据存放目录
阅读全文
posted @ 2017-09-13 21:33 yewook
阅读(176)
评论(0)
推荐(0)
2017年7月14日
页面切换导航样式也随之改变
摘要: <ul id="nav"> <li ><a href="index.html">首页</a></li> <li ><a href="1.html">第一</a></li> <li ><a href="2.html">第二</a></li> <li ><a href="3.html">第三</a></
阅读全文
posted @ 2017-07-14 11:35 yewook
阅读(290)
评论(0)
推荐(0)
2017年6月19日
white-space: nowrap;
摘要: div是固定宽度,想要让a标签不折行 <div> <a href="#">测试</a><a href="#">测试</a><a href="#">测试</a><a href="#">测试</a><a href="#">测试</a><a href="#">测试</a><a href="#">测
阅读全文
posted @ 2017-06-19 17:12 yewook
阅读(181)
评论(0)
推荐(0)
2017年4月20日
鼠标hover时图片效果
摘要: <!DOCTYPE html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>image</title><style>div{ width: 200px; height: 150px;
阅读全文
posted @ 2017-04-20 10:49 yewook
阅读(243)
评论(0)
推荐(0)
2017年2月16日
监听浏览器滚动
摘要: <html> <body> <div style="height:0px;width:400px;background:rgba(88,116,178,0.6);overflow:hidden;" class="div3"></div> </body> </html> <script>window.
阅读全文
posted @ 2017-02-16 15:25 yewook
阅读(549)
评论(0)
推荐(0)
2017年2月11日
bootstrap图片轮播
摘要: <div class="carousel slide" id="myCarsousel" style="width:790px;"> <ol class="carousel-indicators"> <li data-target="#myCarsousel" data-side-to="0" cl
阅读全文
posted @ 2017-02-11 22:41 yewook
阅读(145)
评论(0)
推荐(0)
2017年2月6日
js数据类型
摘要: js五种基本类型:string,number,null,boolean,undefined. 一种引用类型:object 用typeof检测的数据类型:string,number,boolean,undefined,function NaN的特点:1.本身不相等 2.涉及任何关于NaN的操作都返回N
阅读全文
posted @ 2017-02-06 19:02 yewook
阅读(96)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告