①text-overflow:他设置值为ellipsis的意思为,超出部分不显示并且出现省略号,该属性需要overflow:hidden;这个设置为前置支持; 而一旦加上white-space:nowrap;代表一行显示且不换行; ②Word-warp:break-Word;只针对英文字母,超出范围 ...
分类:
其他好文 时间:
2017-06-18 18:59:36
阅读次数:
134
Android中调用系统相机的api接口在android.hardware包中。包里面类主要用到了Camera类。该类里面包含几个内部类:Camera.Parameters、Camera.CameraInfo、Camera.PictureCallback。 Camera.Parameters是通过C ...
分类:
移动开发 时间:
2017-06-18 18:15:52
阅读次数:
149
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>js练习 js是脚本语言直接运行在浏览器上的。</title> <script type="text/javascript"> function addpic(){ ...
分类:
其他好文 时间:
2017-06-18 18:14:31
阅读次数:
144
<style> *{margin:0;padding:0;} body{text-align:center;background:#000000;color:#FFFFFF;} h1{margin:30px;font-weight:bold;} hr{margin:30px;} #Bos{width ...
分类:
其他好文 时间:
2017-06-18 17:28:00
阅读次数:
147
原生JS :原生态js是指遵循ECMAscript标准的javascript,不同于微软的jscript也不依赖于任何框架,依托于浏览器标准引擎的脚本语言,jquery是在原生态的js上集成的框架资源,使用jquery并不代表代码就不是你写的,区别在于使用jquery只是使用了它的语法,更利于兼容以 ...
分类:
其他好文 时间:
2017-06-18 16:51:30
阅读次数:
234
<style> *{margin:0;padding:0;} body{text-align:center;background:#000000;color:#FFFFFF;} h1{margin:30px;font-weight:bold;} hr{margin:30px;} #Bos{width ...
分类:
其他好文 时间:
2017-06-18 16:51:22
阅读次数:
189
场景有三种: 1:在网络延迟的情况下让用户有时间点击多次submit导致重复提交 2:表单提交后点击“刷新”按钮导致重复提交 3:提交后,点击浏览器的后退然后再次提交 解决的思路有常用的几种: 1、通过JS,提交表单之后将按钮设置为不可用。 <script type="text/javascript ...
分类:
其他好文 时间:
2017-06-18 15:50:14
阅读次数:
157
Thinking in States Niclas Nilsson PEOPLE IN THE REAL WORLD HAVE A WEIRD RELATIONSHIP WITH STATE. This morning, I stopped by the local store to prepare ...
分类:
其他好文 时间:
2017-06-18 15:12:21
阅读次数:
150
zTree实现多选树 1、实现源代码 <!DOCTYPE html> <html> <head> <title>多选树</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="sty ...
分类:
其他好文 时间:
2017-06-18 15:08:03
阅读次数:
134
表单:<input type="text" name="" value="" size="显示字符数" maxlength="最多字符数" readonly="readonly只读" disabled="disabled"不可操作未激活 placeholder="Search W3School"> ...
分类:
Web程序 时间:
2017-06-18 15:06:26
阅读次数:
267