Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaScript Êó±êÍÏק½øÐпìËÙ²úÆ··ÖÀàЧ¹û

´úÂëʾÀý
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ÎÞ±êÌâÎĵµ</title>
</head>
<mce:style><!--
.man{ float:left; background:#9af; margin:3px; padding:3px; cursor:default}
--></mce:style><style mce_bogus="1">.man{ float:left; background:#9af; margin:3px; padding:3px; cursor:default}</style>
<body>
<div>
δ·ÖÀà
<div style="width:500px; height:30px; border:#69f solid 1px; margin:3px"><input>
<div onmousedown=mdv() class="man">aaa</div>
<div onmousedown=mdv() class="man">bbb</div>
<div onmousedown=mdv() class="man">ccc</div>
</div>
·ÖÀà1£º<div style="width:500px; height:20px; border:#69f solid 1px; margin:3px" ><input></div>
·ÖÀà2£º<div style="width:500px; height:20px; border:#69f solid 1px; margin:3px" ><input></div>
·ÖÀà3£º<div style="width:500px; height:20px; border:#69f solid 1px; margin:3px" ><input></div>
·ÖÀà4£º<div style="width:500px; height:20px; border:#69f solid 1px; margin:3px" ><input></div>
</div>
<div style="width:500px; height:20px; border:#69f solid 1px; margin:3px" ></div>
<input id=tt><a href="">123</a>
<mce:script type="text/javascript"><!--
function getOffset(obj,isLeftOffset)
{
var offsetValue=0;
while(obj!=null)
{
offsetValue+=obj["offset"+(isLeftOffset?"Left":"Top")];
obj=obj.offsetParent
}
return offsetValue
}
function mdv()
{
obj=event.srcElement
obj.style.position="absolute"
if(event.button==2 ||event.button==0) return;


obj.p=obj.parentNode.parentNode.childNodes
obj.nowp=obj.parentNode
obj.nowp.style.background='#faa'
obj.DS_x=25;
obj.DS_y=15;
obj.setCapture();
obj.moving=true;
obj.onmousemove=function()
{
if(event.button==1&obj.moving)
{
var X=obj.style.pix


Ïà¹ØÎĵµ£º

ÓÃJavascriptÅжÏͼƬÊÇ·ñÔÚ´æÔÚ

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>php°®ºÃÕß|phpfans.net|---ÅжÏÔ¶³ÌͼƬÊÇ·ñ´æÔÚ£¬·ñÔòÌæ»»³ÉĬÈÏͼƬ</title>
</head>
<body>
<p>ÅжÏÔ¶³ÌͼƬÊÇ·ñ´æÔÚ£¬²»´æÔڵĻ°Ìæ»»³ÉĬÈ쵀 ......

JavaScriptÈ¡µÃselect option value

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<mce:style type="text/css"><!--

div#show { float: right; color: blue; }

--></mce:style><style type="text/css" mce_bogus=" ......

ie6ÖÐhrefÉèΪjavascript:void(0)Ò³ÃæÎÞ·¨Ìá½»

<a class="bt_3" href="javascript:void(0)" mce_href="javascript:void(0)" id="btnSubmit1" onclick="submitPage()">Ìá½»</a>
submitPage() ÊÇÎÒ¶¨ÒåµÄÒ»¸öº¯Êý£¬Ô­ÒâÊǵã»÷Õâ¸ö<a>ʱ£¬Ìá½»Ò»¸ö±íµ¥¡£ft, ie6 ¾ÓÈ»²»¿ÉÒÔ£¬ÔõôҲ²»ÄÜÌá½»¡£
¿´À´ÊÇÒòΪ ie6 Ö´ÐÐĬÈ϶¯×÷ÒýÆðÀ´£¬Ä¿Ç°Á½ÖÖ½â¾ö·½·¨£ ......

Javascript Closures

Javascript Closures
Introduction
The Resolution of Property Names on Objects
Assignment of Values
Reading of Values
Identifier Resolution, Execution Contexts and Scope Chains
The Execution Context
Scope chains and [[scope]]
Identifier Resolution
Closures
Automatic Garbage Collecti ......

[JAVASCRIPT] this ¶ÔÏó

¿´Á˺ܶàjavascrip´úÂ룬·¢ÏֺܶàµØ·½Óõ½ÁËthisÕâ¸ö¶ÔÏó£¬ÄÇÕâ¸öµ½µ×ÊÇʲô¶«Î÷°¢£¿
ÏÈÈÃÎÒÃÇÀ´Àí½âÒ»¸ö¸ÅÄ
ÔÚjavascript»áÓÐÒ»¸öÉÏÏÂÎĵĸÅÄÈκÎÒ»¸ö¶ÔÏóÎÞÂÛÊÇObject »¹ÊÇfunction ¶¼»áÓÐÒ»¸öרÓеÄÉÏÏÂÎĶÔÏó£¬Ò²¿ÉÒÔÀí½âΪËü×Ô¼ºµÄÓµÓÐÕß¡£
ÄÇôÎÒÃǺÜÈÝÒ×Ïëµ½Õâ¸öÓµÓÐÕߣ¬±ØÈ»ÓиöÖյ㣬ÄǾÍÊÇwindow¶ÔÏó¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ