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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ÎÞ±êÌâÎĵµ</title>
<mce:style type="text/css"><!--
div,ul {margin:0; padding:0;}
li {float:left; list-style:none}
img {border:0;}
#img_change {position:relative; width:450px; height:296px; background-color:#FC3; overflow:hidden; z-index:1;}
#img_list {position:absolute; top:0px; left:0px; width:1800px; height:296px;}
#img_backdiv {position:absolute;width:450px; height:70px; background-color:#000; bottom:0; z-index:1; filter:alpha(opacity=50);
-moz-opacity:0.5; opacity: 0.5;}
#img_btn {position:absolute;width:450px; height:70px; bottom:0; z-index:3;}
#img_btn li {margin-top:10px; margin-left:30px; border:#666 solid 2px; height:50px;}
#img_btn .imgchange { border:#FFF solid 2px;}
--></mce:style><style type="text/css" mce_bogus="1">div,ul {margin:0; padding:0;}
li {float:left; list-style:none}
img {border:0;}
#img_change {position:relative; width:450px; height:296px; background-color:#FC3; overflow:hidden; z-index:1;}
#img_list {position:absolute; top:0px; left:0px; width:1800px; height:296px;}
#img_backdiv {position:absolute;width:450px; height:70px; background-color:#000; bottom:0; z-index:1; filter:alpha(opacity=50);
-moz-opacity:0.5; opacity: 0.5;}
#img_btn {position:absolute;width:450px; height:70px; bottom:0; z-index:3;}
#img_btn li {margin-top:10px; margin-left:30px; border:#666 solid 2px; height:50px;}
#img_btn .imgchange { border:#FFF solid 2px;}</style>
<mce:script type="text/javascript"><!--
function $(id) { return document.getElementById(id); }
function className(){
var elemList = $('img_btn').getElementsByTagName('li'
Ïà¹ØÎĵµ£º
JavaScriptÊÇ»ùÓÚ¶ÔÏóµÄ½Å±¾±à³ÌÓïÑÔ£¬ÄÇôËüµÄÊäÈëÊä³ö¾ÍÊÇͨ¹ý¶ÔÏóÀ´Íê³ÉµÄ¡£ÆäÖÐÓйØÊäÈë¿Éͨ
¹ý´°¿Ú£¨Window£©¶ÔÏóÀ´Íê³É£¬¶øÊä³ö¿Éͨ¹ýÎĵµ£¨document£©¶ÔÏóµÄ·½·¨À´ÊµÏÖ¡£
Ò»¡¢´°¿Ú¼°ÊäÈëÊä³ö
Çë
¿´ÏÂÃæÀý×Ó£º
<HTML>
<Head>
<script
languaga="JavaScript">
Var test=window. ......
/***************************by
garcon1986********************************/
Java is to
JavaScript what Car is to Carpet
ÂÛ̳½»Á÷£º´óÐ͵Äweb¿ª·¢ÉçÇø
http://www.webdeveloper.com/forum/index.php
W3CschoolsÖÐÎÄÕ¾£º¿ª·¢ÕßµÄʵÓÃ+Ñ§Ï°ÍøÕ¾
http://www.w3school.com.cn/js/index.asp
javascript³ ......
ʼþÔ´¶ÔÏó
event.srcElement.tagName
event.srcElement.type ²¶»ñÊÍ·Å
event.srcElement.setCapture();
event.srcElement.releaseCapture(); ʼþ°´¼ü
event.keyCode
event.shiftKey
event.altKey
event.ctrlKey ʼþ·µ»ØÖµ
event.returnValue Êó±êλÖÃ
event.x
event.y ´°Ìå ......
JavaScript ¿ÉËãÊÇÊÀ½çÉÏ×îÁ÷Ðеıà³ÌÓïÑÔ£¬ËüÔø±» Web ¿ª·¢Éè¼ÆÊ¦ÌùÉÏØ¬ÃεıêÇ©£¬ËäÈ»ÕæÕýµÄجÃÎÆäʵÊÇ DOM
API£¬Õâ¸ö±»´óÁ¿µÄ¿ª·¢ÓëÉè¼ÆÊ¦ËæÊÖÄéÀ´ÔöÇ¿ËûÃÇµÄ Web ǰ¶ËµÄ½Å±¾ÓïÑÔ£¬Èç½ñÔ½À´Ô½±»ÖØÊÓ£¬ËäÔòÈç´Ë£¬JavaScript
ÈÔȻӵÓкܶàÈÃÈ˷ѽâµÄ¶«Î÷¡£
1. ËüÒÔ Java ÃüÃû£¬µ«²¢²»ÊÇ Java
Ëü×î³õ½Ð Mocha£¬ ½Óן ......