javascript
共 4 篇文章
非常漂亮下拉菜单特效
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312" xml:lang="gb2312"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <style> body{ backgroun…
2008-08-24 10:59 · javascript
青色柔和的导航条代码特效(非常酷)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> THE BEAUTIFUL LIST </TITLE> <style type="text/css"> div#BeautifulList{width:300px;margin:20px;font-family: Verdana;} #BeautifulList a{display:block;color:#BBE1E7;padding:10px 15px;background-color:#3DA2B6;border-bo…
2008-08-23 11:42 · javascript
javascript做日期选择器实例
1.新建selectDateAll.js var months = new Array("一月", "二月", "三月","四月", "五月", "六月", "七月", "八月", "九月","十月", "十一月", "十二月"); var daysInMonth = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); var days = new Array("星期日","星期一", "星期二", "星期三", "星期四", "星期五", "星期六"); var getObject,oldObject;//取得当前对象 //…
2008-07-18 16:58 · javascript
常用js验证
//字符长短 用户名 function check_name() { var upname= document.getElementById("txt_name").value; var re =new RegExp("^.{5,50}$"); var arr; if((arr = re.exec(upname)) == null) { document.getElementById("err_name").className = "style5"; document.getElementById("txt_name").value = ""; return; } document.getE…
2008-07-05 17:55 · javascript