javascript¿ª·¢ÏµÁÐ(ÃæÏò¶ÔÏñ)
javascriptÖеÄÃæÏñ¶ÔÏñ¡£
Çë¿´´úÂ룬ÏÂÃæµ¯³öÒ»¸ö¶Ô»°¿ð¡£
<script type="text/javascript">
function win(w, h,,url)
{
this.width = 100;
this.height = 300;
this.time = 10;
this.url = url;
this.openWin = function()
{
var iTop = (window.screen.availHeight) / 2;
var iLeft = (window.screen.availWidth - 10 - w) / 2;
window.showModalDialog('open.htm', '', 'dialogHeight=' + this.height + ',dialogWidth=' + this.width + ',help=0;status=1;scroll=1');
}
}
function getWin() {
var objwin = new win(100, 100, 'open.html');
objwin.openWin();
}
window.onload = function() { getWin(); }
</scr
Ïà¹ØÎĵµ£º
var currItem = listbox.options[currIndex];
var prevItem = listbox.options[currIndex - 1];
&n ......
Ò»¡¢Ä¬ÈϺ¯Êý
JavaScriptÌṩÁËһЩĬÈϵĺ¯Êý
±àÂ뺯Êýescape()£º½«·Ç×Öĸ¡¢Êý×Ö×Ö·ûת»»³ÉASCIIÂë
ÒëÂ뺯Êýunescape()£º½«ASCIIÂëת»»³É×Öĸ¡¢Êý×Ö×Ö·û
ÇóÖµº¯Êýeval()
ÊýÖµÅжϺ¯ÊýisNaN()£ºÅжÏÒ»¸öÖµÊÇ·ñΪ·ÇÊýÖµÀàÐÍ
ÕûÊýת»»º¯ÊýparseInt()£º½«²»Í¬½øÖÆ£¨¶þ¡¢°Ë¡¢Ê®Áù½øÖÆ£©µÄÊýֵת»»³ÉÊ®½øÖ ......
<html>
<head>
<script language="javascript">
function MyClick() ......
<html>
<body>
<style>
ul,li{margin: 0; padding: 0;width:100%;}
</style>
<script language="javascript" type="text/javascript">
function checkword()
{
var wordvalue=document.getElementById("word").value.toLowerCase();
var alltxt="¹ÜÀíÔ±| ......
Technorati ±êÇ©: µçÄÔÏà¹Ø
ÔÎĵØÖ·£ºhttp://www.playes.net/Blog/535.asp
IE ä¯ÀÀÆ÷µÄ½Å±¾Ê§Ð§ÊǸöÔ´Ô¶Á÷³¤µÄÎÊÌâÁË£¬ÓÐʱײÉÏÁËÄÇÒ²Ö»Äܹé½áÓÚÔµ·Ö£¬ÍêȫûµÃ½âÊÍ¡£Õâ´Î±¾È˾ÍÊÇÖдó²ÊµÄÔµ·Ö£¬±»Ð¡Ð¡µØ×²ÁËÒ»ÏÂÑü¡£
µ±È»½Å±¾Ê§Ð§Ò²ÓÐÇáÖØ£¬ÓÐʱÊÇÒ³ÃæÈ«²¿ÀÃɹ£¬Í¼Æ¬ÎÄ×ÖÈ«²¿ÏÔʾ´í룬²Ò²»È̶ã¬Æäʵ»µµÄÕâô³¹µ×·´ ......