易截截图软件、单文件、免安装、纯绿色、仅160KB

一个简单横向javascript日期控件

<!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">
 <head>
  <title> new document </title>
  <meta name="generator" content="editplus" />
  <meta name="author" content="" />
  <meta name="keywords" content="" />
  <meta name="description" content="" />
 <style type="text/css">
    *{font-size:14px}
    /*日期最外层*/
    #logCalendar{width:950px;border-top:1px solid #ccc;border-left:1px solid #ccc}
    /*日期内部所有单元格*/
    #logCalendar td{
        border-right:1px solid #ccc;border-bottom:1px solid #ccc;
        padding-left:5px;text-align:center;
        height:22px;line-height:22px;
    }
    #daysList{border-top:1px solid #ccc;border-left:1px solid #ccc}
    /*日期列表所有单元格*/
    #daysList td{text-align:center;height:22px}
    /*周次及星期几的输入框*/
    .bd{border:0;text-align:center;color:#00f}
    /*日期默认样式*/
    .unSelectDay{
        color:#00f;font-weight:normal;
        padding:3px;cursor:pointer;
        text-decoration:underline
    }
    /*当前点击的日期样式*/
    .selectDay{color:#fff;font-weight:bold;background:#FEB0B0;padding:1px;text-decoration:none;cursor:normal}
    /*周末样式*/
    .weekEnd{color:#f00}
    .test{color:#f00;text-decoration:none}
 </style>
 


相关文档:

一段实现HTML页面内定期触发事件的JavaScript代码

原创于2007年12月16日,2009年10月15日迁移至此。
JavaScript通过内置的setTimeout函数来完成页面内的定时检查,也是很久以前写的东西了。
之所以想起它来,是因为在和项目组其他成员说该事情的时候,别人竟然嘲笑我说是上个世纪的代码,现在都用WEB2.0了。
<script language="JavaScript" type="text ......

一个带CheckBox的树形目录的递归算法(javascript)

原创于2007年12月16日,2009年10月15日迁移至此。
唉,很久以前写的代码,晒一晒,估计自己看都看不懂了,:(
var head="display:''"
img_close=new Image()
img_close.src="/sysManage/images/f.gif"
img_open=new Image()
img_open.src="/sysManage/images/fo.gif"
img3=new Image( ......

Eclipse开发javascript工具jsEclipse介绍

      Eclipse写javascript是比较痛苦的,有了jsEclipse这个强大的javascript编辑插件就方便多了,这个插件支持代码完成,大纲浏览,错误报告,代码换行等等.
      安装jsEclipse很方便,通过HELP-Software Updates-Find and Install 在URL中录入http://www.interaktonline. ......

JavaScript 继承详解2

 这一章我们将会重点介绍JavaScript中几个重要的属性(this、constructor、prototype), 这些属性对于我们理解如何实现JavaScript中的类和继承起着至关重要的作用。
this
this表示当前对象,如果在全局作用范围内使用this,则指代当前页面对象window; 如果在函数中使用this,则this指代什么是根据运行时此函数在什 ......

JavaScript 继承详解3

在第一章中,我们使用构造函数和原型的方式在JavaScript的世界中实现了类和继承, 但是存在很多问题。这一章我们将会逐一分析这些问题,并给出解决方案。
注:本章中的jClass的实现参考了Simple JavaScript Inheritance
的做法。
首先让我们来回顾一下第一章中介绍的例子:
function Person(name) {
this.name = nam ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号