- 浏览: 71816 次
- 性别:
- 来自: 西安
最新评论
-
michelle0620:
是我这显示问题吗?怎么看不了全部
模似下拉列表框 -
ylcat:
哥们给个demo啊
JavaScript模态窗口,支持多浏览器,支持多模态窗口共存,支持局部化的模态,可随意拖动位置,支持自定义样式
文章列表
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="A ...
GiantGorp = {};
GiantGorp.DataParser = (function() {
var reg = /\s+/gi;
function tirm(str) {
return str.replace(reg, "");
}
function split(str, delimiter) {
return str.split(delimiter);
}
return {
toArray : function(str, delimiter, isTirm) {
if (!str)
return ...
/**
* 简单工厂
*/
// Constructor.
//定义接口
var Interface = function(name, methods) {
if(arguments.length != 2) {
throw new Error("Interface constructor called with " + arguments.length
+ "arguments, but expected exactly 2.");
}
this.name ...
var Interface = function(name, methods) {
if (arguments.length != 2) {
throw new Error("Interface constructor called with " + arguments.length
+ "arguments, but expected exactly 2.");
}
this.name = name;
this.methods = [];
for (var i = 0, len = methods.length ...
// 接口
var Interface = function(name, methods) {
if (arguments.length != 2) {
throw new Error("Interface constructor called with " + arguments.length
+ "arguments, but expected exactly 2.");
}
this.name = name;
this.methods = [];
for (var i = 0, len = methods ...
var DateConversion = (function() {
var constants = {
LUNARINFO : new Array(
/* 1900 */
0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554,
0x056a0, 0x09ad0, 0x055d2, 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250,
...
这是一个基于prototype的一个js应用.
在项目中用到是IE7,经测试正常可以加载53个页签,多于53个IE7就会提示.
自己测试过Google Chrome ,IE8,firefox,其它的请自行测试..
var Class = {
create : function() {
return function() {
this.initialize.apply(this, arguments);
};
}
};
var Extend = function(desc, src) {
for (var property in src) {
desc[property] = src[property];
}
return desc;
};
var Base = function(){};
Base.prototype.extend = ...
<html>
<head>
<title>div模拟title</title>
</head>
<body>
<script>
document.write('<div id=pltsTipLayer style="display: none;position: absolute;z-index:10001"></div>');
function pltsinits()
{
documen ...
prototype.js代码片段
代码如下:
var Class = {
create: function() {
return function() {
this.initialize.apply(this , arguments);
}
}
}
// Class使用方法如下
var A = Class.create();
A. prototype={
initialize:function(v){
...
package y2ssh.sg.test;
import java.io.Serializable;
public class AllTests {
public static void main(String[] args) {
AllTests test = new AllTests();
List list = new ArrayList();
//list.add("1111");
list.add("1101");
list.add("1100");
l ...
create table TEST3
(
n1 NUMBER,
n2 NUMBER
);
delete from test3;
commit;
insert into test3(n1,n2) values(5,50);
insert into test3(n1,n2) values(60,80);
insert into test3(n1,n2) values(90,100);
insert into test3(n1,n2) values(200,300);
commit;
select * from test3;
select *
fro ...
<html >
<head>
<title>setTimerOut</title>
<meta />
</head>
<body >
<div id="container" style="overflow:hidden;height:60px ;cursor:pointer;border:1px solid red" onmouseover="stopSetTimeOut();" onmouseout="start ...
<html >
<head>
<title>模似表格</title>
<meta />
<style>
html { font-size:12px; }
body { margin:50px; }
.clearfix:after { content:'\0020'; display:block; height:0; clear:both; }
.clearfix { *zoom:1;}
ul,li{border:solid 1px #3CF; margin:0; padding:0;}
ul{ b ...
package fkshl.activity.contentProvider;
/* Copyright (C) 2006 The Android Open Source Project
*
* 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 Li ...