javascript»ñÈ¡ä¯ÀÀÆ÷µÄ¿í¶ÈºÍ¸ß¶È
<script language="JavaScript" type="text/JavaScript">
<!--
function displayScreenSize()
{
var bodyWidth =document.body.clientWidth; //ÍøÒ³¿É¼ûÇøÓò¿í
var bodyHeight =document.body.clientHeight; //ÍøÒ³¿É¼ûÇøÓò¸ß
var bodyWidthWithBorder =document.body.offsetWidth; //ÍøÒ³¿É¼ûÇøÓò¿í(°üÀ¨±ßÏߵĿí)
var bodyHeightWithBorder=document.body.offsetHeight; //ÍøÒ³¿É¼ûÇøÓò¸ß(°üÀ¨±ßÏߵĿí)
var bodyWidthWithScroll =document.body.scrollWidth; //ÍøÒ³ÕýÎÄÈ«ÎÄ¿í
var bodyHeightWithScroll=document.body.scrollHeight; //ÍøÒ³ÕýÎÄÈ«Îĸß
var bodyTopHeight =document.body.scrollTop; //ÍøÒ³±»¾íÈ¥µÄÉϱ߾à
var bodyLeftWidth =document.body.scrollLeft; //ÍøÒ³±»¾íÈ¥µÄ×ó±ß¾à
Ïà¹ØÎĵµ£º
Javascript ÕýÔò±í´ïʽʹÓÃÊÖ²á
Javascript 2008-10-30 10:15 ÔĶÁ97 ÆÀÂÛ0
×ֺţº ´ó´ó ÖÐÖРСС
Ò»£®ÕýÔò±í´ïʽƥÅä³£ÓÃÓï·¨
“+”×Ö·û£º¹æ¶¨±í´ïʽ×Ö·û³öÏÖÒ»´Î»ò¶à´Î¡£
“*”×Ö·û£º¹æ¶¨±í´ïʽ×Ö·û³öÏÖÁã´Î»ò¶à´Î¡£
“? ......
javascript²Ù×÷Cookies·½·¨¼¯½õ
function setCookie(name,value)
{
var Days = 1; //´Ë cookie ½«±»±£´æ 1 Ìì
var exp = new Date(); //new Date("December 31, 9998");
exp.setTime(exp.getTime() + Days*24*60*60*1000);
document.cookie = name + ......
¡¾PB.NET±à³ÌϵÁÐ6¡¿ÀûÓÃJavaScript½øÐпͻ§¶Ë±à³Ì
ÆÕͨWEB³ÌÐòÊÇÓÉä¯ÀÀÆ÷·¢³öÇëÇ󣬷þÎñÆ÷ÒÔHTMLÐÎʽ·µ»Ø½á¹û¡£Ò»°ãÇé¿öÏÂÎÒÃÇÔÚPBµÄʼþÀï±àдµÄÈκζԿͻ§¶ËʼþµÄÏìÓ¦´úÂ붼»á²úÉúÒ»´ÎÓë·þÎñÆ÷µÄ½»»¥¹ý³Ì£ºµ±Ò»¸ö¿Í»§¶Ëʼþ±»´¥·¢Ê±£¬JavaScriptÖÐÓÐÒ»¸ö¶ÔÓ¦µÄʼþÈ¥Ïò·þÎñÆ÷·¢ÆðÇëÇ󣬷þÎñÆ÷¶Ë»áµ÷ÓöÔӦʼþµÄ´úÂë² ......
<SCRIPT LANGUAGE="JavaScript">
<!--
function limitNum(obj) {
if(obj.value.replace(/\s/g,"")==""||obj.value.replace(/\s/g,"")=="ÊäÈë¹Ø¼ü×Ö") {
alert('ÇëÊäÈë¹Ø¼ü×Ö')
return false;
}
}
//-->
</SCRIPT>
< ......
Ô´´ÓÚ2007Äê12ÔÂ16ÈÕ£¬2009Äê10ÔÂ15ÈÕǨÒÆÖÁ´Ë¡£
°¦£¬ºÜ¾ÃÒÔǰдµÄ´úÂ룬ɹһɹ£¬¹À¼Æ×Ô¼º¿´¶¼¿´²»¶®ÁË£¬:(
var head="display:''"
img_close=new Image()
img_close.src="/sysManage/images/f.gif"
img_open=new Image()
img_open.src="/sysManage/images/fo.gif"
img3=new Image( ......