摘要:
body,div ,p{ padding:0px; margin:0px } #content { padding:0px; margin:0px auto;/* 左右居中 上下为0*/ width:80%;/*宽为80% */ } #content .note { column-gap:20px; 阅读全文
摘要:
<style> .js_video_box{width:300px;height:200px;background-color:#666;} .js_video{width: 100%;height:100%;background-size: cover;background-position: c 阅读全文
摘要:
报错原因:play()方法属于DOM对象方法,$('#audio')为jquery对象 解决办法:将jquery对象转换为DOM对象首先打印jquery对象$('#audio') 两种转换方式将一个jQuery对象转换成DOM对象:[index]和.get(index);(1)jQuery对象是一个 阅读全文
摘要:
using (FileStream fsRead = new FileStream(path_file_video, FileMode.OpenOrCreate, FileAccess.Read)) { } 阅读全文
摘要:
适用的IIS版本:IIS 7.0, IIS 7.5, IIS 8.0 适用的Windows版本:Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 1、应用程序池(Application Pool)的设置: General 阅读全文
摘要:
var bb=webBrowser1.Document.GetElementById("tab-companyStaff"); bb.InvokeMember("click") '点击无效 bb.RaiseEvent("onclick") '点击无效 bb.InvokeMember("MouseDo 阅读全文
摘要:
垂直滚动条始终在RichTextBox的底部你需要设置HideSelection 为 false 并且用 AppendText来插入新数据例如richTextBox.AppendText("内容");让richTextBox2一直获取焦点则在促发事件的时候增加richTextBox2.Focus() 阅读全文
摘要:
最近发现个深坑,本地可以,发布到服务器报错 系统找不到指定的文件,这是由于服务器 IIS 和本地 IIS 默认配置不一致引起的,解决方案如下 修改服务器 IIS 该网站的应用程序池配置项:【加载用户配置文件】 改为 True 即可 阅读全文
摘要:
查询哪些服务器是主节点 GET /_cat/nodes?v 查询集群健康状态 GET /_cluster/health 设置索引同步频率,默认是1秒,同步快占用资源 PUT /bidding/_settings { "index" : { "refresh_interval" : "60s" } } 阅读全文