code
string
repo_name
string
path
string
language
string
license
string
size
int64
<html> <script language="javascript"> /* This function is invoked by the activity */ function wave() { alert("1"); document.getElementById("droid").src="android_waving.png"; alert("2"); } </script> <body> <!-- Calls into the javascript interface for the activity --> <a onClick="window....
zx272152441-androiddemo
Samples/WebViewDemo/assets/demo.html
HTML
asf20
552
package com.google.android.webviewdemo; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.webkit.JsResult; import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebView; /** * Demonstrates how to embed a...
zx272152441-androiddemo
Samples/WebViewDemo/src/com/google/android/webviewdemo/WebViewDemo.java
Java
asf20
2,659
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/NumericSprite.java
Java
asf20
3,006
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/MatrixStack.java
Java
asf20
5,512
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/SpriteTextRenderer.java
Java
asf20
11,162
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/MatrixGrabber.java
Java
asf20
1,920
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/LabelMaker.java
Java
asf20
14,238
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/Projector.java
Java
asf20
2,404
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/GLView.java
Java
asf20
15,729
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/MatrixTrackingGL.java
Java
asf20
32,510
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/SpriteTextActivity.java
Java
asf20
1,509
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/SpriteText/src/com/google/android/opengles/spritetext/Grid.java
Java
asf20
3,501
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/Triangle/src/com/google/android/opengles/triangle/TriangleActivity.java
Java
asf20
1,848
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/Triangle/src/com/google/android/opengles/triangle/TriangleRenderer.java
Java
asf20
7,690
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
Samples/OpenGLES/Triangle/src/com/google/android/opengles/triangle/GLView.java
Java
asf20
15,727
package com.google.clickin2dabeat; import org.w3c.dom.Document; import org.w3c.dom.NodeList; import org.xml.sax.SAXException; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.Docu...
zx272152441-androiddemo
CLiCkin2DaBeaT/src/com/google/clickin2dabeat/UpdateChecker.java
Java
asf20
2,183
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
zx272152441-androiddemo
CLiCkin2DaBeaT/src/com/google/clickin2dabeat/Target.java
Java
asf20
1,660
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
zx272152441-androiddemo
CLiCkin2DaBeaT/src/com/google/clickin2dabeat/DownloadC2BFile.java
Java
asf20
1,904
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
zx272152441-androiddemo
CLiCkin2DaBeaT/src/com/google/clickin2dabeat/CreateC2BFile.java
Java
asf20
3,018
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
zx272152441-androiddemo
CLiCkin2DaBeaT/src/com/google/clickin2dabeat/BeatTimingsAdjuster.java
Java
asf20
4,312
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
CLiCkin2DaBeaT/src/com/google/clickin2dabeat/C2B.java
Java
asf20
20,275
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
zx272152441-androiddemo
CLiCkin2DaBeaT/src/com/google/clickin2dabeat/GameView.java
Java
asf20
9,137
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
zx272152441-androiddemo
CLiCkin2DaBeaT/src/com/google/clickin2dabeat/Unzipper.java
Java
asf20
3,633
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/Sphere.java
Java
asf20
951
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/City.java
Java
asf20
7,219
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/Clock.java
Java
asf20
11,777
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/PointCloud.java
Java
asf20
2,010
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/Shape.java
Java
asf20
9,431
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/Annulus.java
Java
asf20
3,935
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/GlobalTime.java
Java
asf20
46,167
/* * Copyright (C) 2006-2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/GLView.java
Java
asf20
30,586
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/LatLongSphere.java
Java
asf20
4,464
/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
zx272152441-androiddemo
AndroidGlobalTime/src/com/android/globaltime/Texture.java
Java
asf20
1,079
<?php class Zxsmysql{ public $host; public $user; public $pwd; public $dbname; public function _construct($host,$user,$pwd,$dbname){ $this->host= } } ?>
zxsmysqlclass
trunk/Zxsmysql.class.php
PHP
art
170
<?php //这是一个封状了mysql数据库基本操作的类. class mysqlClass{ //数据库连接函数mysqlConnect() function mysqlConnect(){ $mysqlhost=array("host"=>"localhost","user"=>"acruxcn_zxs","pwd"=>"mmhhsx3685"); $conn=mysql_connect($mysqlhost['host'],$mysqlhost['user'],$mysqlhost['pwd']) or die("数据库连接失败..."); if($conn) echo "<1>.数据库连接...
zxsmysqlclass
trunk/mysqlClass.php
PHP
art
546
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
zwh-web
trunk/docs/jquery1.8.3.js
JavaScript
asf20
266,057
<!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title>Wormie Fly</title> <link rel="stylesheet" href="medias/css/base.css" /> </head> <body> <div class="header"> </div> </body> </html>
zwh-web
trunk/index.html
HTML
asf20
236
@charset "utf-8"; /** 解决ie高度铺满屏 **/ html{ color:#000; background:#FFF; height:100%; width:100%; } body{ height:100%; width:100%; } /** 清除内外边距 **/ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{ margin:0; padding:0; } /** 设置...
zwh-web
trunk/medias/css/base.css
CSS
asf20
5,122
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="../lib/base.css" /> <link rel="stylesheet" href="slide.css" /> <script src="../lib/jquery.js" type="text/javascript"></script> <script type="text/javascript"> ...
zwh-web
trunk/ui/slide/slide_0.html
HTML
asf20
3,534
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="../lib/base.css" /> <link rel="stylesheet" href="slide.css" /> <script src="../lib/jquery.js" type="text/javascript"></script> <script type="text/javascript"> func...
zwh-web
trunk/ui/slide/slide_3.html
HTML
asf20
4,689
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="../lib/base.css" /> <link rel="stylesheet" href="slide.css" /> <script src="../lib/jquery.js" type="text/javascript"></script> <script type="text/javascript"> func...
zwh-web
trunk/ui/slide/slide_2.html
HTML
asf20
4,314
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="../lib/base.css" /> <link rel="stylesheet" href="slide.css" /> <script src="../lib/jquery.js" type="text/javascript"></script> <script type="text/javascript"> func...
zwh-web
trunk/ui/slide/slide_4.html
HTML
asf20
7,147
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" href="../lib/base.css" /> <link rel="stylesheet" href="slide.css" /> <script src="../lib/jquery.js" type="text/javascript"></script> <script type="text/javascript"> func...
zwh-web
trunk/ui/slide/slide_1.html
HTML
asf20
5,265
.hidden{ display:none; } .slide { position: relative; width: 470px; height: 150px; border: 1px solid #B6D1E6; overflow: hidden; } .slide .ks-switchable-nav { position: absolute; bottom: 5px; right: 5px; z-index: 99; } .slide .ks-switchable-nav li { float: left; width: 16px; height: 16px; line-...
zwh-web
trunk/ui/slide/slide.css
CSS
asf20
1,159
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> body{ font-size: 12px; } /* 证书导入 */ .cmn_form{ width:640px; position:relative; top:40px; } .cmn_form a.cmn_button{ display: inline-block; padding: 3px 10px; color: #18395B; } .cmn_form a:hover...
zwh-web
trunk/ui/fileInput/demo.html
HTML
asf20
1,987
function CreateInputFile(obj, import_tip,submit_value,callback){ var str = ""; if(CreateInputFile.is_chrome()){ obj.className = "file-box-fix"; var oFragment = document.createDocumentFragment(), label = document.createElement('label'), file_txt = document.createElement('input'), file_btn = ...
zwh-web
trunk/ui/fileInput/import_widget.js
JavaScript
asf20
1,865
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Tip Box Demo</title> <script src="../lib/jquery.js"></script> <script src="../lib/jq.alertBox.js"></script> <style> body{ font: 14px/1.5 "Microsolf YaHei","微软雅黑"; color: #000; } .demo{ margin: 50px 0 0 300px; } .alert{ ...
zwh-web
trunk/ui/alertBox/jq.demo.html
HTML
asf20
2,120
http://proger.i-forge.net/%D0%9C%D0%BE%D0%B8%20%D0%BF%D1%80%D0%BE%D0%B3%D0%B8/%D0%92%D0%B5%D0%B1/FileDrop/demo/index.html http://proger.i-forge.net/filedrop-min.js
zwh-web
trunk/ui/drapUpFile/readme.html
HTML
asf20
166
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #parent{ background-color:#cd5c5c; width: 100px; height: 100px; } #child{ background-color:#28e2c0; width:100px; height:100px; } #msg{ width:300px; border...
zwh-web
trunk/ui/compatible/mouseenter-mouseleave.html
HTML
asf20
3,588
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>GreenSock: Easing</title> <style> body{ background-color:#000; } #demo { width: 692px; height: 60px; background-color: #333; padding: 8px; } #easeWrapper { wi...
zwh-web
trunk/ui/tween/easing.html
HTML
asf20
1,634
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>GreenSock: Basic Tween</title> <style> body{ background-color:#000; } #demo { width: 692px; height: 60px; background-color: #333; padding: 8px; } #logo { posi...
zwh-web
trunk/ui/tween/tweenlite_1.html
HTML
asf20
1,172
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>tween demo</title> <script> var Tween = { Bounce: { easeIn: function(t,b,c,d){ return c - Tween.Bounce.easeOut(d-t, 0, c, d) + b; }, easeOut: function(t,b,c,d){ if ((t/=d)...
zwh-web
trunk/ui/tween/tweenDemo.html
HTML
asf20
1,517
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>GreenSock: TimelineLite Syntax</title> <style> body{ background-color:#000; } #demo { width: 692px; height: 70px; background-color: #333; padding: 8px; } #demoBackgrou...
zwh-web
trunk/ui/tween/tweenmax.html
HTML
asf20
2,220
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>shake demo</title> <style type="text/css"> #demo{ width:50px; height:50px; margin: 30px auto; background-color:#349df9; position:absolute; left:30px; top:30px; } .box{ width:300px; height:300...
zwh-web
trunk/ui/tween/shake.html
HTML
asf20
1,082
/* TipBox css ---start---*/ .JQ_Widget .tip_box{ -webkit-border-radius: 12px; border-radius: 5px; border: 1px solid #7A7A7A; font-size: 12px; display: inline-block; background-color: #fff; } .JQ_Widget .tip_box .tip_title{ height: 14px; position: relative; } .JQ_Widget .tip_box .tip_title a.tip_...
zwh-web
trunk/ui/tipBox/jq.tipBox.css
CSS
asf20
2,018
/* TipBox css ---start---*/ @font-face { font-family: 'icomoon'; src: url('fonts/icomoon.eot'); /* ie9 */ src: url('fonts/icomoon.eot?#iefix') format('embedded-opentype'), /* ie6-ie8 */ url('fonts/icomoon.woff') format('woff'), /* chrome6+ firefox3.6+ */ url('fonts/icomoon.ttf') format('truetype'),...
zwh-web
trunk/ui/tipBox/TipBox.css
CSS
asf20
2,814
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Tip Box Demo</title> <link rel="stylesheet" href="jq.tipBox.css"> <script src="../lib/jquery.js"></script> <script src="../lib/jq.tipBox.js"></script> <style> body{ font: 14px/1.5 "Microsolf YaHei","微软雅黑"; color: #000; } .demo{ ...
zwh-web
trunk/ui/tipBox/jq.demo.html
HTML
asf20
1,747
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Tip Box Demo</title> <link rel="stylesheet" href="TipBox.css"> <script src="TipBox.js"></script> <style> body{ font: 14px/1.5 "Microsolf YaHei","微软雅黑"; color: #000; } .demo{ margin: 50px 0 0 300px; } </style> </head> <bo...
zwh-web
trunk/ui/tipBox/demo.html
HTML
asf20
622
var UI = { getStyle:function(elm, name){ return parseInt(elm.currentStyle ? elm.currentStyle[name] : window.getComputedStyle(elm, null)[name]); } }; UI.TipBox = function(o){ var _display = false; var obj = document.getElementById(o.id); var _o = { align : 'left', width: 150, height: 80, c...
zwh-web
trunk/ui/tipBox/TipBox.js
JavaScript
asf20
1,741
.hide{ display: none; } .Dialog_Widget{ position: absolute; top: 0; left: 0; } .Dialog_Widget .bg{ position: absolute; left: 0; top: 0; background-color: #000; filter:alpha(opacity=50); opacity: 0.5; z-index: 9998; } .Dialog_Widget .dialog{ position: absolute; z-index: 9999; border: 1p...
zwh-web
trunk/ui/dialog/dialog.css
CSS
asf20
434
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>dialog</title> <link rel="stylesheet" href="dialog.css"> <script src="dialog.js"></script> </head> <body> <div class="demo" id="demo"> click me to get dialog. </div> <script> window.onload = function(){ var dialog = new Di...
zwh-web
trunk/ui/dialog/demo.html
HTML
asf20
469
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>how to get event</title> </head> <body> <div onclick = "foo()">click me to get event</div> <script> function getEvent(){ var e = arguments[0] || window.event; if(!e){ var c = arguments.callee.caller; while(c){ e...
zwh-web
trunk/ui/dialog/getEvent.html
HTML
asf20
570
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>event handle</title> <script> function elContains(a,b){ return a.contains ? a!=b && a.contains(b) : !!(a.cmpareDocumentPosition(b) & 16) } function withoutChildFunction(func){ /* return function(e){ alert('widh') ...
zwh-web
trunk/ui/dialog/eventHanle.html
HTML
asf20
5,087
var Util = { hasClass : function(o,n){ return new RegExp('\\b' + n + '\\b').test(o.className); }, removeClass : function(o, n){ o.className = o.className.replace(new RegExp('\\b' + n + '\\b'),''); }, addClass : function(o, n){ if (!o.className) { o.className = n; } else if (this.hasClass(o,...
zwh-web
trunk/ui/dialog/dialog.js
JavaScript
asf20
4,030
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>menu</title> <link rel="stylesheet" href="../base.css" /> <style type="text/css"> body{ background-color:#F6F8F8; } .menu{ width:960px; height:42px; background-color:#446cb3; margin:50px auto; zoom:1; ...
zwh-web
trunk/ui/css3/menu/menu.html
HTML
asf20
3,975
@charset "utf-8"; form { font-size: 13px; margin-bottom: 18px; } textarea { font: 12px/1.5 Helvetica,Arial,sans-serif; height: 80px; overflow: auto; resize: none; vertical-align: top; width: 500px; } .form-text { font: 12px/1.5 Helvetica,Arial,sans-serif; height:...
zwh-web
trunk/ui/css3/form.css
CSS
asf20
4,301
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>font-face style</title> <script type="text/javascript" src="../lib/jquery.js"></script> <link rel="stylesheet" href="../lib/plugin/jquery.pseudo.js" /> <style type="text/css"> @font-face { font-family: 'fontello'; sr...
zwh-web
trunk/ui/css3/font-face.html
HTML
asf20
1,460
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> a.button:hover { background-image: -webkit-linear-gradient(top, #63d115, #45910f); background-image: -moz-linear-gradient(top, #63d115, #45910f); background-image: -o-linear-gradient(top, #63d115, #45910f); ba...
zwh-web
trunk/ui/css3/button.html
HTML
asf20
1,737
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>Animate Translate</title> <style type="text/css"> .demo{ height: 200px; background-color:#DDDDDD; } .demo:hover .move{ -webkit-animation-name: movebox; /*动画名称,需要跟@keyframes定义的名称一致*/ -webkit-animation-d...
zwh-web
trunk/ui/css3/translate.html
HTML
asf20
1,457
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>breadcrumbs效果</title> <style type="text/css"> ul{ margin:0; padding:0; list-style:none; } demo { width: 500px; margin: 0 auto; display:block; clear:both; content:'\20'; } .nav_block { margin-top: 40px; f...
zwh-web
trunk/ui/css3/BreadCrumbs.html
HTML
asf20
4,443
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> .select{border:1px solid #ccc;line-height:22px;color:#666;margin:-1px;padding:4px 3px;font-size:13px;width:93px;*width:85px;} .select_border{*background:#fff;*border:1px solid #ccc;*padding:4px...
zwh-web
trunk/ui/css3/select.html
HTML
asf20
1,384
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>slide jquery</title> <script type="text/javascript" src="../lib/jquery.js"></script> <style type="text/css"> .demo{ background-color:#6179db; width:200px; color:#EEE; } .demo h3.ks-trigger{ margin: 5px 0; pad...
zwh-web
trunk/ui/css3/jqeury-slide.html
HTML
asf20
954
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;} body{ font:14px/1.5 tahoma,arial,\5b8b\4f53,sans-serif; } h1,h2,h3,h4,h5,h6{font-size:100%;} address,cite,dfn,em,var{font-style:normal;} code,kbd,pre,samp{font-family:courier new,cou...
zwh-web
trunk/ui/css3/base.css
CSS
asf20
825
<?php /* This file is a wrapper, for use in PHP environments, which serves PIE.htc using the correct content-type, so that IE will recognize it as a behavior. Simply specify the behavior property to fetch this .php file instead of the .htc directly: .myElement { [ ...css3 properties... ] behavior: url(PIE.php...
zwh-web
trunk/ui/css3/pie/PIE.php
PHP
asf20
613
/* PIE: CSS3 rendering for IE Version 1.0.0 http://css3pie.com Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2. */ (function(){ var doc = document;var PIE = window['PIE']; if( !PIE ) { PIE = window['PIE'] = { CSS_PREFIX: '-pie-', STYLE_PREFIX...
zwh-web
trunk/ui/css3/pie/PIE_uncompressed.js
JavaScript
asf20
169,815
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>font-face style</title> <script type="text/javascript" src="../lib/jquery.js"></script> <style type="text/css"> body{ font:13px/1.231 arial,helvetica,clean,sans-serif; } @font-face { font-family: 'fontello'; src: url('fon...
zwh-web
trunk/ui/css3/text-shadow.html
HTML
asf20
2,515
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>Document</title> <link rel="stylesheet" href="form.css"> </head> <body> <form method="post" action="#" id="demo2" class="demo form-horizontal"> <div class="form-item"> <label for="username">昵称:</label> <div clas...
zwh-web
trunk/ui/css3/form.html
HTML
asf20
4,048
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>RGBA Demo</title> <style> .demo a{ width: 100px; height: 100px; line-height: 100px; display: block; text-decoration: none; text-indent: 5px; font-size: 20px; color: #FFF; } .demo{ display: inl...
zwh-web
trunk/ui/css3/rgba.html
HTML
asf20
1,766
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>TipWarn Demo</title> <script src="TipWarn.js"></script> <style> body{ overflow-x: hidden;; } .tip_warn{ border: 1px solid #000; zoom:1; } .tip_warn .warn_title{ background-color: #37a738; height: 16px; position:...
zwh-web
trunk/ui/tipWarn/demo.html
HTML
asf20
1,136
var UI = {}; UI.TipWarn = (function(){ var _display = null, _uinique = null, _init = null; var _o = { width: 300, right: 16, bottom: 10, html: '', _w: '' }; var tip_warn,warn_title,warn_close,warn_wrap; var Tween = { easeOut: function(t,b,c,d){ if ((t/=d) < (1/2.75))...
zwh-web
trunk/ui/tipWarn/TipWarn.js
JavaScript
asf20
3,163
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>mousemove test</title> </head> <style> .demo{ width: 300px; height: 300px; margin-left: 50px; background-color: #542349; } </style> <body> <div class="demo" id='demo'> This is deom. </div> <div class="msg" id='msg'>...
zwh-web
trunk/ui/drag/mousemove.html
HTML
asf20
594
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> <style type="text/css"> .drag-box{ width: 300px; height: 300px; position: Fixed; left:0; top: 0; background-color: #F0F; } </style> <script type="text/javascript"> function Drag(obj){ obj.onmousedown ...
zwh-web
trunk/ui/drag/drag.html
HTML
asf20
1,348
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>tap quo</title> <style type="text/css"> .demo{ height:100px; background-color:#892471; position:relative; } .demo p{ position:absolute; left: 0; display: inline-block; background-color:#6c5c5c; } <...
zwh-web
trunk/ui/quo/tag.html
HTML
asf20
1,207
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src="../lib/jquery.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ $("a").click(function(event){ alert("As you can see, t...
zwh-web
trunk/ui/sample/sample.html
HTML
asf20
473
// ┌────────────────────────────────────────────────────────────────────┐ \\ // │ Raphaël 2.1.0 - JavaScript Vector Library │ \\ // ├────────────────────────────────────────────────────────────────────┤ \\ // │ Copyright © 2008-2012 Dmitry Baranovskiy (http://raphaeljs.com) │ \\ // │ Cop...
zwh-web
trunk/ui/lib/raphael/raphael.js
JavaScript
asf20
226,951
/* */ var Tween = { Linear: function(t,b,c,d){ return c*t/d + b; }, Quad: { easeIn: function(t,b,c,d){ return c*(t/=d)*t + b; }, easeOut: function(t,b,c,d){ return -c *(t/=d)*(t-2) + b; }, easeInOut: function(t,b,c,d){ ...
zwh-web
trunk/ui/lib/tween.js
JavaScript
asf20
5,337
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;} body,button,input,select,textarea{ font:63%/1.5 tahoma,arial,\5b8b\4f53,sans-serif; } h1,h2,h3,h4,h5,h6{font-size:100%;} address,cite,dfn,em,var{font-style:normal;} code,kbd,pre,samp{...
zwh-web
trunk/ui/lib/base.css
CSS
asf20
1,370
(function($){ window.alert = function(txt){ if(!window.alert.init){ var box = document.createElement('div'), bg = document.createElement('div'), body = document.createElement('div'), title = document.createElement('div'), content = document.createElement('div'); w = document.documentEl...
zwh-web
trunk/ui/lib/jq.alertBox.js
JavaScript
asf20
1,734
/** * VERSION: beta 1.665 * DATE: 2012-12-22 * JavaScript (ActionScript 3 and 2 also available) * UPDATES AND DOCS AT: http://www.greensock.com * * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, easing.EasePack, plugins.CSSPlugin, plugins.RoundPropsPlugin, plugins.BezierPlug...
zwh-web
trunk/ui/lib/greensock/TweenMax.js
JavaScript
asf20
240,579
/*! * VERSION: beta 1.641 * DATE: 2012-11-08 * JavaScript (ActionScript 3 and 2 also available) * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club G...
zwh-web
trunk/ui/lib/greensock/TimelineLite.js
JavaScript
asf20
20,832
/** * VERSION: beta 1.31 * DATE: 2012-11-19 * JavaScript (ActionScript 3 and 2 also available) * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club Gr...
zwh-web
trunk/ui/lib/greensock/plugins/RoundPropsPlugin.js
JavaScript
asf20
2,290
/** * VERSION: beta 1.151 * DATE: 2012-12-20 * JavaScript (also available in AS3 and AS2) * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club GreenSo...
zwh-web
trunk/ui/lib/greensock/plugins/BezierPlugin.js
JavaScript
asf20
17,456
/** * VERSION: beta 1.52 * DATE: 2012-12-17 * JavaScript * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club GreenSock members, the software agreemen...
zwh-web
trunk/ui/lib/greensock/plugins/ScrollToPlugin.js
JavaScript
asf20
4,193
/*! * VERSION: beta 1.665 * DATE: 2012-12-22 * JavaScript * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club GreenSock members, the software agreement that...
zwh-web
trunk/ui/lib/greensock/plugins/CSSPlugin.js
JavaScript
asf20
111,417
/** * VERSION: beta 0.11 * DATE: 2012-10-26 * JavaScript * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club GreenSock members, the software agreemen...
zwh-web
trunk/ui/lib/greensock/plugins/EaselPlugin.js
JavaScript
asf20
5,906
/*! * VERSION: beta 0.14 * DATE: 2012-06-19 * JavaScript * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club GreenSock members, the software agreeme...
zwh-web
trunk/ui/lib/greensock/plugins/RaphaelPlugin.js
JavaScript
asf20
17,777
/*! * VERSION: beta 0.5 * DATE: 2012-12-20 * JavaScript * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club GreenSock members, the software agreemen...
zwh-web
trunk/ui/lib/greensock/plugins/CSSRulePlugin.js
JavaScript
asf20
3,852
/** * VERSION: 1.0 * DATE: 2012-08-22 * JavaScript * UPDATES AND DOCS AT: http://www.greensock.com * * This file is to be used as a simple template for writing your own plugin. See the * notes at http://api.greensock.com/js/com/greensock/plugins/TweenPlugin.html for more details. * * You can start ...
zwh-web
trunk/ui/lib/greensock/plugins/TEMPLATE_Plugin.js
JavaScript
asf20
6,725
/** * VERSION: beta 1.0 * DATE: 2012-06-08 * JavaScript * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club GreenSock members, the software agreemen...
zwh-web
trunk/ui/lib/greensock/plugins/ColorPropsPlugin.js
JavaScript
asf20
3,910
/*! * VERSION: beta 1.3 * DATE: 2012-12-03 * JavaScript (ActionScript 3 and 2 also available) * UPDATES AND DOCS AT: http://www.greensock.com * * Copyright (c) 2008-2012, GreenSock. All rights reserved. * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for * Club Gre...
zwh-web
trunk/ui/lib/greensock/easing/EasePack.js
JavaScript
asf20
7,715