断弯刀

导航

随笔分类 -  前端

包括:html、css、JavaScript、jQuery 等等
富文本编辑器 kindeditor
摘要:下载 在页面中添加JS代码,用于初始化kindeditor 阅读全文

posted @ 2018-11-25 13:01 断弯刀 阅读(263) 评论(0) 推荐(0)

分页总结
摘要:品优购中,前端接收数据:总记录数(数字值),需要的当前页的数据记录。 发送数据:当前页页码(就是要看的那一页的页码),每页的记录数量(要看的那一页的需要的数据条数)。 思考:前端需要总记录数量来分页,因为前端可以选择每页有几条记录数量,需要知道总记录数。 然后需要接收到要展示的那一页的数据。 发送给 阅读全文

posted @ 2018-11-18 10:07 断弯刀 阅读(237) 评论(0) 推荐(0)

$event Object angularjs
摘要:You can pass the $event object as an argument when calling the function. The $event object contains the browser's event object: 阅读全文

posted @ 2018-11-17 17:47 断弯刀 阅读(174) 评论(0) 推荐(0)

js数组方法大全
摘要:JavaScript中创建数组有两种方式 (一)使用 Array 构造函数: (二)使用数组字面量表示法: 数组的方法有数组原型方法,也有从object对象继承来的方法,这里我们只介绍数组的原型方法,数组原型方法主要有以下这些: join()push()和pop()shift() 和 unshift 阅读全文

posted @ 2018-11-17 17:41 断弯刀 阅读(150) 评论(0) 推荐(0)

el表达式
摘要:不被禁用 <%@page isELIgnored="false" %> El表达式判断是否为空字符串 逻辑运算符 &&或and、||或or、!或not 关系运算符 ==或eq、!=或ne、<或lt、>或gt、<=或le、>=或ge 阅读全文

posted @ 2018-10-26 21:00 断弯刀 阅读(153) 评论(0) 推荐(0)

html页面跳转
摘要:button 单击提交表单 阅读全文

posted @ 2018-10-26 12:43 断弯刀 阅读(273) 评论(0) 推荐(0)

自定义博客样式
摘要:页面定制CSS代码 页脚Html代码 标题优先使用h2,子标题h3 ,图片400px左右 几种比较和谐的文字背景颜色搭配 阅读全文

posted @ 2018-10-16 16:39 断弯刀 阅读(191) 评论(0) 推荐(0)

css给文字加下划线
摘要:语法:linear-gradient(direction, color-stop 1, color-stop 2,……) 简单用法:background-image: linear-gradient(red, transparent); 增加角度,linear-gradient(45deg, red 阅读全文

posted @ 2018-10-16 11:04 断弯刀 阅读(3245) 评论(0) 推荐(0)

富文本编辑器-UEditor
摘要:官方网址:http://ueditor.baidu.com/website/index.html 下载地址:http://ueditor.baidu.com/website/download.html 1.在使用页面正确导入UEditor的js文件 在这里要注意,config.js文件应该在前。 2 阅读全文

posted @ 2018-09-15 10:56 断弯刀 阅读(3353) 评论(0) 推荐(0)

根据class操作div显示与隐藏
摘要:测试 $(function(){ var otherComment = document.getElementsByClassName("otherComment");//获取到的是一个类数组 for(var i=0;i<otherComment.lengt... 阅读全文

posted @ 2018-09-07 10:59 断弯刀 阅读(5661) 评论(0) 推荐(1)

js总结001
摘要:JSTL 表达式与 EL 语言 http://leon906998248.iteye.com/blog/1502569 2 jquery中$each()方法的使用指南 http://www.jb51.net/article/65215.htm 3 filename=new String(filena 阅读全文

posted @ 2018-03-12 08:48 断弯刀 阅读(244) 评论(0) 推荐(0)