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

JavaScriptÌØÐ§£º×ÝÏò²»¼ä¶Ï¹ö¶¯

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>×ÝÏò²»¼ä¶Ï¹ö¶¯Í¼Æ¬</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Generator" content="Dreamweaver8" />
<meta name="Author" content="·ãÒ¶Ëæ·ç QQ:455948725 E-mail:liukun615@126.com" />
<link rel="shortcut icon" href="http://www.fengyekun.com/favicon.ico" />
<style type="text/css">
<!--
body {font-family:"ËÎÌå", Arial, Helvetica, sans-serif; margin:0px; font-size:12px;}
.clear {clear:both;}
#main {width:100%;}
#content {position:relative; top:50%; margin:-150px auto; width:500px; height:300px; border:1px solid #999; background:#eee; clear:both;}
#left {float:left; width:180px; height:300px; color:#ff0000; writing-mode:tb-rl; font-size:20px; font-weight:bold; line-height:180px; text-align:center;}
#right {float:left; width:120px; height:280px; text-align:center; overflow:hidden; border:10px solid #fff;}
#right img {width:120px; height:90px;}
#demo1 a,#demo2 a {display:block; margin:5px 0px;}
-->
</style>
<script language="javascript">
var Tid;
function MarqueeImage(Direction){
    var speed=20;
    var demo1 = document.getElementById("demo1");
    var demo2 = document.getElementById("demo2");
    var mydiv = document.getElementById("right");
    d


Ïà¹ØÎĵµ£º

JavaScript »ñÈ¡¶ÔÏóµÄ¸ß¶ÈºÍ¿í¶ÈÏêϸ˵Ã÷

scrollHeight: »ñÈ¡¶ÔÏóµÄ¹ö¶¯¸ß¶È¡£
scrollLeft:ÉèÖûò»ñȡλÓÚ¶ÔÏó×ó±ß½çºÍ´°¿ÚÖÐĿǰ¿É¼ûÄÚÈݵÄ×î×ó¶ËÖ®¼äµÄ¾àÀë
scrollTop:ÉèÖûò»ñȡλÓÚ¶ÔÏó×î¶¥¶ËºÍ´°¿ÚÖпɼûÄÚÈݵÄ×î¶¥¶ËÖ®¼äµÄ¾àÀë
scrollWidth:»ñÈ¡¶ÔÏóµÄ¹ö¶¯¿í¶È
offsetHeight:»ñÈ¡¶ÔÏóÏà¶ÔÓÚ°æÃæ»òÓɸ¸×ø±ê offsetParent ÊôÐÔÖ¸¶¨µÄ¸¸×ø±êµÄ¸ß¶È
offsetL ......

asp.net ÔÚǰ̨ºÍºǫ́µ÷Óà javascript º¯Êý

1¡¢Ö±½ÓÔÚǰ̨µ÷Óà javascript º¯Êý
ºÜ¼òµ¥,ÔÚ head ÔªËØÖ®¼ä¼ÓÈë script ÔªËØ,½« type ÔªËØÉèÖÃΪ " text/javascript "
Èç:
<head runat="server">
<mce:script type="text/javascript" ><!--
function ShowName(str)
{
alert("ÄúµÄÃû×ÖΪ:("+str+")");
}
// --></mce:script>
< ......

javascript »º´æÏµÍ³

Ä£·ÂjQuery£¬Éè¼ÆÁËÒ»¸ö»º´æÏµÍ³¡£ÏñjQuery.dataÕâÑùµÄ¶«Î÷£¬PrototypeÓëmootoolsÒ²ÓУ¬Ä¿µÄ¶¼ÊÇÓÃÀ´¸¨Öúʼþϵͳ£¬ÓÃÀ´»º´æÆäÖÐÉú³ÉµÄÊý¾Ý£¬¶ø·Ç»º´æÆÕͨº¯ÊýÉϴμÆËãµÄ½á¹û¡£PrototypeÀûÓÃÁËËüµÄHashÀ࣬mootoolsûϸ¿´£¬ËüÄÚ²¿ºÃÏñÓÃÀ´»º´æuuid¡£Ò»¸ö¹²Ê¶ÊÇ£¬ÎªÒ³ÃæÓõ½µÄÔªËØÉèÖÃuuid·Ç³£ÓÐÓã¬Òª²éÕÒÔªËØÊ±£¬¿ÉÒÔ±ÜÃâÖ ......

JavaScriptÌØÐ§£ºÍ¼Æ¬Êó±ê¹öÂÖËõ·Å

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ͼƬÊó±ê¹öÂÖËõ·Å</title>
<meta http-eq ......

JavaScriptÌØÐ§£ºµ¹¼Çʱ

function LTime(){
    var MyDiv=document.getElementById("mydiv");
    var TempTime=new Date("2050/01/01").getTime();
    var NowTime=new Date().getTime();
    var NowTime=TempTime-N ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ