摘要: 网页开发要面对各种各样的浏览器,让人很头疼,而移动开发中,你不但要面对浏览器,还要面对各种版本的手机,iOS好一点,而安卓就五花八门了,你可能在开发中也被它们折磨过,或者正在被它们折磨,我在这里说几个我在开发中遇到的比较难缠问题,和解决方案,给其他朋友提个醒,因为一旦碰到了这些bug,虽然解决方法不 阅读全文
posted @ 2016-06-03 11:40 蔡云云 阅读(235) 评论(0) 推荐(0) 编辑
摘要: $(window).bind("orientationchange", function (event) { if (event.orientation) { //portrait 竖屏 landscape 横屏 if (event.orientation == 'por... 阅读全文
posted @ 2016-06-03 11:28 蔡云云 阅读(634) 评论(0) 推荐(0) 编辑
摘要: var t1 = null; function btnSave() { if (t1 == null) { t1 = new Date().getTime(); } else { var t2 = new Date().getTime(); if (t2 - t1 < 500) { t1 = t2; return; } else { t1 = t2; } } //写自动代码 } 阅读全文
posted @ 2016-06-03 11:20 蔡云云 阅读(2048) 评论(0) 推荐(0) 编辑
摘要: 1.设定外层div在屏幕中的高度。 2.设置div刷新style="-webkit-overflow-scrolling: touch; overflow: scroll“ 阅读全文
posted @ 2016-06-03 11:13 蔡云云 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: canvas外层的div需要设定属性style="overflow:visible;-webkit-transform: translateZ(0); 阅读全文
posted @ 2016-06-03 11:11 蔡云云 阅读(825) 评论(0) 推荐(0) 编辑
摘要: TOWebViewController 插件 NSURL *url =[NSURL URLWithString:@"http://192.168.1.134:8180/Home/IndexPhone"]; TOWebViewController *webViewController = [[T... 阅读全文
posted @ 2015-03-04 14:20 蔡云云 阅读(1193) 评论(0) 推荐(0) 编辑
摘要: create proc [dbo].[Proc_RS_VRDPAC_MRC1_SelectPassCountByYearMonthtest] @month varchar(100) asdeclare @m as int, @sql as nvarchar(1000),@n as int ,@id ... 阅读全文
posted @ 2014-05-30 14:10 蔡云云 阅读(1324) 评论(0) 推荐(0) 编辑
摘要: 前台:function readygo(v) { $.ajax({ type: "post", contentType: "application/json", data: "{ v: ''}", url: "页面/t", dataType: "json", success: function (data) { if (data.d != "") { } } }); }后台:[WebMethod] public static string t(string v 阅读全文
posted @ 2014-01-02 11:59 蔡云云 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 前台:<Window x:Class="WpfApplication1.Window3" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="媒体播放器" Height="500" Width="800" Loaded="Window_Loaded" 阅读全文
posted @ 2013-05-23 10:17 蔡云云 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 跟着鼠标走动的图片评分 阅读全文
posted @ 2013-04-22 17:07 蔡云云 阅读(171) 评论(0) 推荐(0) 编辑