· this.CreateMonthGrid = function(theYear, theMonth, theDay){ //refresh the month view to the date, main action is run this.setDayList() and set this.Source.value var theTextObject = this.Source; if (theTextObject == null){ return; } var theName = this.Name; ...
· this.GetTextDate = function(theString){ //convert a string to a date, if the string is not a date, return a empty string var i = 0, j = 0, tmpChar = "", find_tag = ""; var start_at = 0, end_at = 0, year_at = 0, month_at = 0, day_at = 0; var tmp_at...
· <HTML><HEAD><TITLE>jsMonthView Demo</TITLE><META http-equiv="Content-Type" content="text/HTML; charset=gb2312"><Script language="javascript"><!--//this is jsMonthView 1.1, author is Chinese DengKang ...
· function Jtrim(str) //去空隔函数{ var i = 0; var len = str.length; if ( str == "" ) return( str ); j = len -1; flagbegin = true; flagend = true; while ( flagbegin == true && i< len) { if (...
· 将下面的内容保存成.vbs文件,然后双击执行,在打开ie页面,在页面中点击右键,看看菜单中多了个什么!!:) Option Explicit dim hkey_root,hkey_path,hkey_key,filePath dim fs,fso,RegWsh hkey_root="HKEY_CURRENT_USER" hkey_path="\Software\Microsoft\In...
· <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><TITLE>IE6 security...</TITLE><style type="text/CSS">BODY{font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#222222;background-color:#aa...
· <!--- THE SITE IS DESIGNED BY MYHYLI ---> <HTML><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/HTML; charset=gb2312"><script language="JavaScript"><!--var zoomvalu...
· <script language=javascript>function strDateTime(str){var reg = /^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/; var r = str.match(reg); if(r==null)return false; var d= new Date(r[1], r[3]-1,r[4]); var newStr=d.getFullYear()+r[2]+(d.getMonth()+1)+r[2]+d.getDate()return ...
· <select id=I_Year></select>年<select id=I_Mon onChange="seleDate('mon')"></select>月<select id=I_Date onChange="seleDate('date')"></select>日<script>function genYear(sele,year,length) { var d = new Date(); for(i=...