<!DOCTYPE?html>
<html>
<head>
<meta?charset="UTF-8">
<title>angular.js</title>
<script?type="text/javascript"?src="./js/script.js"></script>
<!--<script?type="text/javascript"?src="./js/a...
分类:
Web程序 时间:
2014-11-10 12:14:53
阅读次数:
554
javascript之抓美女2014/11/821:36:31来源燕十八的javascript视频2014年版代码</style>
img{
width:130px;
height:130px;
postition:relative;
left:0px;
top:0px;
}
</style><body>
<imgsrc="./mn.png"all=""/>
</body><script>
document..
分类:
编程语言 时间:
2014-11-09 18:11:39
阅读次数:
243
这是Android系统来运行updater-scripts的Edify语言的基本介绍。大部分的Edify命名都是函数,当调用这些函数结束的时候,会返回数据给脚本。当然,你也可以使用这些函数的返回值来确认成功与否,例如:ifelse(mount("yaffs2","MTD","system","/sy...
分类:
移动开发 时间:
2014-11-09 15:07:04
阅读次数:
301
目前update-script脚本格式是edify,其与amend有何区别,暂不讨论,我们只分析其中主要的语法,以及脚本的流程控制。一、update-script脚本语法简介: 我们顺着所生成的脚本来看其中主要涉及的语法。 1.assert(condition):如果condition参数的...
分类:
移动开发 时间:
2014-11-09 15:04:03
阅读次数:
448
for(var?i=0,tags=document.querySelectorAll(‘iframe[src],frame[src],script[src],link[rel=stylesheet],object[data],embed[src]‘),tag;tag=tags[i];i++){
????var?a?=?document.createElement(‘a‘);
...
分类:
Web程序 时间:
2014-11-08 16:54:55
阅读次数:
365
JavaScript无非就是script标签引入页面,但当项目越来越大的时候,单页面引入N个js显然不行,合并为单个文件减少了请求数,但请求的文件体积却很大。这时候最好的做法就是按需引入,动态引入组件js和样式,文件load完成后调用callback,运行js。代码还是很简便的。塔河县臧清机械1. ...
分类:
Web程序 时间:
2014-11-08 15:00:50
阅读次数:
228
Text-processing tools like awk and sed allow you to automatically perform a sequence of editing operations based on a script. For this problem we consider the specific case in which we want to
perfo...
分类:
其他好文 时间:
2014-11-08 07:07:41
阅读次数:
215
今天维护一台很老的浪潮服务器配置如下intel5100主板xeon3.4g2gddr2*4raid5centos7准备配置网桥在network-scripts目录新建ifcfg-br0文件按照教程将网卡enp7s0配置复制并在enp7s0(下文简称s0)添加BRIDGE重启网络服务systemctlrestartnetwork(centos7使用新的方式)连接中断用..
分类:
其他好文 时间:
2014-11-08 02:15:13
阅读次数:
502
- (void)webViewDidFinishLoad:(UIWebView *)webView{ [webView stringByEvaluatingJavaScriptFromString: @"var script = document.createElement('script');.....
分类:
Web程序 时间:
2014-11-07 16:36:39
阅读次数:
129
<html>
<head>
<title>点击按钮,弹出一个层</title>
<script>?
var?docEle?=?function()?{???
??return?document.getElementById(arguments[0])?||?false;???
}???
function?openNewDiv(_i...
分类:
其他好文 时间:
2014-11-07 13:15:56
阅读次数:
157