400¶à¸öJavaScriptÌØЧ´óÈ«
400¶à¸öJavaScriptÌØЧ´óÈ«£¬°üº¬È«²¿Ô´´úÂëºÍÏêϸ´úÂë˵Ã÷£¬²»¿É¶àµÃ
JavaScriptʵÏÖ¿ÉÒÔÍêÈ«×ÔÓÉÍÏקµÄЧ¹û£¬´øÈý¸ö·¶Àý http://www.sharejs.com/showdetail-501.aspx
javascriptʵÏÖ¿ÉÒÔ×ÔÓÉÍ϶¯µÄÊ÷ÐÎÁбí http://www.sharejs.com/showdetail-500.aspx
´øÄ£¿é±à¼¹¦ÄÜÍÏקЧ¹ûʵÏÖ http://www.sharejs.com/showdetail-499.aspx
JavaScriptÍÏק¸øÍøÒ³²¼¾ÖЧ¹û£¬¿á http://www.sharejs.com/showdetail-498.aspx
JavaScriptÍÏקЧ¹û - ʵÏÖÎÊ´ð±ÈÈüÓÎÏ·µÄ½Å±¾ http://www.sharejs.com/showdetail-497.aspx
JavaScriptʵÏÖÍÏקָ¶¨µÄÄ£¿éµ½¿ò¼ÜÄÚ http://www.sharejs.com/showdetail-496.aspx
JavaScriptʵÏÖ¿Éͨ¹ýÍÏק½øÐÐÖØÅŵÄÎÄÕÂÁбí http://www.sharejs.com/showdetail-495.aspx
JavaScriptʵÏÖ¿É×Ô¶¨ÒåÅÅÐòµÄ±í¸ñ http://www.sharejs.com/showdetail-494.aspx
JavaScriptʵÏÖ¿É×Ô¶¨ÒåÅÅÐòµÄ±í¸ñ http://www.sharejs.com/showdetail-493.aspx
JavaScriptʵÏÖXPЧ¹ûµÄTabÇл»±êÇ©¹¦ÄÜ http://www.sharejs.com/showdetail-492.aspx
µã»÷Îı¾¿ÉÒÔÖ±½Ó½øÐб༵ÄJavaScript½Å±¾ http://www.sharejs.com/showdetail-490.aspx
JavaScriptʵÏÖ¿É×Ô¶¨ÒåµÄÑÕÉ«ÌáÈ¡Æ÷ http://www.sharejs.com/showdetail-489.aspx
´¿CSSʵÏÖËæÒâ¸ü»»Í¼±êµÄ»·Ðβ˵¥ http://www.sharejs.com/showdetail-488.aspx
³¬¿áµÄ±íµ¥ÏîÄ¿ÌáʾÐÅÏ¢¿ò http://www.sharejs.com/showdetail-487.aspx
¸ßÁÁÏÔʾѡÖеÄÎı¾ÊäÈë¿ò http://www.sharejs.com/showdetail-486.aspx
Ò»¸öÁù½ÇÐεġ¢ÀàËÆÂí·äÎѵIJ˵¥ http://www.sharejs.com/showdetail-485.aspx
JavaScript¶¯Ì¬±íµ¥ÑéÖ¤½Å±¾ http://www.sharejs.com/showdetail-484.aspx
JavaScriptʵÏÖÁ½¸ö¶àÑ¡¿òµÄÊý¾Ý½»»»´úÂë http
Ïà¹ØÎĵµ£º
À´Ô´£ºhttp://blog.csdn.net/yjq8116/archive/2008/11/04/3219993.aspx
·½·¨Ö÷ÒªÓÐÈýÖÖ
ת»»º¯Êý¡¢Ç¿ÖÆÀàÐÍת»»¡¢ÀûÓÃjs±äÁ¿ÈõÀàÐÍת»»¡£
1. ת»»º¯Êý
jsÌṩÁËparseInt()ºÍparseFloat()Á½¸öת»»º¯Êý¡£Ç°Õß°Ñֵת»»³ÉÕûÊý£¬ºóÕß°Ñֵת»»³É¸¡µãÊý¡£Ö»ÓжÔStringÀàÐ͵÷ÓÃÕâЩ·½·¨£¬ÕâÁ½¸öº¯Êý²ÅÄÜÕýÈ·ÔËÐУ»¶ÔÆäËûÀàÐÍ·µ» ......
·½·¨Ö÷ÒªÓÐÈýÖÖ
ת»»º¯Êý¡¢Ç¿ÖÆÀàÐÍת»»¡¢ÀûÓÃjs±äÁ¿ÈõÀàÐÍת»»¡£
1. ת»»º¯Êý
jsÌṩÁËparseInt()ºÍparseFloat()Á½¸öת»»º¯Êý¡£Ç°Õß°Ñֵת»»³ÉÕûÊý£¬ºóÕß°Ñֵת»»³É¸¡µãÊý¡£Ö»ÓжÔStringÀàÐ͵÷ÓÃÕâЩ·½·¨£¬ÕâÁ½¸öº¯Êý²ÅÄÜÕýÈ·ÔËÐУ»¶ÔÆäËûÀàÐÍ·µ»ØµÄ¶¼ÊÇNaN(Not a Number)¡£
ÔÚÅжÏ×Ö·û´®ÊÇ·ñÊÇÊý×Öֵǰ£¬parseInt()ºÍ ......
ÔÚ×öÍøÕ¾µÄʱºò£¬ÎÒÃǾ³£ÐèÒª¶Ô³ß´ç³¬±êµÄͼƬ½øÐÐËõ·Å¡£
ÓÉÓÚä¯ÀÀÆ÷µÄ²îÒ죬ÓÐЩ´úÂëijЩä¯ÀÀÆ÷¹¤×÷²»Õý³£¡£
¾¹ýÑо¿µÃµ½ÁËÒÔϵĴúÂ룬Ëü¿ÉÒÔÔÚIE6,IE8,FireFoxÖÐÍêÃÀµØ°´±ÈÀýËõ·ÅͼƬ¶ø²»Ê§Õæ¡£
//¸Ä±äͼƬ´óС
function resizepic(o)
{
var maxwidth=550; //¶¨Òå×î´ó¿í¶È
var maxheight=800;&nbs ......
function openCheck()
{
if (!this.external)
{
app.alert("Acrobat¤Ç¤Ï実ÐФǤ¤Þ¤»¤ó");
this.closeDoc(true);
// var myDoc = event.target;
// myDoc.closeDoc(true);
}
}
openCheck();
ÐèҪעÒâµÄÊÇ:
1. ÉÏÊöµÄsourceÖ»ÄÜÔÚPDF ÓÃAcrobat Reader´ò¿ªÊ±²ÅÆð×÷ÓÃ,
ÈçÓÃIEµÈ´ò¿ªÊ±»á±¨¡¸NotSu ......
<html>
<head>
<title>²âÊÔÊäÈë×Ö·û</title>
<script language=javascript>
String.prototype.lenB =function(){
return this.replace(/[^\x00-\xff]/g,"**").length;
}
function a() ......