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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ref_d-e.htm

?? javascript函數大全HTML javascript函數大全HTML
?? HTM
?? 第 1 頁 / 共 2 頁
字號:
<htm><title>網絡時空——網頁制作</title>
<link rel="shortcut icon" href="../../../../ccisn.ico">
<link href="../../../../common.css" type="text/css" rel="stylesheet"><style type="text/css">
<!--
td,p,div {font-size:9pt;font-family:宋體;}
BODY { font-family:宋體; margin-left:0; margin-top:0; font-size:9pt; background-color:#ffffff;}
A { font-size: 9pt;color:#0000aa; text-decoration:underline;font-family:宋體; }
A:hover,A:active{ color:#FF8019; text-decoration:underline;}
A.top{color:#ffffff;font-size:9pt}
-->
</style>
<body bgcolor="#ffffff" text="#000000" link="#003399" alink="#ff9900" vlink="#000000" background="../../../images/b01.jpg">
<A NAME="Date_object"><H2>Date object</H2></A>
<P>Lets you work with dates and times.

<H3>語法</H3>
<P>To create a Date object:
<PRE>
1. <I>dateObjectName</I> = new Date()
2. <I>dateObjectName</I> = new Date("<I>month day</I>, <I>year hours</I>:<I>minutes</I>:<I>seconds</I>")
3. <I>dateObjectName</I> = new Date(<I>year</I>, <I>month</I>, <I>day</I>)
4. <I>dateObjectName</I> = new Date(<I>year</I>, <I>month</I>, <I>day</I>, <I>hours</I>, <I>minutes</I>, <I>seconds</I>)
</PRE>
<I>dateObjectName</I> is either the name of a new object or a property of an existing object.
<BR><I>month, day, year, hours, minutes, and seconds</I> are string values for form 2 of the 語法. For forms 3 and 4, they are integer values.

<P>To use Date methods:
<PRE>
<I>dateObjectName.methodName(parameters)</I>
</PRE>
<I>dateObjectName</I> is either the name of an existing Date object or a property of an existing object..
<BR><I>methodName</I> is one of the methods listed below.

<P>Exceptions: The Date object's parse and UTC methods are static methods that you use as follows:
<PRE>
Date.UTC(<I>parameters</I>)
Date.parse(<I>parameters</I>)
</PRE>


<H3>Property of</H3>
<LI>None.


<H3>描述</H3>
<P>The Date object is a built-in JavaScript object.

<P>Form 1 of the 語法 creates today's date and time. If you omit hours, minutes, or seconds from form 2 or 4 of the 語法, the value will be set to zero.

<P>The way JavaScript handles dates is very similar to the way Java handles dates: both languages have many of the same date methods, and both store dates internally as the number of milliseconds since January 1, 1970 00:00:00. Dates prior to 1970 are not allowed.


<H3>Properties</H3>
<LI>None.


<H3>Methods</H3>
<LI><A HREF="ref_f-g.htm#getDate_method" getDate_method">getDate</A>
<LI><A HREF="ref_f-g.htm#getDay_method" getDay_method">getDay</A>
<LI><A HREF="ref_f-g.htm#getHours_method" getHours_method">getHours</A>
<LI><A HREF="ref_f-g.htm#getMinutes_method" getMinutes_method">getMinutes</A>
<LI><A HREF="ref_f-g.htm#getMonth_method" getMonth_method">getMonth</A>
<LI><A HREF="ref_f-g.htm#getSeconds_method" getSeconds_method">getSeconds</A>
<LI><A HREF="ref_f-g.htm#getTime_method" getTime_method">getTime</A>
<LI><A HREF="ref_f-g.htm#getTimezoneOffset_method" getTimezoneOffset_method">getTimezoneOffset</A>
<LI><A HREF="ref_f-g.htm#getYear_method" getYear_method">getYear</A>
<LI><A HREF="ref_m-q.htm#parse_method" parse_method">parse</A>
<LI><A HREF="ref_s-s.htm#setDate_method" setDate_method">setDate</A>
<LI><A HREF="ref_s-s.htm#setHours_method" setHours_method">setHours</A>
<LI><A HREF="ref_s-s.htm#setMinutes_method" setMinutes_method">setMinutes</A>
<LI><A HREF="ref_s-s.htm#setMonth_method" setMonth_method">setMonth</A>
<LI><A HREF="ref_s-s.htm#setSeconds_method" setSeconds_method">setSeconds</A>
<LI><A HREF="ref_s-s.htm#setTime_method" setTime_method">setTime</A>
<LI><A HREF="ref_s-s.htm#setYear_method" setYear_method">setYear</A>
<LI><A HREF="ref_t-z.htm#toGMTString_method" toGMTString_method">toGMTString</A>
<LI><A HREF="ref_t-z.htm#toLocaleString_method" toLocaleString_method">toLocaleString</A>
<LI><A HREF="ref_t-z.htm#UTC_method" UTC_method">UTC</A>


<H3>Event handlers</H3>
<LI>None. Built-in objects do not have event handlers.


<H3>例子</H3>
<P>
<XMP>today = new Date()
birthday = new Date("December 17, 1995 03:24:00")
birthday = new Date(95,12,17)
birthday = new Date(95,12,17,3,24,0)
</XMP>


<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="defaultChecked_property"><H2>defaultChecked property</H2></A>
<P>
A Boolean value indicating the default selection state of a checkbox or radio button.

<H3>語法</H3>
<PRE>
1. <I>checkboxName</I>.defaultChecked
2. <I>radioName</I>[<I>index</I>].defaultChecked
</PRE>
<P><I>checkboxName</I> is either the value of the NAME attribute of a checkbox object or an element in the <I>elements</I> array.
<BR><I>radioName</I> is the value of the NAME attribute of a radio object.
<BR><I>index</I> is an integer representing a radio button in a radio object.

<H3>Property of</H3>
<P><A HREF="ref_a-c.htm#checkbox_object" checkbox_object">checkbox</A>, <A HREF="ref_r-r.htm#radio_object" radio_object">radio</A>

<H3>描述</H3>
<P>If an checkbox or radio button is selected by default, the value of the defaultChecked property is true; otherwise, it is false. defaultChecked initially reflects whether the CHECKED attribute is used within an &ltINPUT&gt tag; however, setting defaultChecked overrides the CHECKED attribute.

<P>You can set the defaultChecked property at any time. The display of the checkbox or radio button does not update when you set the defaultChecked property, only when you set the checked property.

<H3>例子</H3>
<P>The following example resets an array of radio buttons called <I>musicType</I> on the <I>musicForm</I> form to the default selection state.

<PRE>
function radioResetter() {
   var i=""
   for (i in document.musicForm.musicType) {
      if (document.musicForm.musicType[i].defaultChecked==true) {
         document.musicForm.musicType[i].checked=true
      }
   }
}
</PRE>

<H3>See also</H3>
<LI><A HREF="ref_a-c.htm#checked_property" checked_property">checked</A> property
<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="defaultSelected_property"><H2>defaultSelected property</H2></A>
<P>
A Boolean value indicating the default selection state of an option in a select object.

<H3>語法</H3>
<PRE><I>selectName</I>.options[<I>index</I>].defaultSelected</PRE>
<P><I>selectName</I> is either the value of the NAME attribute of a select object or an element in the <I>elements</I> array.
<BR><I>index</I> is an integer representing an option in a select object.

<H3>Property of</H3>
<P><A HREF="ref_s-s.htm#select_object" select_object">options</A> array

<H3>描述</H3>
<P>If an option in a select object is selected by default, the value of the defaultSelected property is true; otherwise, it is false. defaultSelected initially reflects whether the SELECTED attribute is used within an &ltOPTION&gt tag; however, setting defaultSelected overrides the SELECTED attribute.

<P>You can set the defaultSelected property at any time. The display of the select object does not update when you set the defaultSelected property, only when you set the selected or selectedIndex properties.

<P>A select object created without the MULTIPLE attribute can have only one option selected by default. When you set defaultSelected in such an object, any previous default selections, including defaults set with the SELECTED attribute, are cleared. If you set defaultSelected in a select object created with the MULTIPLE attribute, previous default selections are not affected.

<H3>例子</H3>
<P>In the following example, the <I>restoreDefault()</I> function returns the <I>musicType</I> select object to its default state. The <B>for</B> loop uses the options array to evaluate every option in the select object. The <B>if</B> statement sets the selected property if defaultSelected is true.
<PRE>
function restoreDefault() {
   for (var i = 0; i < document.musicForm.musicType.length; i++) {
      if (document.musicForm.musicType.options[i].defaultSelected == true) {
         document.musicForm.musicType.options[i].selected=true
      }
   }
}
</PRE>
The previous example assumes that the select object is similar to the following:
<PRE>
&ltSELECT NAME="musicType"&gt 
   &ltOPTION SELECTED&gt R&B
   &ltOPTION&gt Jazz
   &ltOPTION&gt Blues
   &ltOPTION&gt New Age
&lt/SELECT&gt
</PRE>

<H3>See also</H3>
<LI><A HREF="ref_h-l.htm#index_property" index_property">index</A>, <A HREF="ref_s-s.htm#selected_property" selected_property">selected</A>, <A HREF="ref_s-s.htm#selectedIndex_property" selectedIndex_property">selectedIndex</A> properties
<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="defaultStatus_property"><H2>defaultStatus property</H2></A>
<P>
The default message displayed in the status bar at the bottom of the window.

<H3>語法</H3>
<PRE><I>windowReference</I>.defaultStatus</PRE>
<P><I>windowReference</I> is a valid way of referring to a window, as described in the <A HREF="ref_t-z.htm#window_object" window_object">window</A> object.

<H3>Property of</H3>
<P><A HREF="ref_t-z.htm#window_object" window_object">window</A>

<H3>描述</H3>
<P>The defaultStatus message appears when nothing else is in the status bar. Do not confuse the defaultStatus property with the status property. The status property reflects a priority or transient message in the status bar, such as the message that appears when a mouseOver event occurs over an anchor.

<P>You can set the defaultStatus property at any time. You must return true if you want to set the defaultStatus property in the onMouseOver event handler.


<H3>例子</H3>
<P>In the following example, the <I>statusSetter()</I> function sets both the status and defaultStatus properties in an onMouseOver event handler:

<PRE>
function statusSetter() {
   window.defaultStatus = "Click the link for the Netscape home page"
   window.status = "Netscape home page"
}

&ltA HREF="http://www.netscape.com"
   onMouseOver = "statusSetter(); return true"&gtNetscape&lt/A&gt
</PRE>

In the previous example, notice that the onMouseOver event handler returns a value of true. You must return true to set status or defaultStatus in an event handler.

<H3>See also</H3>
<LI><A HREF="ref_s-s.htm#status_property" status_property">status</A> property
<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="defaultValue_property"><H2>defaultValue property</H2></A>
<P>
A string indicating the default value of a password, text, or textarea object.

<H3>語法</H3>
<PRE>
1. <I>passwordName</I>.defaultValue
2. <I>textName</I>.defaultValue
3. <I>textareaName</I>.defaultValue
</PRE>
<P><I>passwordName</I> is either the value of the NAME attribute of a password object or an element in the <I>elements</I> array.
<BR><I>textName</I> is either the value of the NAME attribute of a text object or an element in the <I>elements</I> array.
<BR><I>textareaName</I> is either the value of the NAME attribute of a textarea object or an element in the <I>elements</I> array.

<H3>Property of</H3>
<P><A HREF="ref_m-q.htm#password_object" password_object">password</A>, <A HREF="ref_t-z.htm#text_object" text_object">text</A>, <A HREF="ref_t-z.htm#textarea_object" textarea_object">textarea</A>

<H3>描述</H3>
<P>The initial value of defaultValue differs for each object:
<LI>For text objects, it initially reflects the value of the VALUE attribute.
<LI>For textarea objects, it initially reflects the value specified between the &ltTEXTAREA&gt and &lt/TEXTAREA&gt tags.
<LI>For password objects, it initially is null (for security reasons), regardless of the value of the VALUE attribute.

<P>Setting defaultValue programatically overrides the initial setting. If you programatically set defaultValue for the password object and then evaluate it, JavaScript returns the current value.

<P>You can set the defaultValue property at any time. The display of the related object does not update when you set the defaultValue property, only when you set the value property.

<H3>例子</H3>
<P>The following function evaluates the defaultValue property of objects on the <I>surfCity</I> form and displays the values in the <I>msgWindow</I> window:
<PRE>
function defaultGetter() {
   msgWindow=window.open("")
   msgWindow.document.write("hidden.defaultValue is " +
      document.surfCity.hiddenObj.defaultValue + "&ltBR&gt")
   msgWindow.document.write("password.defaultValue is " +
      document.surfCity.passwordObj.defaultValue + "&ltBR&gt")
   msgWindow.document.write("text.defaultValue is " +
      document.surfCity.textObj.defaultValue + "&ltBR&gt")
   msgWindow.document.write("textarea.defaultValue is " +
      document.surfCity.textareaObj.defaultValue + "&ltBR&gt")
   msgWindow.document.close()
}
</PRE>

<H3>See also</H3>
<LI><A HREF="ref_t-z.htm#value_property" value_property">value</A> property
<!------------------------------------------------------------------------------------------------->
<HR>
<A NAME="document_object"><H2>document object</H2> </A>
<P>Contains information on the current document, and provides methods for displaying htm output to the user.


<H3>語法</H3>
<P>To define a document object, use standard htm 語法:
<PRE>
&LTBODY
   BACKGROUND="<I>backgroundImage</I>"
   BGCOLOR="<I>backgroundColor</I>"
   TEXT="<I>foregroundColor</I>"
   LINK="<I>unfollowedLinkColor</I>"
   ALINK="<I>activatedLinkColor</I>"
   VLINK="<I>followedLinkColor</I>"
   [onLoad="<I>handlerText</I>"]
   [onUnload="<I>handlerText</I>"]&GT
&LT/BODY&GT
</PRE>
<I>BACKGROUND</I> specifies an image that fills the background of the document.
<BR><I>BGCOLOR</I>, <I>TEXT</I>, <I>LINK</I>, <I>ALINK</I>, and <I>VLINK</I> are color specifications expressed as a hexadecimal RGB triplet (in the format "rrggbb" or "#rrggbb") or as one of the string literals listed in <A HREF="tppmsgs/msgs0.htm#11" tppabs="http://www.nease.net/~jim/colors.htm">Color Values</A>.

<P>To use a document object's properties and methods:
<PRE>
1. document.<I>propertyName</I>
2. document.<I>methodName</I>(<I>parameters</I>)
</PRE>
<I>propertyName</I> is one of the properties listed below.
<BR><I>methodName</I> is one of the methods listed below.


<H3>Property of</H3>
<LI><A HREF="ref_t-z.htm#window_object" window_object">window</A>


<H3>描述</H3>
<P>An htm document consists of a &LTHEAD&GT and &LTBODY&GT tag. The &LTHEAD&GT includes information on the document's title and base (the absolute URL base to be used for relative URL links in the document). The &LTBODY&GT tag encloses the body of a document, which is defined by the current URL. The entire body of the document (all other htm elements for the document) goes within the &LTBODY&GT tag.

<P>You can load a new document by using the <A HREF="ref_h-l.htm#location_object" location_object">location</A> object.

<P>You can reference the anchors, forms, and links of a document by using the <I>anchors, forms,</I> and <I>links</I> arrays. These arrays contain an entry for each anchor, form, or link in a document.


<H3>Properties</H3>
<LI><A HREF="ref_a-c.htm#alinkColor_property" alinkColor_property">alinkColor</A> reflects the ALINK attribute
<LI><A HREF="ref_a-c.htm#anchor_object" anchor_object">anchors</A> is an array reflecting all the anchors in a document
<LI><A HREF="ref_a-c.htm#bgColor_property" bgColor_property">bgColor</A> reflects the BGCOLOR attribute
<LI><A HREF="ref_a-c.htm#cookie_property" cookie_property">cookie</A> specifies a cookie
<LI><A HREF="ref_f-g.htm#fgColor_property" fgColor_property">fgColor</A> reflects the TEXT attribute
<LI><A HREF="ref_f-g.htm#form_object" form_object">forms</A> is an array reflecting all the forms in a document
<LI><A HREF="ref_h-l.htm#lastModified_property" lastModified_property">lastModified</A> reflects the date a document was last modified
<LI><A HREF="ref_h-l.htm#linkColor_property" linkColor_property">linkColor</A> reflects the LINK attribute
<LI><A HREF="ref_h-l.htm#link_object" link_object">links</A> is an array reflecting all the links in a document
<LI><A HREF="ref_h-l.htm#location_property" location_property">location</A> reflects the complete URL of a document
<LI><A HREF="ref_r-r.htm#referrer_property" referrer_property">referrer</A> reflects the URL of the calling document
<LI><A HREF="ref_t-z.htm#title_property" title_property">title</A> reflects the contents of the &LTTITLE&GT tag
<LI><A HREF="ref_t-z.htm#vlinkColor_property" vlinkColor_property">vlinkColor</A> reflects the VLINK attribute

<P>The following objects are also properties of the document object:
<LI><A HREF="ref_a-c.htm#anchor_object" anchor_object">anchor</A>
<LI><A HREF="ref_f-g.htm#form_object" form_object">form</A>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩国产另类专区| 极品瑜伽女神91| 亚洲制服丝袜av| 美洲天堂一区二卡三卡四卡视频 | 91精品国产美女浴室洗澡无遮挡| 国产精品福利在线播放| 日本在线不卡视频| bt7086福利一区国产| 91精品国产综合久久香蕉麻豆| 中文字幕va一区二区三区| 丝袜a∨在线一区二区三区不卡| 成人一区二区视频| 日韩欧美在线不卡| 亚洲一区视频在线观看视频| 丰满少妇在线播放bd日韩电影| 欧美日韩精品一区二区在线播放| 欧美激情艳妇裸体舞| 另类小说图片综合网| 欧美日韩高清不卡| 国产精品久久久久天堂| 黄色日韩网站视频| 日韩一区二区三区免费观看| 一区二区三区毛片| 91在线观看地址| 久久久久成人黄色影片| 毛片不卡一区二区| 欧美日韩综合在线| 亚洲另类一区二区| 成人激情小说网站| 国产日韩精品视频一区| 久久电影国产免费久久电影 | 91年精品国产| 国产精品国产三级国产专播品爱网| 精品一区二区三区在线视频| 日韩一级视频免费观看在线| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 99久久综合国产精品| 国产日韩精品一区| 国产精品一区二区你懂的| 2021中文字幕一区亚洲| 精品亚洲欧美一区| 欧美电影精品一区二区| 日韩av电影天堂| 欧美一区二区三区成人| 免费人成黄页网站在线一区二区 | 一区二区三区中文字幕精品精品| 成人免费福利片| 国产精品色哟哟| av在线播放成人| 亚洲美女电影在线| 欧洲av在线精品| 五月婷婷综合激情| 日韩美女天天操| 国产毛片精品视频| 国产精品美女久久久久久久久久久| 国产成人免费在线观看| 国产精品少妇自拍| 色婷婷综合激情| 偷拍自拍另类欧美| 欧美成人a视频| 国产激情视频一区二区三区欧美| 国产欧美一区二区三区网站| 91丨九色porny丨蝌蚪| 午夜精品久久久久久久久久久| 欧美日韩成人激情| 极品瑜伽女神91| 国产精品久久久久久久蜜臀| 在线亚洲+欧美+日本专区| 午夜视频久久久久久| 久久综合色天天久久综合图片| 国产激情精品久久久第一区二区| 亚洲视频图片小说| 欧美日韩国产首页| 国内精品不卡在线| 亚洲日本护士毛茸茸| 在线播放91灌醉迷j高跟美女| 国产麻豆一精品一av一免费 | 国产精品久久影院| 欧美日韩免费电影| 国产成人99久久亚洲综合精品| 亚洲另类在线视频| 精品成人一区二区三区四区| 色综合色综合色综合| 久久国产生活片100| 成人欧美一区二区三区白人 | 日韩免费观看高清完整版 | 成人动漫av在线| 日韩电影免费在线观看网站| 国产精品久久久久久亚洲毛片| 欧美一区二区三区免费观看视频 | 亚洲精品在线观看视频| 欧美在线观看视频一区二区三区| 国产一区二区调教| 五月婷婷欧美视频| 亚洲日韩欧美一区二区在线| 久久综合狠狠综合| 欧美三级在线视频| 成人avav影音| 国产剧情在线观看一区二区| 日韩二区三区四区| 亚洲人成网站色在线观看| 久久久精品国产免费观看同学| 精品视频一区二区不卡| 99re视频精品| 成人午夜在线免费| 国产原创一区二区| 日本在线不卡视频| 亚洲一区av在线| 亚洲素人一区二区| 亚洲国产成人在线| 久久久久国产免费免费| 日韩欧美中文一区二区| 欧美三级韩国三级日本一级| 色哟哟在线观看一区二区三区| 国产成人av电影免费在线观看| 激情伊人五月天久久综合| 婷婷综合另类小说色区| 亚洲自拍欧美精品| 亚洲精品免费看| 亚洲欧洲av另类| 国产精品国产三级国产专播品爱网 | 欧美视频在线播放| 色婷婷国产精品| 91久久精品一区二区三区| 97久久精品人人爽人人爽蜜臀 | 99久久婷婷国产综合精品电影 | 精品福利二区三区| 久久久久九九视频| 国产欧美一区二区精品性| 欧美激情综合五月色丁香 | 国产欧美精品一区二区色综合朱莉| 欧美mv和日韩mv的网站| 亚洲精品一区二区三区四区高清| 亚洲欧美一区二区在线观看| 亚洲天堂福利av| 亚洲一二三区在线观看| 亚洲一区二区美女| 日韩精彩视频在线观看| 蜜臀av亚洲一区中文字幕| 九九国产精品视频| 国产传媒欧美日韩成人| 99久久免费国产| 欧美性猛片xxxx免费看久爱| 日韩亚洲欧美一区二区三区| 国产亚洲一区字幕| 自拍av一区二区三区| 一级中文字幕一区二区| 日韩av一级电影| 国产一区二区美女| 色综合久久中文综合久久97| 欧美色网站导航| 精品国产青草久久久久福利| 国产精品三级电影| 亚洲午夜久久久久久久久电影院| 日本亚洲电影天堂| 国产高清在线精品| 91黄色激情网站| 精品免费99久久| 成人免费在线视频观看| 婷婷丁香激情综合| 国产成人高清在线| 欧美三区在线观看| 国产亚洲欧洲一区高清在线观看| 亚洲免费视频成人| 久久99国产精品久久| 91美女福利视频| 欧美精品一区二区三区久久久| 亚洲私人黄色宅男| 卡一卡二国产精品| 91免费视频大全| 精品国精品国产尤物美女| 亚洲理论在线观看| 韩国欧美国产一区| 欧美日韩一区三区四区| 国产精品乱码久久久久久| 日日夜夜精品视频天天综合网| 成人免费观看视频| 精品入口麻豆88视频| 亚洲综合在线第一页| 成人av在线资源| 久久免费看少妇高潮| 午夜精品久久久久久久99樱桃| a在线播放不卡| 久久久久99精品一区| 首页国产丝袜综合| 91高清在线观看| 国产精品久久久久久久浪潮网站 | 国产真实乱对白精彩久久| 欧美在线一二三四区| 国产精品美女久久久久aⅴ国产馆| 日本女人一区二区三区| 在线视频欧美精品| 国产精品第13页| 国产v日产∨综合v精品视频| 日韩欧美亚洲国产另类| 日韩不卡一区二区| 欧美三级韩国三级日本三斤| 一区二区三区高清| 色婷婷久久99综合精品jk白丝| 中文字幕一区二区三区乱码在线|