05 2015 档案

摘要:Math对象 执行常见的算数任务 常用方法 round()四舍五入 random()返回0~1之间的随机数 max():返回最高值 min():返回中的最低值 abs():返回绝对值--> <script>// document.write(Math.round(2.3)); document.wr 阅读全文
posted @ 2015-05-20 00:44 谢小锋 阅读(108) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-05-20 00:37 谢小锋 阅读(103) 评论(0) 推荐(0)
摘要:// getFullYear():获得年份// getTime():获得年份// setFullYear():获得年份// getDay():获得星期// var date=new Dat... 阅读全文
posted @ 2015-05-20 00:21 谢小锋 阅读(168) 评论(0) 推荐(0)
摘要:1 。string 对象可以处理已有的字符窜对象// 字符串可以用单引号或双引号// 2。字符串中查找字符串:indexof() var str1 ="hello world"; //字符串所在位置 不存在返回... 阅读全文
posted @ 2015-05-19 22:13 谢小锋 阅读(109) 评论(0) 推荐(0)
摘要:// 1// people=new Object();// people.name="zefeng";// people.age="24";// people.old="young... 阅读全文
posted @ 2015-05-19 22:12 谢小锋 阅读(109) 评论(0) 推荐(0)
摘要:--> 阅读全文
posted @ 2015-05-18 16:58 谢小锋 阅读(111) 评论(0) 推荐(0)
摘要:使用场景:网银转账时,输入对方卡号,需要输入两次,通常第二次输入的输入框是不允许粘贴的,这样就在一定程度上保证了卡号的准确性。使用场景:很多网站上的页面内容是不允许复制的,这样可以防止用户或者程序恶意的去抓取页面数据。以前的起点阅读小说时,就是不允许复制内容,现在更狠,把左键选择内容和右键菜单也都屏... 阅读全文
posted @ 2015-05-18 11:38 谢小锋 阅读(352) 评论(0) 推荐(0)
摘要:◆ 文本输入框:type="text" (H2+/e2+/N2+)输入普通的文本。帐号:◆ 密码输入框:type="password" (H2+/e2+/N2+)输入密码专用,输入的文字都会显示为星号(*)。密码:◆ 提交文件按钮:type="file" (H2+/e2+/N2+)上传文件用。上传文... 阅读全文
posted @ 2015-05-18 11:20 谢小锋 阅读(1731) 评论(0) 推荐(0)
摘要:initial-scale初始缩放。即页面初始缩放程度。这是一个浮点值,是页面大小的一个乘数。例如,如果你设置初始缩放为“1.0”,那么,web页面在展现的时候就会以target density分辨率的1:1来展现。如果你设置为“2.0”,那么这个页面就会放大为2倍。maximum-scale最大... 阅读全文
posted @ 2015-05-18 11:09 谢小锋 阅读(178) 评论(0) 推荐(0)
摘要:format-detection翻译成中文的意思是“格式检测”,顾名思义,它是用来检测html里的一些格式的,那关于meta的format-detection属性主要是有以下几个设置:metaname="format-detection"content="telephone=no"metaname=... 阅读全文
posted @ 2015-05-18 10:52 谢小锋 阅读(160) 评论(0) 推荐(0)
摘要:onClick 单击事件 onMouseOver 鼠标经过事件 onMouseOut 鼠标移出事件 onChange 文本内容改变事件 onSelect 文本框选择事件 onFocus 光标聚集事件 onBlur 移... 阅读全文
posted @ 2015-05-17 11:42 谢小锋 阅读(180) 评论(0) 推荐(0)
摘要:--> 阅读全文
posted @ 2015-05-17 10:46 谢小锋 阅读(291) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-05-16 09:22 谢小锋 阅读(414) 评论(0) 推荐(0)
摘要:= i=10 j=10 ;i+j=? 结果 阅读全文
posted @ 2015-05-15 14:56 谢小锋 阅读(321) 评论(0) 推荐(0)
摘要:hello 阅读全文
posted @ 2015-05-15 14:21 谢小锋 阅读(129) 评论(0) 推荐(0)
摘要:css3的动画需要遵循@keyframes规制 动画效果div{ width: 100px; height: 100px; background: red;/* 相对布局*/ position: relative; animation: anim 5... 阅读全文
posted @ 2015-05-14 22:48 谢小锋 阅读(704) 评论(0) 推荐(0)
摘要:效果涨势div{ width: 100px; height: 100px; background-color: red;}.div22{ transform: translate(100px.100px);/* safari chrome*/ -webk... 阅读全文
posted @ 2015-05-14 21:10 谢小锋 阅读(186) 评论(0) 推荐(0)
摘要:8888888 8888888 ... 阅读全文
posted @ 2015-05-13 16:30 谢小锋 阅读(192) 评论(0) 推荐(0)
摘要:helllo helllo helllo ul{list-style-type: none; padding: 0px; background-co... 阅读全文
posted @ 2015-05-13 16:11 谢小锋 阅读(132) 评论(0) 推荐(0)
摘要:分类 cursor 规定当指向某元素之上时显示的指针类型 dispaly 设置是否及如何显示元素 visibility 设置元素是否可见或不可见 position 把元素放置到一个静态的相对的绝对的固定的位置 ... 阅读全文
posted @ 2015-05-13 14:39 谢小锋 阅读(375) 评论(0) 推荐(0)
摘要:元素选择器 h1 h2 class div====class this is web page this is web page this is web page ... 阅读全文
posted @ 2015-05-12 17:15 谢小锋 阅读(120) 评论(0) 推荐(0)
摘要:元素选择器 h1 h2 class div====class this is web page this is web page this is web page ... 阅读全文
posted @ 2015-05-12 17:15 谢小锋 阅读(110) 评论(0) 推荐(0)
摘要:CSS 文件#fd{ width: 50px; height: 50px; background-color: red; float: left;}#sd{ width: 1... 阅读全文
posted @ 2015-05-12 16:14 谢小锋 阅读(136) 评论(0) 推荐(0)
摘要:position 把元素放在一个静态的,相对的 绝对的 或者固定的位置中 top 元素向上的偏移量 left 元素向左的偏移量 right 元素向右的偏移量 bottom 元素向下的偏移量 overflow 设置元素溢出其区域发生... 阅读全文
posted @ 2015-05-12 14:54 谢小锋 阅读(143) 评论(0) 推荐(0)
摘要:CSS 文件/* *通配符 对所有的标签进行设置*/*{ margin: 0px; padding: 0px;}.top{ width: 100%; height: 50px; background-color: black;}.top_content{ widt... 阅读全文
posted @ 2015-05-12 14:14 谢小锋 阅读(2759) 评论(0) 推荐(0)
摘要:hello ... 阅读全文
posted @ 2015-05-12 11:26 谢小锋 阅读(347) 评论(0) 推荐(0)
摘要:margin 外边距border 边框padding 内边距content 内容td{/* 边框的样式*//* border-style: groove;*/ 边框的单边样式 border-top-style: groove; border-right-colo... 阅读全文
posted @ 2015-05-11 23:17 谢小锋 阅读(333) 评论(0) 推荐(0)
摘要:p{/* 轮廓效果*/ outline-style: double; outline-color: aqua; outline-width: 11px;} 阅读全文
posted @ 2015-05-11 17:15 谢小锋 阅读(455) 评论(0) 推荐(0)
摘要:ul li{list-style: armenian;样式 list-style-image: url(picture.jpg);图片 list-style-position: inside; list-style-position: outside;} 阅读全文
posted @ 2015-05-11 16:34 谢小锋 阅读(100) 评论(0) 推荐(0)
摘要:a:link{ color: red; text-decoration: none; background-color: red;}a:visited{ color: green;}a:hover{ color: blue;}a:active{ color: yello... 阅读全文
posted @ 2015-05-11 16:25 谢小锋 阅读(108) 评论(0) 推荐(0)
摘要:body{/* background-attachment: fixed;*//* 背景图片是否固定或者随着页面的其余部分滚动*//* background-image;*//* 背景图片*//* background-position: bottom;*... 阅读全文
posted @ 2015-05-11 15:48 谢小锋 阅读(169) 评论(0) 推荐(0)
摘要:body{/* background-attachment: fixed;*//* 背景图片是否固定或者随着页面的其余部分滚动*//* background-image;*//* 背景图片*//* background-position: bottom;*... 阅读全文
posted @ 2015-05-11 14:42 谢小锋 阅读(567) 评论(0) 推荐(0)
摘要:new.css/*选择器分组*/h1,h2,h3{ color: orange; font-size: 21px;}h1{/* 如果值大于1个单词,需要加上引号*//* 属性大于1个之后,属性之间用分号隔开*/ font-size: 14px; color: red... 阅读全文
posted @ 2015-05-11 11:36 谢小锋 阅读(276) 评论(0) 推荐(0)
摘要:用户名: 密码: 你喜欢的水果 苹果 西红柿 香蕉 请选择性别 男 女 ... 阅读全文
posted @ 2015-05-10 17:26 谢小锋 阅读(119) 评论(0) 推荐(0)
摘要:头部 内容菜单 内容主体 底部 使用table 这是头部 内容菜单 内容主体 ... 阅读全文
posted @ 2015-05-09 17:49 谢小锋 阅读(218) 评论(0) 推荐(0)
摘要:整个表表头 1 2 3 单元格1 单元格2 单元格3 ... 阅读全文
posted @ 2015-05-09 17:03 谢小锋 阅读(186) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="utf-8"> </head><body> <a href="index.html">文字链接</a> <a href="http://www.jikexueyuan.com/course/13 阅读全文
posted @ 2015-05-09 16:36 谢小锋 阅读(160) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="new.css"><!-- rel 外部引用资源 type 指定类型css href n 阅读全文
posted @ 2015-05-09 15:25 谢小锋 阅读(130) 评论(0) 推荐(0)
摘要:<!DOCTYPE html>//标记html5<html><head lang="en">//语言 <meta charset="utf-8">//编码方式 </head><body> <b> 加粗标签</b><br/> <em>定义着重</em><br/> <i>倾斜</i><br/> <sma 阅读全文
posted @ 2015-05-09 15:09 谢小锋 阅读(191) 评论(0) 推荐(0)
摘要:  阅读全文
posted @ 2015-05-06 16:03 谢小锋 阅读(177) 评论(1) 推荐(0)
摘要:iphone:3.5英寸 : 640x9604 英寸 : 640 x 11364.7英寸 : 750 x 13345.5英寸 : 1242x2208ipad:1536 x 2048ipod 竖屏:1536 x 2048横屏 :2048 x 1536 阅读全文
posted @ 2015-05-06 15:46 谢小锋 阅读(596) 评论(0) 推荐(0)
摘要:删除之前在设备上安装的app就好了,估计问题应该是上一次的证书跟现在的证书不一致导致。http://www.360doc.com/content/13/1224/09/14615320_339677793.shtml 阅读全文
posted @ 2015-05-04 15:22 谢小锋 阅读(279) 评论(0) 推荐(0)
摘要:#import "ViewController.h" @interface ViewController ()<NSURLConnectionDataDelegate,NSURLConnectionDelegate> { NSMutableData * myImageData; int num; } 阅读全文
posted @ 2015-05-02 15:17 谢小锋 阅读(264) 评论(0) 推荐(0)
摘要:当用户输入不仅仅是布尔值时,可使用分段控件(UISegmentedControl)。分段控件提供一栏按钮(有时称为按钮栏),但只能激活其中一个按钮。分段控件会导致用户在屏幕上看到的内容发生变化。它们常用于在不同类别的信息之间选择,或在不同的应用屏幕之间切换。下面介绍基本属性和基本方法的使用。NSAr... 阅读全文
posted @ 2015-05-02 11:38 谢小锋 阅读(283) 评论(0) 推荐(0)