码迷,mamicode.com
首页 >  
搜索关键字:script    ( 23180个结果
MyEclipse 2015 C 使用 Apache cordova PhoneGap Demo1
1.?安装?MyEcipse 2015 C ? ? 资源地址 :????有需要的?百度?查找 。 2.New - Create a PhoneGap Application Project - 输入: project Name ? Demo1 ? finish . 3.?运行截图 <script?type="text/...
分类:Web程序   时间:2015-01-28 18:06:31    阅读次数:225
[转]script之defer&async
html5中script的async属性我兴奋于html5的原因之一是一些久久未能实现的特性现在可以真正运用于实际项目中了. 如我们使用placeholder效果蛮久了但是那需要javascript来实现. 目前firefox和chrome都是实现了script标签的async属性.这个新的属性能让...
分类:其他好文   时间:2015-01-28 17:32:31    阅读次数:222
scripts/local脚本mount_root脚本文件分析
# Local filesystem mounting            -*- shell-script -*- pre_mountroot() {     [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top"     run_scripts /scripts/local-top     [ "$qu...
分类:其他好文   时间:2015-01-28 14:40:04    阅读次数:463
script常用类型和事件
常用的类型:1.数学:Math.ceil():天花板数Math.floor():地板数Math.round():四舍五入取整数Math.random():生成0-1之间的随机数2.日期时间:var s = new Date();var s = new Date(1999,7,23);函数:getFu...
分类:其他好文   时间:2015-01-27 23:18:16    阅读次数:282
页面动态加入<script>标签并执行代码
在页面中动态追加html片段的时候,有时候动态添加的代码会含有 直接把它放在标签中,就会往这个标签中输出东西了。使用jQuery的html() 上面的方法说来说去,都不如jQuery简单,因为jQuery的html()方法内部已经做了处理,如果参数中含有标签,内部会使用上面的方法一和方法二进...
分类:其他好文   时间:2015-01-27 20:10:36    阅读次数:312
fastcgi_param 详解
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;#脚本文件请求的路径 fastcgi_param QUERY_STRING $query_string; #请求的参数;如?app=123 fa...
分类:其他好文   时间:2015-01-27 20:05:48    阅读次数:176
获取当前JS所在文件夹
var t=document.getElementsByTagName("SCRIPT"), src = t[t.length - 1].src, baseSrc = src.replace(/(\/[^\/]...
分类:Web程序   时间:2015-01-27 18:15:55    阅读次数:112
AMS 启动出错: Waiting for another script to finish...
situation:ams streams 文件夹过大, 删除后,重启 ams, 重启失败, amscore 称为defunct process, 无法停止, ps auxww|grep ams,  kill 相关 process, 之后重启总是提示: Waiting for another script to finish... google之后发现 can no more start ...
分类:其他好文   时间:2015-01-27 16:20:46    阅读次数:266
init文件调试结果
grub.conf 里面的quiet去掉,加上debug 可以看出调用了/ /script/local-premount script/local-boottom script/init-boottom...
分类:其他好文   时间:2015-01-26 22:47:50    阅读次数:176
QT自定义对象导入JavaScript脚本使用
1、对象 项目属性要添加QT += script自定义的对象头文件如下,实现正常就好,记得脚本里要调用的方法一定要定义在public slots:下,要不然调用时提示该对象没有*方法 1 #ifndef CMU_H 2 #define CMU_H 3 #include "Comm...
分类:编程语言   时间:2015-01-26 19:12:07    阅读次数:303
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!