とほほのJavaScript入門
HOME >
とほほのWWW入門 >
とほほのJavaScript入門
1998年5月31日版
基本オブジェクト
- 数値(Number)
Number() NaN MAX_VALUE MIN_VALUE POSITIVE_INFINITY NEGATIVE_INFINITY
prototype toString()
- 文字列(String)
String() length prototype anchor() big() blink() bold() charAt()
charCodeAt() concat() fixed() fontcolor() fontsize() formCharCode()
indexOf() italics() lastIndexOf() link() match() replace() search() slice()
small() split() sub() substr() substring() sup() toLowerCase() toUpperCase()
- 真偽(Boolean)
Boolean() prototype toString()
- オブジェクト(Object)
Object() constructor prototype eval() toString()
- 配列(Array)
Array() index input length prototype concat() join() pop() push()
reverse() shift() slice() splice() sort() toString() unshift()
- 日付(Date)
Date() prototype getYear() getMonth() getDate() getHours() getMinutes()
getSeconds() getTime() getTimezoneOffset() setYear() setMonth() setDate()
setHours() setMinutes() setSeconds() setTime() toGMTString() toLocaleString()
UTC() parse()
- 数学関数(Math)
E LN2 LN10 LOG2E LOG10E exp() log() SQRT1_2 SQRT2 sqrt() abs() ceil()
floor() round() PI sin() cos() tan() asin() acos() atan() atan2() max()
min() pow() random()
- 正規表現(RegExp)
RegExp() lastIndex ignoreCase global source lastMatch leftContext rightContext lastParen $n compile() exec() test() length index input
- 関数(Function)
function Function() arity arguments caller prototype toString()
- ビルトイン関数
escape() unescape() Number() String() parseFloat() parseInt() isNaN()
eval() taint() untaint()
- ナビゲーター(navigator)
appCodeName appMinorVersion appName appVersion browserLanguage
connectionSpeed cookieEnabled cpuClass language onLine platform
systemLanguage userProfile javaEnabled() preference() taintEnabled()
- MIMEタイプ(navigator.mimeTypes)
length description enabledPlugin suffixes type
- プラグイン(navigator.plugins)
length refresh() name description filename
- ウィンドウ(window)
clientInformation closed defaultStatus dialogArguments dialogHeight
dialogLeft dialogTop dialogTop dialogWidth innerHeight innerWidth
locationbar menubar name offscreenBuffering opener outerHeight outerWidth
pageXOffset pageYOffset parent personalbar returnValue scrollbars self
status statusbar toolbar top window alert() back() blur() captureEvents()
clearInterval() clearTimeout() close() confirm() disableExternalCapture()
enableExternalCapture() execScript() find() focus() forward() handleEvent()
home() moveBy() moveTo() navigate() open() print() prompt() releaseEvents()
resizeBy() resizeTo() routeEvent() scroll() scrollBy() scrollTo()
setInterval() setTimeout() showHelp() showModalDialog() stop()
- ヒストリー(window.history)
length current next previous back() forward() go()
- ロケーション(window.location)
href protocol host hostname port pathname hash search assign() reload()
replace()
- スクリーン(window.screen)
height width availHeight availWidth coorDepth pixelDepth bufferDepth
updateInterval
- ドキュメント(window.document)
activeElement alinkColor bgColor charset cookie defaultCharset domain
embeds expando fgColor formName lastModified linkColor parentWindow
plugins readyState referrer selection title URL vlinkColor captureEvents()
clear() close() createElement() createStyleSheet() elementFromPoint()
execCommand() getSelection() handleEvent() open() queryCommandEnabled()
queryCommandIndeterm() queryCommandState() queryCommandSupported()
queryCommandText() queryCommandValue() releaseEvents() routeEvent()
showHelp() write() writeln()
- アンカー(window.document.anchors)
length
- アプレット(window.document.applets)
length
- イメージ(window.document.images)
border complete height hspace lowsrc name src vspace width
handleEvent() prototype
- レイヤ(window.document.layers)
length above background below bgColor clip.top clip.bottom clip.left
clip.right clip.height clip.width document left name pageX pageY parentLayer
siblingAbove siblingBelow src top visibility zIndex
captureEvents() handleEvent() load() moveAbove() moveBelow() moveBy()
moveTo() moveToAbsolute() releaseEvents() resizeBy() resizeTo()
routeEvent()
- リンク(window.document.links)
length hash host hostname href pathname port protocol search target
text handleEvent()
- イベント概要
- イベントハンドラ
onAbort onBlur onClick onDblClick onChange onDragDrop onError onFocus
onKeyDown onKeyPress onKeyUp onLoad onMouseDown onMouseMove onMouseOver
onMouseOut onMouseUp onMove onReset onResize onSelect onSubmit onUnload
- イベントオブジェクト(event)
target type data which modifiers height width layerX layerY pageX pageY
screenX screenY
Copyright(C)
とほほ
(
http://www2e.biglobe.ne.jp/~s-hasei/ )