亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? calendarpopup.js

?? JavaScript編寫的彈出式日歷程序
?? JS
?? 第 1 頁 / 共 3 頁
字號(hào):
// ===================================================================
// Author: Matt Kruse <matt@mattkruse.com>
// WWW: http://www.mattkruse.com/
//
// NOTICE: You may use this code for any purpose, commercial or
// private, without any further permission from the author. You may
// remove this notice from your final code if you wish, however it is
// appreciated by the author if at least my web site address is kept.
//
// You may *NOT* re-distribute this code in any way except through its
// use. That means, you can include it in your product, or your web
// site, or any other form where the code is actually being used. You
// may not put the plain javascript up on your site for download or
// include it in your javascript libraries for download. 
// If you wish to share this code with others, please just point them
// to the URL instead.
// Please DO NOT link directly to my .js files from your site. Copy
// the files to your server and use them there. Thank you.
// ===================================================================

// HISTORY
// ------------------------------------------------------------------
// Feb 7, 2005: Fixed a CSS styles to use px unit
// March 29, 2004: Added check in select() method for the form field
//      being disabled. If it is, just return and don't do anything.
// March 24, 2004: Fixed bug - when month name and abbreviations were
//      changed, date format still used original values.
// January 26, 2004: Added support for drop-down month and year
//      navigation (Thanks to Chris Reid for the idea)
// September 22, 2003: Fixed a minor problem in YEAR calendar with
//      CSS prefix.
// August 19, 2003: Renamed the function to get styles, and made it
//      work correctly without an object reference
// August 18, 2003: Changed showYearNavigation and 
//      showYearNavigationInput to optionally take an argument of
//      true or false
// July 31, 2003: Added text input option for year navigation.
//      Added a per-calendar CSS prefix option to optionally use 
//      different styles for different calendars.
// July 29, 2003: Fixed bug causing the Today link to be clickable 
//      even though today falls in a disabled date range.
//      Changed formatting to use pure CSS, allowing greater control
//      over look-and-feel options.
// June 11, 2003: Fixed bug causing the Today link to be unselectable
//      under certain cases when some days of week are disabled
// March 14, 2003: Added ability to disable individual dates or date
//      ranges, display as light gray and strike-through
// March 14, 2003: Removed dependency on graypixel.gif and instead 
///     use table border coloring
// March 12, 2003: Modified showCalendar() function to allow optional
//      start-date parameter
// March 11, 2003: Modified select() function to allow optional
//      start-date parameter
/* 
DESCRIPTION: This object implements a popup calendar to allow the user to
select a date, month, quarter, or year.

COMPATABILITY: Works with Netscape 4.x, 6.x, IE 5.x on Windows. Some small
positioning errors - usually with Window positioning - occur on the 
Macintosh platform.
The calendar can be modified to work for any location in the world by 
changing which weekday is displayed as the first column, changing the month
names, and changing the column headers for each day.

USAGE:
// Create a new CalendarPopup object of type WINDOW
var cal = new CalendarPopup(); 

// Create a new CalendarPopup object of type DIV using the DIV named 'mydiv'
var cal = new CalendarPopup('mydiv'); 

// Easy method to link the popup calendar with an input box. 
cal.select(inputObject, anchorname, dateFormat);
// Same method, but passing a default date other than the field's current value
cal.select(inputObject, anchorname, dateFormat, '01/02/2000');
// This is an example call to the popup calendar from a link to populate an 
// input box. Note that to use this, date.js must also be included!!
<A HREF="#" onClick="cal.select(document.forms[0].date,'anchorname','MM/dd/yyyy'); return false;">Select</A>

// Set the type of date select to be used. By default it is 'date'.
cal.setDisplayType(type);

// When a date, month, quarter, or year is clicked, a function is called and
// passed the details. You must write this function, and tell the calendar
// popup what the function name is.
// Function to be called for 'date' select receives y, m, d
cal.setReturnFunction(functionname);
// Function to be called for 'month' select receives y, m
cal.setReturnMonthFunction(functionname);
// Function to be called for 'quarter' select receives y, q
cal.setReturnQuarterFunction(functionname);
// Function to be called for 'year' select receives y
cal.setReturnYearFunction(functionname);

// Show the calendar relative to a given anchor
cal.showCalendar(anchorname);

// Hide the calendar. The calendar is set to autoHide automatically
cal.hideCalendar();

// Set the month names to be used. Default are English month names
cal.setMonthNames("January","February","March",...);

// Set the month abbreviations to be used. Default are English month abbreviations
cal.setMonthAbbreviations("Jan","Feb","Mar",...);

// Show navigation for changing by the year, not just one month at a time
cal.showYearNavigation();

// Show month and year dropdowns, for quicker selection of month of dates
cal.showNavigationDropdowns();

// Set the text to be used above each day column. The days start with 
// sunday regardless of the value of WeekStartDay
cal.setDayHeaders("S","M","T",...);

// Set the day for the first column in the calendar grid. By default this
// is Sunday (0) but it may be changed to fit the conventions of other
// countries.
cal.setWeekStartDay(1); // week is Monday - Sunday

// Set the weekdays which should be disabled in the 'date' select popup. You can
// then allow someone to only select week end dates, or Tuedays, for example
cal.setDisabledWeekDays(0,1); // To disable selecting the 1st or 2nd days of the week

// Selectively disable individual days or date ranges. Disabled days will not
// be clickable, and show as strike-through text on current browsers.
// Date format is any format recognized by parseDate() in date.js
// Pass a single date to disable:
cal.addDisabledDates("2003-01-01");
// Pass null as the first parameter to mean "anything up to and including" the
// passed date:
cal.addDisabledDates(null, "01/02/03");
// Pass null as the second parameter to mean "including the passed date and
// anything after it:
cal.addDisabledDates("Jan 01, 2003", null);
// Pass two dates to disable all dates inbetween and including the two
cal.addDisabledDates("January 01, 2003", "Dec 31, 2003");

// When the 'year' select is displayed, set the number of years back from the 
// current year to start listing years. Default is 2.
// This is also used for year drop-down, to decide how many years +/- to display
cal.setYearSelectStartOffset(2);

// Text for the word "Today" appearing on the calendar
cal.setTodayText("Today");

// The calendar uses CSS classes for formatting. If you want your calendar to
// have unique styles, you can set the prefix that will be added to all the
// classes in the output.
// For example, normal output may have this:
//     <SPAN CLASS="cpTodayTextDisabled">Today<SPAN>
// But if you set the prefix like this:
cal.setCssPrefix("Test");
// The output will then look like:
//     <SPAN CLASS="TestcpTodayTextDisabled">Today<SPAN>
// And you can define that style somewhere in your page.

// When using Year navigation, you can make the year be an input box, so
// the user can manually change it and jump to any year
cal.showYearNavigationInput();

// Set the calendar offset to be different than the default. By default it
// will appear just below and to the right of the anchorname. So if you have
// a text box where the date will go and and anchor immediately after the
// text box, the calendar will display immediately under the text box.
cal.offsetX = 20;
cal.offsetY = 20;

NOTES:
1) Requires the functions in AnchorPosition.js and PopupWindow.js

2) Your anchor tag MUST contain both NAME and ID attributes which are the 
   same. For example:
   <A NAME="test" ID="test"> </A>

3) There must be at least a space between <A> </A> for IE5.5 to see the 
   anchor tag correctly. Do not do <A></A> with no space.

4) When a CalendarPopup object is created, a handler for 'onmouseup' is
   attached to any event handler you may have already defined. Do NOT define
   an event handler for 'onmouseup' after you define a CalendarPopup object 
   or the autoHide() will not work correctly.
   
5) The calendar popup display uses style sheets to make it look nice.

*/ 

// CONSTRUCTOR for the CalendarPopup Object
function CalendarPopup() {
	var c;
	if (arguments.length>0) {
		c = new PopupWindow(arguments[0]);
		}
	else {
		c = new PopupWindow();
		c.setSize(150,175);
		}
	c.offsetX = -152;
	c.offsetY = 25;
	c.autoHide();
	// Calendar-specific properties
	c.monthNames = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	c.monthAbbreviations = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
	c.dayHeaders = new Array("S","M","T","W","T","F","S");
	c.returnFunction = "CP_tmpReturnFunction";
	c.returnMonthFunction = "CP_tmpReturnMonthFunction";
	c.returnQuarterFunction = "CP_tmpReturnQuarterFunction";
	c.returnYearFunction = "CP_tmpReturnYearFunction";
	c.weekStartDay = 0;
	c.isShowYearNavigation = false;
	c.displayType = "date";
	c.disabledWeekDays = new Object();
	c.disabledDatesExpression = "";
	c.yearSelectStartOffset = 2;
	c.currentDate = null;
	c.todayText="Today";
	c.cssPrefix="";
	c.isShowNavigationDropdowns=false;
	c.isShowYearNavigationInput=false;
	window.CP_calendarObject = null;
	window.CP_targetInput = null;
	window.CP_dateFormat = "MM/dd/yyyy";
	// Method mappings
	c.copyMonthNamesToWindow = CP_copyMonthNamesToWindow;
	c.setReturnFunction = CP_setReturnFunction;
	c.setReturnMonthFunction = CP_setReturnMonthFunction;
	c.setReturnQuarterFunction = CP_setReturnQuarterFunction;
	c.setReturnYearFunction = CP_setReturnYearFunction;
	c.setMonthNames = CP_setMonthNames;
	c.setMonthAbbreviations = CP_setMonthAbbreviations;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美极品美女视频| 五月激情六月综合| 日本一区二区三区在线观看| 精品国产免费视频| 日韩你懂的在线播放| 欧美一区二区视频观看视频| 欧美一区二区三区视频| 日韩一区二区精品葵司在线| 91精品国产综合久久久久久| 日韩一二三区视频| 日韩午夜电影av| 日韩一区二区电影在线| 日韩精品中文字幕一区二区三区| 欧美一级片在线观看| 欧美第一区第二区| 国产午夜精品一区二区三区视频| 久久久99精品免费观看不卡| 国产精品精品国产色婷婷| 国产精品成人在线观看| 亚洲卡通欧美制服中文| 天堂成人国产精品一区| 久久激情五月激情| 狠狠色丁香九九婷婷综合五月| 国产成人午夜片在线观看高清观看| 国产成人无遮挡在线视频| 不卡视频一二三四| 91国产视频在线观看| 欧美区一区二区三区| 日韩一卡二卡三卡四卡| 久久精品视频在线看| 亚洲欧洲无码一区二区三区| 亚洲高清中文字幕| 国产在线麻豆精品观看| av一区二区三区| 欧美精三区欧美精三区| 久久久亚洲国产美女国产盗摄| 中文字幕亚洲一区二区va在线| 亚洲一区二区三区四区在线免费观看 | 99re这里只有精品视频首页| 日本黄色一区二区| 日韩欧美电影一区| 国产精品高清亚洲| 亚洲福利国产精品| 国产精品综合在线视频| 91丨九色丨蝌蚪富婆spa| 在线播放91灌醉迷j高跟美女| 精品福利av导航| 亚洲免费伊人电影| 麻豆国产精品一区二区三区 | 丁香激情综合国产| 欧美日韩专区在线| 久久久久久一二三区| 亚洲黄色av一区| 精品一区二区三区av| 一本到不卡精品视频在线观看| 欧美一区二区三区人| 中文字幕亚洲精品在线观看| 奇米精品一区二区三区在线观看| 粉嫩aⅴ一区二区三区四区| 欧美久久久久中文字幕| 中文字幕在线一区二区三区| 日本网站在线观看一区二区三区| 成人av在线资源| 精品国内二区三区| 亚洲不卡av一区二区三区| 成人黄色网址在线观看| 日韩欧美久久久| 亚洲主播在线观看| 成人精品小蝌蚪| 日韩免费高清av| 亚洲成国产人片在线观看| 成人av一区二区三区| 欧美大片日本大片免费观看| 亚洲一区二区三区不卡国产欧美| 国产成人免费网站| 亚洲精品一区二区三区福利| 婷婷综合久久一区二区三区| 91视频免费看| 国产精品网站在线观看| 美女网站色91| 欧美日韩精品一区二区三区四区| 成人欧美一区二区三区白人| 国产精一区二区三区| 欧美一级片免费看| 日韩激情av在线| 欧美亚洲动漫另类| 一区二区三区电影在线播| 不卡的av在线| 欧美国产激情一区二区三区蜜月| 裸体在线国模精品偷拍| 91精品在线观看入口| 亚洲成人激情自拍| 欧美午夜精品久久久久久孕妇| 中文字幕在线不卡视频| 成人精品一区二区三区中文字幕| 国产欧美精品在线观看| 国产成人av网站| 久久久99精品久久| 国产精品一区2区| 久久精品欧美一区二区三区麻豆| 久久99精品久久久| 欧美xxxxx牲另类人与| 麻豆成人免费电影| 日韩欧美国产综合一区 | 91精品国产91热久久久做人人| 亚洲自拍偷拍av| 欧美日韩大陆在线| 青青草国产精品97视觉盛宴| 这里只有精品免费| 蜜桃视频一区二区三区在线观看| 欧美一区日韩一区| 激情丁香综合五月| 国产日韩欧美a| 懂色av一区二区三区蜜臀| 国产精品人成在线观看免费| 不卡电影免费在线播放一区| 亚洲三级在线播放| 欧美伊人精品成人久久综合97| 午夜不卡av免费| 日韩欧美亚洲另类制服综合在线| 毛片一区二区三区| 久久久午夜精品理论片中文字幕| 成人深夜视频在线观看| 中文字幕永久在线不卡| 欧美三级欧美一级| 久久精品国产第一区二区三区| 久久综合久久鬼色中文字| 国产成人精品网址| 亚洲日本成人在线观看| 欧美精品自拍偷拍动漫精品| 韩国三级中文字幕hd久久精品| 欧美国产精品一区二区三区| 色88888久久久久久影院野外| 亚洲宅男天堂在线观看无病毒| 91精品国产综合久久福利软件| 国产一区二区三区在线观看免费视频 | 欧美男男青年gay1069videost| 蜜桃久久久久久久| 国产亚洲欧美日韩俺去了| 色8久久精品久久久久久蜜| 日本不卡视频在线| 国产精品欧美综合在线| 在线亚洲一区观看| 乱中年女人伦av一区二区| 国产精品情趣视频| 欧美精品久久一区| 国产成人综合网| 一区二区三区精品| 久久久五月婷婷| 欧美熟乱第一页| 粉嫩av一区二区三区在线播放| 夜夜揉揉日日人人青青一国产精品| 日韩亚洲欧美一区| 99视频超级精品| 久久国产精品区| 亚洲美女淫视频| 精品国产一区二区亚洲人成毛片 | av中文字幕在线不卡| 日韩av在线免费观看不卡| 欧美国产乱子伦| 91麻豆精品国产综合久久久久久 | 欧美日韩精品一区二区三区蜜桃| 国产精品亚洲视频| 日韩国产欧美在线播放| 国产精品国模大尺度视频| 91精品国产综合久久精品麻豆 | 欧美日韩中文一区| 国产v日产∨综合v精品视频| 性久久久久久久久| 国产精品高潮久久久久无| 欧美成va人片在线观看| 欧美伊人久久久久久久久影院| 成人午夜免费av| 久久99九九99精品| 亚洲444eee在线观看| 亚洲啪啪综合av一区二区三区| 2019国产精品| 欧美一级久久久久久久大片| 91麻豆成人久久精品二区三区| 国产一区二区免费在线| 日本美女一区二区| 国产在线精品免费av| 亚洲成人激情社区| 亚洲人成影院在线观看| 国产欧美一区二区三区在线老狼| 日韩精品一区二| 欧美一二三四在线| 欧美精品一卡二卡| 欧美体内she精高潮| 色8久久精品久久久久久蜜| 99久久精品国产网站| 国产成人av电影在线观看| 韩日精品视频一区| 久久99最新地址| 精品综合久久久久久8888| 日韩国产欧美一区二区三区| 天堂在线亚洲视频| 亚洲国产aⅴ成人精品无吗| 亚洲一区二区三区美女| 亚洲一二三区不卡|