javascript »ñÈ¡URL²ÎÊý
function getQueryString(queryStringName)
{
var returnValue="";
var URLString=new String(document.location);
var serachLocation=-1;
var queryStringLength=queryStringName.length;
do
{
serachLocation=URLString.indexOf(queryStringName+"\=");
if (serachLocation!=-1)
{
if ((URLString.charAt(serachLocation-1)=='?') || (URLString.charAt(serachLocation-1)=='&'))
{
URLString=URLString.substr(serachLocation);
break;
}
URLString=URLString.substr(serachLocation+queryStringLength+1);
}
}
while (serachLocation!=-1)
if (serachLocation!=-1)
{
var seperatorLocation=URLString.indexOf("&");
if (seperatorLocation==-1)
{
returnValue=URLString.substr(queryStringLength+1);
}
else
{
returnValue=URLString.substring(queryStringLength+1,seperatorLocation);
}
}
return returnValue;
}
var strKeyword=getQueryString("Keyword");
var strType=getQueryString("Type");
Ïà¹ØÎĵµ£º
scrollHeight: »ñÈ¡¶ÔÏóµÄ¹ö¶¯¸ß¶È¡£
scrollLeft:ÉèÖûò»ñȡλÓÚ¶ÔÏó×ó±ß½çºÍ´°¿ÚÖÐÄ¿Ç°¿É¼ûÄÚÈݵÄ×î×ó¶ËÖ®¼äµÄ¾àÀë
scrollTop:ÉèÖûò»ñȡλÓÚ¶ÔÏó×¶ËºÍ´°¿ÚÖпɼûÄÚÈݵÄ×¶ËÖ®¼äµÄ¾àÀë
scrollWidth:»ñÈ¡¶ÔÏóµÄ¹ö¶¯¿í¶È
offsetHeight:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¸ß¶È
offsetL ......
ÈçºÎÀûÓÃÍøÒ³µ¯³ö¸÷ÖÖÐÎʽµÄ´°¿Ú£¬ÎÒÏë´ó¼Ò´ó¶à¶¼ÊÇÖªµÀЩµÄ£¬µ«ÄÇÖÖ¶àÖÖ¶àÑùµÄµ¯³öʽ´°¿ÚÊÇÔõô¸ã³öÀ´µÄ£¬ÎÒÃǽñÌì¾ÍÀ´Ñ§Ï°Ò»Ï£º 1.µ¯ÆôÒ»¸öÈ«ÆÁ´°¿Ú
;
www.kunde58.com
2.µ¯ÆôÒ»¸ö±»F11»¯ºóµÄ´°¿Ú
;
www.kunde58.com
3.µ¯ÆôÒ»¸ö´øÓÐÊÕ²ØÁ´½Ó¹¤¾ßÀ¸µÄ´°¿Ú ......
0.Á´½ÓcssÎļþºÍjsÎļþ
<link rel="stylesheet" href="../css/style.css" mce_href="css/style.css" type="text/css">
<mce:script language="javascript" src="../includes/jslib.js" mce_src="includes/jslib.js" ></mce:script>
1.¹Ø±ÕÊäÈë·¨
<input style="ime-mode ......
µ¥Ìåģʽ
Óŵã:°Ñ´úÂë×éÖ¯µÃÒ»Ö²¢¸ôÀë,¸üÈÝÒ×ÔĶÁºÍά»¤,Ìá¸ßÎȶ¨ÐÔ;ÓÃÓÚÓÅ»¯,ÌáÉýÐÔÄÜ
ȱµã:¿Éµ¼ÖÂÇ¿ñîºÏ
5.1 µ¥ÌåµÄ»ù±¾½á¹¹
var Singleton = {
attribute1 : true,
attribute2 : 10,
method1 : function(){},
method2 : function(){}
};
Ñϸñ°´¶¨ÒåÀ´Ëµ,C1²»ÊÇÒ»¸öµ¥Ìå,ÒòΪËü²»ÊÇÒ»¸ö¿ÉʵÀ ......
±íµ¥µÄÑéÖ¤ÔÚʵ¼ÊµÄ¿ª·¢µ±ÖÐÊǼþºÜ·³ËöÓÖÎÞȤµÄÊÂÇé
½ñÌìÔÚ×öÒ»¸öСÏîÄ¿µÄʱºò,ÐèÒªJSÑéÖ¤,Ñ°ÕÒµ½Ò»¸ö±È½ÏºÃµÄ¶«Î÷
µØÖ·ÈçÏÂ:
http://blog.csdn.net/goodfunman/archive/2005/10/21/513338.aspx
http://blog.csdn.net/yhl_621/archive/2006/03/04/615273.aspx
http://blog.csdn.net/NetDreamwing/archive/2004/1 ......