去除广告并且进入视频是默认暂停:<embedsrc="http://static.youku.com/v/swf/qplayer.swf?VideoIDS=你的视频ID=&isAutoPlay=false&isShowRelatedVideo=false&embedid=-&showAd=0"allowFullScreen="true"quality="high"width="100%"height="650"align="midd..
分类:
Web程序 时间:
2016-05-06 19:54:08
阅读次数:
286
腾讯视频的生成代码:<iframeclass="video_iframe"style="z-index:1;width:100%!important;height:650.5px!important;overflow:hidden;"height="650.5"width="100%"frameborder="0"data-src="http://v.qq.com/iframe/player.html?vid=你的视频ID&width=100%25&a..
分类:
Web程序 时间:
2016-05-06 19:53:08
阅读次数:
1275
在根目录下面的404页面,设置图片路径应为相对路径,例如:.page404.cont404{width:745px;height:380px;
background:url(/404/404.gif)lefttopno-repeat;position:absolute;
left:50%;top:50%;margin-left:-372px;margin-top:-190px;}加入绝对路径:background:url(/404/404.gi..
分类:
其他好文 时间:
2016-05-06 19:47:00
阅读次数:
158
在网上查了好多资料,大致都雷同,大家都是互相抄袭的,看着很费劲,不好理解,自己总结一下,留着需要看的话来查找。代码中的例子如下
ImageView
android:id="@+id/iv_bit_1"
android:layout_width="@dimen/passcode_width"
android:layout_...
分类:
移动开发 时间:
2016-05-06 15:45:53
阅读次数:
161
index.html实现代码
task-32
* {
margin: 0;
padding: 0;
}
table {
position:relative;
margin: 30px;
width: 1200px;
}
table td {
position: relative;
vertical-align: top;
paddin...
分类:
其他好文 时间:
2016-05-06 12:42:59
阅读次数:
224
contentSize 属于CGSize类型,CGSizeMake(width,height),宽度决定了UIScrollView滚动的水平距离,height决定了UIScrollView滚动的纵向距离,contenSize属性如果不设置值那么不能滚动视图 //设置一个UIScrollView UI ...
分类:
移动开发 时间:
2016-05-06 08:11:16
阅读次数:
186
1str自带函数格式化输出rjust()ljust()center()zfill()zfill是补齐零介绍:rjust(...)S.rjust(width[,fillchar])->string给字符串格式化输出,对字符串本身不做处理,只是返回一个格式化过的字符串,可以指定字符串宽度,并且指定填充的字符,默认填充空格!作用:对齐输出举..
分类:
其他好文 时间:
2016-05-06 02:20:00
阅读次数:
167
awk的-F参数可以指定新的记录分隔符,有些时候可能需求指定多个分隔符,比如下面的内容width:720height:360如果需要取出width和height后面的值的话,一般大家会这样做,即做两次awk操作#echo"width:720height:360"|awk‘{print$1;print$2}‘|awk-F:‘{print$2}‘
720
360其实呢,通..
分类:
其他好文 时间:
2016-05-05 22:54:12
阅读次数:
342
本文我们实现纯JS方式的滚动广告效果。 先show一下成品: 首先是网页样式: 1. #demo { 2. background: #FFF; 3. overflow:hidden; 4. border: 1px dashed #CCC; 5. width: 1280px; 6. height:20 ...
分类:
Web程序 时间:
2016-05-05 22:22:08
阅读次数:
220
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>时间版运动框架</title> <style type="text/css"> *{margin: 0px;padding: 0px;} #box{ width: 100px; he ...
分类:
其他好文 时间:
2016-05-05 19:13:44
阅读次数:
123