Build your web applications quickly and easily using the industry leading web application IDE -- Aptana Studio.
Introduction:
Aptana Studio is a complete web development environment that combines powerful authoring tools for HTML, CSS, and JavaScript, along with thousands of additional plugins created by the community.
官方网站:http://www.aptana.org/
下载地址:Aptana Stuido
Firefox浏览器
在“快车道”中浏览:升级到史上最快、最安全和最聪明的Firefox火狐浏览器
Introduction:
世界著名的一款浏览器!
官方网站:http://www.mozillaonline.com/
下载地址:Firefox
扩展插件:https://addons.mozilla.org/zh-CN/firefox/
Firebug - Web Development evolved
Web Development evolved
Introduction:
Firebug integrates with Firefox to put a wealth of web development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.
官方网站:http://getfirebug.com/
下载地址:Firebug
技术文档:http://getfirebug.com/wik ......
几乎所有的富 Web 应用都基于一个或多个 Web UI 库或框架,这些 UI
库与框架极大地简化了开发进程,并带来一致,可靠,以及高度交互性的用户界面。本文介绍了 15 个非常强大的 JavaScript Web UI
库,非常适合各种各种规模的富 Web 应用的开发。
LivePipe
LivePipe
UI
基于 Prototype Javascript 框架
,包含了
一整套经严格测试并高度可扩展的 UI 控件,拥有很好的文档,在不支持 JavaScript 的环境中,可以无缝降级使用。包括 Tab,
窗体,文本框,多选框,评分控件,进度条,滚动条,右键菜单等多种控件。
LivePipe
首页与下载
LivePipe
演示与示例
UKI
UKI
是一套简单的 JavaScript UI 工具集,用于快速创建桌面风格的 Web 应用。包含的控件从滑动条,到分栏视图,不一而足。熟悉 jQuery
的开发者会发现这个工具很容易上手,非常简洁,无需安装框架,不依赖 CSS 引用。
UKI
主页与下载
UKI
控件,演示,示例
MochaUI
MochaUI
是 MooTools
Javascript 框架
与 ExplorerCanvas 的一个备受欢迎的扩展,可以用来快速创建 Web 应用,Web
桌面,网站,饰件,独立 Windows,Modal 对话框等等。
MochaUI
主页与下载
......
//the common event,If your brower is firefox,you should use this function instead of "window.event"
function getEvent() {
if(document.all)
return window.event; //get ie event
func=getEvent.caller;
while(func!=null) {
var arg0=func.arguments[0];//alert(arg0);
if(arg0) {
if((arg0.constructor==Event || arg0.constructor ==MouseEvent) || (typeof(arg0)=="object" && arg0.preventDefault && arg0.stopPropagation)) {
return arg0;
}
}
func=func.caller;
}
return null;
}
//去除左侧空格
function LTrim(str)
{
return str.replace(/^\s*/g,"");
}
//去右空格
function RTrim(str)
{
return str.replace(/\s*$/g,""); ......
function $id(s) {
return document.getElementById(s);
}
//判断小数
function IsFloat(s) {
if (!/^[+\-]?\d+(.\d+)?$/.test(s))
return false;
else
return true;
}
//判断正小数
function IsPlusFloat(s) {
if (!/^[+]?\d+(.\d+)?$/.test(s))
return false;
else
return true;
}
//判断正整数
function IsPlusInt(s) {
if (!/^\d*$/.test(s))
return false;
else
return true;
}
//判断是否为字母和数字
function CheckName(s) {
if (!/^[A-Za-z0-9._-]+$/.test(s))
return false;
else
......
// JScript 文件
/********************************************************/
/*判定返回值为true或false*/
/********************************************************/
//打开一个新链接
function openwindow()
{
//var $j = jQuery.noConflict();
var www =$("#lblWww").text();
window.open('http://'+www);
}
//打开电子邮箱
function openemail()
{
//var $j = jQuery.noConflict();
var email = $("#lblEmail").text();
document.location='mailto:'+email;
}
//切换菜单
//name:项名称,cursel:当前第几项,n:总共有几项(setTab('one',3,3))
function setTab(name,cursel,n){
for(i=1;i<=n;i++){
var menu=document.getElementById(name+i);
var con=document.getElementById("con_"+name+"_"+i);
......
/*
限制输入字符的位数
str是用户输入字符串,len是要限制的位数
----------------------------
*/
function isSmall(str,len){
if (str.length<len){
return(true);
}else{
return(false);
}
}
/*判断两个字符串是否一致
---------------------------------
*/
function isSame(str1,str2){
if (str1==str2){
return(true);
}else{
return(false);
}
}
/*
判断字符串是否为空开始
---------------------------------
*/
function isNotNull(str){
if (str.length==""){
return(false);
}else{
return(true);
}
}
/ ......