会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
谢小锋
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
7
8
9
10
11
12
13
14
15
16
下一页
2015年6月19日
关闭程序
摘要: -(void)close{ [UIView animateWithDuration:1.0f animations:^{ self.view. window.alpha = 0; self.view.window.frame = CGRectMake( self.view.window.bound...
阅读全文
posted @ 2015-06-19 15:10 谢小锋
阅读(174)
评论(0)
推荐(0)
2015年6月15日
归档
摘要: NSArray* array=@[@"ze",@"feng",@"xie"]; NSString * path =[NSHomeDirectory() stringByAppendingPathComponent:@"array.plist"]; BOOL isSuccess=[NSKeyedAr...
阅读全文
posted @ 2015-06-15 10:51 谢小锋
阅读(191)
评论(0)
推荐(0)
2015年6月8日
NSUserDefaults
摘要: [[NSUserDefaults standardUserDefaults]setObject:@"32" forKey:@"3323"]; NSLog(@"%@",NSHomeDirectory()); [[NSUserDefaults standardUserDefaults] synchro...
阅读全文
posted @ 2015-06-08 10:19 谢小锋
阅读(143)
评论(0)
推荐(0)
2015年5月20日
js math对象
摘要: Math对象 执行常见的算数任务 常用方法 round()四舍五入 random()返回0~1之间的随机数 max():返回最高值 min():返回中的最低值 abs():返回绝对值--> <script>// document.write(Math.round(2.3)); document.wr
阅读全文
posted @ 2015-05-20 00:44 谢小锋
阅读(110)
评论(0)
推荐(0)
js 数组对象
摘要:
阅读全文
posted @ 2015-05-20 00:37 谢小锋
阅读(106)
评论(0)
推荐(0)
js date 日期
摘要: // getFullYear():获得年份// getTime():获得年份// setFullYear():获得年份// getDay():获得星期// var date=new Dat...
阅读全文
posted @ 2015-05-20 00:21 谢小锋
阅读(169)
评论(0)
推荐(0)
2015年5月19日
js 字符串
摘要: 1 。string 对象可以处理已有的字符窜对象// 字符串可以用单引号或双引号// 2。字符串中查找字符串:indexof() var str1 ="hello world"; //字符串所在位置 不存在返回...
阅读全文
posted @ 2015-05-19 22:13 谢小锋
阅读(111)
评论(0)
推荐(0)
js 对象
摘要: // 1// people=new Object();// people.name="zefeng";// people.age="24";// people.old="young...
阅读全文
posted @ 2015-05-19 22:12 谢小锋
阅读(110)
评论(0)
推荐(0)
2015年5月18日
js 事件处理
摘要: -->
阅读全文
posted @ 2015-05-18 16:58 谢小锋
阅读(111)
评论(0)
推荐(0)
oncopy和onpaste 对输入框复制与粘贴的限制
摘要: 使用场景:网银转账时,输入对方卡号,需要输入两次,通常第二次输入的输入框是不允许粘贴的,这样就在一定程度上保证了卡号的准确性。使用场景:很多网站上的页面内容是不允许复制的,这样可以防止用户或者程序恶意的去抓取页面数据。以前的起点阅读小说时,就是不允许复制内容,现在更狠,把左键选择内容和右键菜单也都屏...
阅读全文
posted @ 2015-05-18 11:38 谢小锋
阅读(353)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
16
下一页
公告