07 2017 档案

后台订阅前台无刷新显示
摘要:后台 //创建客户端实例 MqttClient client = new MqttClient(IPAddress.Parse(mqttcon.addressip)); client.MqttMsgPublishReceived += client_MqttMsgPublishReceived; s 阅读全文

posted @ 2017-07-27 15:12 A欣

用js实现关闭页面后台事件
摘要:前台代码: window._onbeforeunload = function(){ $('txtrefchild').click(); return true;} 后代代码: protected void txtrefchild_Click(object sender, EventArgs e){ 阅读全文

posted @ 2017-07-27 11:41 A欣

bootstrap使用iframe
摘要:<!-- 16:9 aspect ratio --> <div class="embed-responsive embed-responsive-16by9"> <iframe id ="mframe" class="embed-responsive-item" src=""></iframe> < 阅读全文

posted @ 2017-07-20 13:59 A欣

主界面用js url传值到iframe 后台接收
摘要:主界面 function OnladNo(No) { $('iframe').attr('src', 'PageContext.aspx?id='+No); } iframe界面 string NO = Request.QueryString["id"].ToString(); 阅读全文

posted @ 2017-07-20 10:57 A欣 阅读(1322) 评论(0) 推荐(0)

iframe自适应子界面高度
摘要:<iframe src ="" id="iframe" width="100%" onload="changeFrameHeight()" scrolling="no" frameborder="0"></iframe> function changeFrameHeight() { var ifm 阅读全文

posted @ 2017-07-20 10:38 A欣

导航