安装做页面之前首先引用三个文件:因为JqueryMobile必须jquery的基础上才能使用,所以要先引用jquery.js,再引用JqueryMobile.js布局定义样式,效果之类的,都是通过data-xx来实现的,首先介绍data-role: 欢迎访问我的主页 我是一名...
分类:
Web程序 时间:
2015-06-04 19:03:29
阅读次数:
150
HTML5 Geolocation(地理定位)用于定位用户的位置。定位用户的位置html5Geolocation API用于获得用户的地理位置鉴于该特性可能低侵犯用户的隐私,除非用户同意,否则用户位置信息是不可用的。HTML5 -使用地理定位请使用getCurrentPositon()方法来获得用户...
分类:
Web程序 时间:
2015-06-04 19:03:26
阅读次数:
166
(PHP 4 >= 4.1.0, PHP 5)version_compare — 对比两个「PHP 规范化」的版本数字字符串mixed version_compare ( string $version1 , string $version2 [, string $operator ] )例:if(...
分类:
Web程序 时间:
2015-06-04 18:57:42
阅读次数:
127
1)屏幕截图接口函数是 TakesScreenshot示例:import java.io.File;import org.apache.commons.io.FileUtils;public void testTakesScreenshot() throws Exception{ //TakesS....
分类:
Web程序 时间:
2015-06-04 18:54:38
阅读次数:
127
关于url编码,js有三个函数。对应的,有三个解码方法,unescapse,decodeURI,decodeURIComponent。对应的,有三个解码方法,unescapse,decodeURI,decodeURIComponent。Escapse函数ECMAScriptv3反对使用该方法,应用使...
分类:
Web程序 时间:
2015-06-04 18:51:12
阅读次数:
172
public static DataTable ListToDataTable(List entitys) { //检查实体集合不能为空 if (entitys == null || entitys.Count < 1) ...
分类:
Web程序 时间:
2015-06-04 18:50:23
阅读次数:
165
DescriptionGiven a positive integer N, you should output the most right digit of N^N. InputThe input contains several test cases. The first line of th...
分类:
Web程序 时间:
2015-06-04 18:50:26
阅读次数:
160
Google Web Designer是谷歌出品的一个可视化的 HTML5 网页和广告的设计开发工具 Google Web Designer 。官网地址:https://www.google.com/webdesigner/但是我下载发现,打开就是白屏,后通过抓包发现webdesigner会连接谷歌...
分类:
Web程序 时间:
2015-06-04 18:47:33
阅读次数:
392
单独的表单控件会被自动赋予一些全局样式。所有设置了 .form-control 类的 、 和 元素都将被默认设置宽度属性为 width: 100%;。 将 label 元素和前面提到的控件包裹在 .form-group 中可以获得最好的排列。 1,内联表单 为 元素添加 .form-inline 类...
分类:
Web程序 时间:
2015-06-04 18:46:51
阅读次数:
425
http://www.computerhope.com/htmcolor.htm#color-codes,如
分类:
Web程序 时间:
2015-06-04 18:44:50
阅读次数:
124
源地址:http://www.cnblogs.com/gaojing/archive/2012/02/04/2413626.html这两天在写代码的时候,由于涉及到资源的位置,因此,需要在Java Bean中定义一些字段,用来表示资源的位置,比如:imgUrl,logoUri等等。但是,每次定义的时...
分类:
Web程序 时间:
2015-06-04 18:44:54
阅读次数:
163
$("#input1?input")[0].value?=?"10.1.1.100"
$("#input1?input").trigger("change")
$(".submit").trigger("click")...
分类:
Web程序 时间:
2015-06-04 17:37:30
阅读次数:
119
Ext.onReady(function(){ varstore=Ext.create(‘Ext.data.Store‘,{ fields:[‘name‘,‘seniority‘,‘department‘], groupField:‘department‘, data:{‘employees‘:[{"name":"Michael","seniority":7,"department":"Sales"}]}, proxy:{ type:‘memory‘, reader:{ type:‘js..
分类:
Web程序 时间:
2015-06-04 17:37:12
阅读次数:
162
Master主机安装基本软件及组件,进行基本的系统配置。安装VsphereClient6.0安装VsphereWebClient组件(安装完Vcenter后,在Vcenter的Web界面左下角可下载)打开VsphereClient6.0客户端进行登录(第一次登陆需要用Vcenter安装时为singlesign-on设定的账号密码,切记不能忘,如果..
分类:
Web程序 时间:
2015-06-04 17:29:09
阅读次数:
231
1确保mysql数据库可以使用2获得安装包[root@wwwliuliancao.com]#wget
[root@wwwDocuments]#unzipDiscuz_X3.2_SC_UTF8.zip3安装完成,把upload文件夹包括所有字内容放到自己的网页目录主文件夹中,我的为/www/liuliancao.com/,并重启服务[root@wwwDocuments]#cp-Rvupload/*/www..
分类:
Web程序 时间:
2015-06-04 17:29:05
阅读次数:
152
AngularJS中有ng-controller,通过这样可以给DOM元素装上控制器。比如这样:<divng-controller="firstController">
<png-bind="i"></p>
<inputtype="text"ng-model="abc"value="">
<png-bind="abc"></p>
</div>这样就代表控制器的作..
分类:
Web程序 时间:
2015-06-04 17:26:50
阅读次数:
172
<script>
varws=newWebSocket("ws://114.215.103.25:9501");
ws.onopen=function(){
console.log("握手成功");
};
ws.onmessage=function(messageEvent){
console.debug(messageEvent.data);
};
ws.onerror=function(errorEvent){
console.log(errorEvent);
};
..
分类:
Web程序 时间:
2015-06-04 17:26:34
阅读次数:
148