[html]css限定文字行数

2020-8-14 写技术

以下给出样式,能够使文字限定显示两行,并且超出部分加省略号. overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;

阅读全文>>

标签: html

评论(0) 浏览(5238)

How to download ckplayer video

2019-4-1 写技术

There is a simple program by which you can download the ckplayer video. After create the list of download URL, copy it to download tools. After download aff of the files. Use the command to compare into a big file in windows: copy/b E:\temps\*.ts E:\temps\new.ts There is the...

阅读全文>>

标签: JS html

评论(0) 浏览(2661)

[html]Bootstrat dropdown menu while hover

2019-3-11 写技术

In order to display the dropdown menu while hover the nav, I add some scripts like this: function isMobile(){ if (navigator.userAgent.match(/Android/i) || navigator.userAgent.indexOf('iPhone') != -1 || navigator.userAgent.indexOf('iPod') != -1 || navigator.userAgent.indexOf('iPad') != -1) {...

阅读全文>>

标签: html

评论(0) 浏览(1159)

关键字过滤功能

2018-11-27 写技术

针对于大量营销评论,评论区已经增加了关键字过滤功能。

阅读全文>>

标签: html

评论(0) 浏览(1051)

[html]定时获取服务器时间和本地时间

2018-11-1 写技术

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" cont...

阅读全文>>

标签: html

评论(0) 浏览(1757)

[html]破解微信网页源码

2018-8-8 写技术

如果有的网页只能微信打开,而且需要授权,那么可以这么做: 1、使用Fiddler抓包工具; 2、使用电脑版微信打开网页;  3、查看抓包数据;

阅读全文>>

标签: html

评论(0) 浏览(1331)

[html]Dreamware中删除文档多余空行

2018-7-22 写技术

搜索 \r\n\s*\r\n 替换 \n

阅读全文>>

标签: html

评论(0) 浏览(1206)

[html]Thinkphp导致dreamweaver打开失败

2018-7-1 写技术

Public\Admin\js\codemirror\theme\ambiance.css 里面有一段描述背景图片的代码,采用了编码方式,引起dreamweaver崩溃,代码片段如下: .cm-s-ambiance .CodeMirror-gutters { background-image: url("data:image/png;base64,i...

阅读全文>>

标签: html

评论(0) 浏览(1182)

[html]浏览器模式的指定

2017-12-11 写技术

浏览器为了兼容新旧协议,分了不同模式,如Quick mode及Standars mode, 为了让自己的页面告诉浏览器用何种模式,可以在页头加上DTD,如 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  具体定议很多内容,我只简单标记下。

阅读全文>>

标签: html

评论(0) 浏览(1221)

[html]前端不刷新提交文件的方法

2017-10-24 写技术

想来想去,还是只能利用form来提交,除此之外,jquery似乎没法获得文件流。 <iframe id=id_iframe_scroller name=name_iframe_scroller src=HardUpdateState.cgi ></iframe> <FORM enctype=multipart/form-data method=POST action=/cgi-bin/response_UploadFile.cgi target=name_iframe_scroller > <input class="text" type...

阅读全文>>

标签: html

评论(0) 浏览(1269)

Powered by anycle 湘ICP备15001973号-1