javascript¶¨Òå¶þάÊý×éµÄ·½·¨
javascript¶¨Òå¶þάÊý×éµÄ·½·¨ javascript±¾ÉíÖ»Ö§³ÖһάÊý×飬
ÓÐʱ·ÇÒªÓõ½¶þάÊý×éµÄʱºò£¬ ¿ÉÒÔ½«Ò»Î¬Êý×éµÄ·ÖÏîÓÖ¶¨ÒåΪһ¸öÊý×飬 ¶þάÊý×é¾ÍÊÇÓÃÊý×é¹¹³ÉµÄÊý×é
Var aa=new Array(); //¶¨ÒåһάÊý×é
for(i=1;i<=10;i++)
{
aa[i]=new Array(); //½«Ã¿Ò»¸ö×ÓÔªËØÓÖ¶¨ÒåΪÊý×é
for(n=0;n<=10;n++)
{
aa[i][n]=i+n; //´Ëʱaa[i][n]¿ÉÒÔ¿´×÷ÊÇÒ»¸ö¶þ¼¶Êý×é
}
}
Ïà¹ØÎĵµ£º
scrollHeight: »ñÈ¡¶ÔÏóµÄ¹ö¶¯¸ß¶È¡£
scrollLeft:ÉèÖûò»ñȡλÓÚ¶ÔÏó×ó±ß½çºÍ´°¿ÚÖÐÄ¿Ç°¿É¼ûÄÚÈݵÄ×î×ó¶ËÖ®¼äµÄ¾àÀë
scrollTop:ÉèÖûò»ñȡλÓÚ¶ÔÏó×¶ËºÍ´°¿ÚÖпɼûÄÚÈݵÄ×¶ËÖ®¼äµÄ¾àÀë
scrollWidth:»ñÈ¡¶ÔÏóµÄ¹ö¶¯¿í¶È
offsetHeight:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¸ß¶È
offsetL ......
Ê×ÏÈÄãÒª¸ãÇå³þÒ»¼þ¶«Î÷£¬¾ÍÊÇJAVA JAVASCRIPT³ýÁ˳¤µÄÏóÒÔÍâûÓÐÒ»ÑùµÄµØ·½£¬JAVAÊÇÒÀÀµÓÚJAVAÐéÄâ»úÔËÐеÄÒ»ÖÖÃæÏò¶ÔÏóµÄÇ¿ÀàÐÍÓïÑÔ£¬JAVASCRIPTÊÇÒÀÀµÓÚä¯ÀÀÆ÷µÄÒ»ÖÖÈôÀàÐÍÓïÑÔ
javascripºÍcssÊÇǶÌ×ÔÚaspÓïÑÔÖеÄ
×ÜÖ®£¬Ë³Ðò¾ÍÊÇ£º
¾²Ì¬ÍøÒ³ÖÆ×÷£ºhtml
ÍøÒ³Èý½£¿Í ......
½üÀ´¿´ÁËDeanµÄ“Convert any colour value to hex in MSIE”£¬ÖÕÓÚ½â¾öÁ˸ù¾Ý¹Ø¼ü×Ö»ñÈ¡ÑÕÉ«rgbÖµµÄÎÊÌâ¡£
˳±ã°Ñ³ÌÐòÒ²ÖØÐÂÕûÀíÒ»·¬£¬²¢Ê¹ÓÃÁË×î½üÕûÀíµÄ¹¤¾ß¿â¡£
Ч¹ûÔ¤ÀÀµ½ÕâÀï
ÏÂÔØÍêÕûʵÀý
³ÌÐò˵Ã÷
¡¾ColorGradsÑÕÉ«Ìݶȡ¿
³ÌÐòColorGradsµÄ×÷ÓÃÊǸù¾ÝÑÕÉ«¼¯ºÏºÍ½¥±ä¼¶ÊýÉú³ÉÑÕÉ«Ìݶȼ¯ºÏ¡£
½¥±ä¼ ......
ÃüÃû¿Õ¼ä£¬Ò»¿´¾ÍÖªµÀÖ÷ҪĿµÄÊÇΪÁ˱ÜÃâ³åÍ»¡£ÏÂÃæ¾ÍÀ´ËµÒ»ÏÂÈçºÎ´òÔì×Ô¼ºµÄJavaScriptÃüÃû¿Õ¼ä¡£
´òÔìJavaScriptÃüÃû¿Õ¼äÆäʵºÜ¼òµ¥£¬Ö»ÐèÒª½«×Ô¼ºµÄº¯Êý¡¢¶ÔÏó¡¢±äÁ¿µÈ·ÅÔÚÒ»¸öαÃüÃû¿Õ¼äÖУ¬¼´ÓÃÒ»¸öÄäÃûº¯Êý°ü×°ÆðÀ´¡£
(function(){
function $(id){
&n ......
¡¡¡¡´ËÎÄΪ¶Á¡¶JavaScript And DHTML Cookbook¡·ºó×ܽá³öÀ´µÄ±Ê¼Ç¡£ÓÉÓÚµ±Ê±Êdzõѧ£¬ËùÒԱʼÇÖÐÄÑÃâÓдíÎ󣬻¶ÓÖ¸Õý¡£Ð»Ð»£¡
·×Ö·û´®(String)
1.ÉùÃ÷
var myString = new String("Every good boy does fine.");
var myString = "Every good boy does fine.";
&n ......