Tag: phpAdmin预览模式: 普通 | 列表
08-06
19

速度超快的日期选择程序(二),类似phpAdmin

把以下代码存为:calendar.js
-------------------代码开始------------------------
document.write("<div id=meizzCalendarLayer style='position: absolute; z-index: 9999; width: 144; height: 193; display: none'>");
document.write("<iframe name=meizzCalendarIframe scrolling=no frameborder=0 width=100% height=100%></iframe></div>");
function writeIframe()
{
    var strIframe = "<html><head><meta http-equiv='Content-Type' content='text/html; charset=gb2312'><style>"+
    "*{font-size: 12px; font-family: 宋体}"+
    ".bg{  color: "+ WebCalendar.lightColor +"; cursor: default; background-color: "+ WebCalendar.darkColor +";}"+

查看更多...

Tags: 日期 选择 phpAdmin

分类:Ajax/Js | 固定链接 | 评论: 1 | 引用: 0 | 查看次数: 988