Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : javascript

Á½¸öЧ¹ûÂùºÃµÄjavascript»ÃµÆƬ£¨Jquery slider£©

http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/
demo£ºhttp://css-tricks.com/examples/FeaturedContentSlider/
Featured Content Slider Using jQuery
http://demo.webdeveloperplus.com/featured-content-slider/ ......

JavaScript ÖеÄÄÚ´æй©ÎÊÌâ

ÓÉÓÚ×î½ü×Ô¼ºµÄFireFox¾­³£³öÏÖµ÷ÓÃJS½Å±¾Ê±Ôì³ÉÄÚ´æÒç³ö¶ø²úÉú¼ÙËÀµÄÏÖÏ󣬽ñÌì¸ÕºÃÓÐÐÒ¿´µÄIBMÍøÕ¾ÀïÕâƪÎÄÕ£¬¶ø×Ô¼ºÏÖÔÚÓÖÔÚѧϰJS£¬¿´ÁËÒÔºó¾õµÃдµÄ·Ç³£²»´í£¬Ìáµ½Á˺ܶàÎÒÃÇƽʱÔÚ±àдJS´úÂëʱÈÝÒ×Ôì³ÉµÄ´íÎó¡£ÏÖ½«´ËÎÄ·ÖÏí¸ø´ó¼Ò£¡
Internet Explorer ºÍ Mozilla Firefox ÊÇÁ½¸öÓë JavaScript ÖеÄÄÚ´æй©ÁªÏµ×îΪ½ôÃܵÄä¯ÀÀÆ÷¡£Á½¸öä¯ÀÀÆ÷ÖÐÔì³ÉÕâÖÖÎÊÌâµÄ“×ï¿ý»öÊ×”ÊÇÓÃÀ´¹ÜÀí DOM ¶ÔÏóµÄ×é¼þ¶ÔÏóÄ£ÐÍ¡£±¾»ú Windows COM ºÍ Mozilla's XPCOM ¶¼Ê¹ÓÃÒýÓüÆÊýµÄÀ¬»øÊÕ¼¯À´½øÐÐÄÚ´æ·ÖÅäºÍ¼ìË÷¡£ÒýÓüÆÊýÓëÓÃÓÚ JavaScript µÄ±ê¼Ç-Çå³ýʽµÄÀ¬»øÊÕ¼¯²¢²»×ÜÊÇÄÜÏ໥¼æÈÝ¡£±¾ÎIJàÖؽéÉܵÄÊÇÈçºÎÓ¦¶Ô JavaScript ´úÂëÖеÄÄÚ´æй©¡£
JavaScript ÖеÄÄÚ´æй©
JavaScript ÊÇÒ»ÖÖÀ¬»øÊÕ¼¯Ê½ÓïÑÔ£¬Õâ¾ÍÊÇ˵£¬ÄÚ´æÊǸù¾Ý¶ÔÏóµÄ´´½¨·ÖÅä¸ø¸Ã¶ÔÏóµÄ£¬²¢»áÔÚûÓжԸöÔÏóµÄÒýÓÃʱÓÉä¯ÀÀÆ÷Êջء£JavaScript µÄÀ¬»øÊÕ¼¯»úÖƱ¾Éí²¢Ã»ÓÐÎÊÌ⣬µ«ä¯ÀÀÆ÷ÔÚΪ DOM ¶ÔÏó·ÖÅäºÍ»Ö¸´ÄÚ´æµÄ·½Ê½ÉÏÈ´ÓÐЩ³öÈë¡£
Internet Explorer ºÍ Mozilla Firefox ¾ùʹÓÃÒýÓüÆÊýÀ´Îª DOM ¶ÔÏó´¦ÀíÄÚ´æ¡£ÔÚÒýÓüÆÊýϵͳ£¬Ã¿¸öËùÒýÓõĶÔÏ󶼻ᱣÁôÒ»¸ö¼ÆÊý£¬ÒÔ»ñϤÓжàÉÙ¶ÔÏóÕýÔÚÒýÓÃËü¡£È ......

javascript³£ÓÃ֪ʶ

navigator¶ÔÏóÖ÷ÒªÓÃÓÚ¼ì²âä¯ÀÀÆ÷µÄ°æ±¾£¬¸Ã¶ÔÏóµÄÊôÐÔÖ÷ÒªÓУº
appcodeName£º
appVersion
.....
JavaScriptÖб£Áô×Ö¡£¡£¡£
ת»»º¯Êýeval("12.34*12")
parseInt()
parseFloat();
join() °ÑÒ»¸öÊý×éµÄËùÓÐÔªËض¼×ª»»³É×Ö·û´®
reverse()µßµ¹Êý×é
sortÅÅÐò
concat()
slice()
splice()
push()
pop()
toString()
ToSource()
2.  ÄÚÖöÔÏó
isNaN() isFinite() parseInt() parseFloat()
encodeURI  encodeCompoment()
Global ¶ÔÏóÊôÐÔ
math¶ÔÏó
ËÞÖ÷¶ÔÏó
this¹Ø¼ü×Ö ......

javascriptÏÔʾʱ¼ä


 //ÏÔʾµ±Ç°Ê±¼ä----------------------------------------------------------
<SCRIPT language="javascript" type="text/javascript" >
function reloop(){
 var time = new Date( ); //»ñµÃµ±Ç°Ê±¼ä
 //»ñµÃÄê¡¢Ô¡¢ÈÕ£¬Date()º¯ÊýÖеÄÔ·ÝÊÇ´Ó0£­11¼ÆËã
 var year = time.getFullYear(); 
 var month = time.getMonth()+1;
 var date = time.getDate();
 //»ñµÃСʱ¡¢·ÖÖÓ¡¢Ãë
 var hour = time.getHours(); 
 var minute = time.getMinutes();
 var second = time.getSeconds();
 //»ñµÃÒ»¸öÐÇÆÚÖеĵڼ¸Ìì,Î÷·½µÄÐÇÆÚÊÇ´ÓÐÇÆÚÈÕ¿ªÊ¼£¬ÐÇÆÚÁù½áÊø
 var day = time.getDay();
 if (minute < 10) //Èç¹û·ÖÖÓÖ»ÓÐ1룬²¹0ÏÔʾ
   minute="0"+minute;
 if (second < 10) //Èç¹ûÃëÊýÖ»ÓÐ1룬²¹0ÏÔʾ
   second="0"+second;
 
 var weekDesc = new Array("ÐÇÆÚÌì","ÐÇÆÚÒ»","ÐÇÆÚ¶þ","ÐÇÆÚÈý","ÐÇÆÚËÄ","ÐÇÆÚÎå","ÐÇÆÚÁù");
 for(var i=0;i<weekDesc.length;i++){
  if(day==i){
  docu ......

javascript stuffs

Primitive types
1. undefined, null, boolean, number, string; undefined is derived from null.
e.g. var tmp; typeof tmp == undefined.
e.g. void(javascript:aler(¡®x¡¯)) == undefined.
e.g. undefined==null
2. NaN!=NaN isNaN(¡°123¡±)==false isNaN(¡°blue¡±)==true
3. var num = 10; num.toString();num.toString(2);num.toString(8);num.toString(16) 4. parseInt, parseFloat 5. object class     properties: constructor, prototype     methods: hasOwnProperty(property), isPrototypeOf(object), propertyIsEnumberable(property),toString(),valueOf() 6. ÔÚBoolean±íʾ´óÖУ¬ËùÓжÔÏ󶼻ᱻ×Ô¶¯×ª»»Îªtrue 7. Number class: toFixed, MAX_VALUE, POSITIVE_INFINITE, NEGATIVE_INFINITE, toPrecision, toExponential 8. String: length, charAt(), concat, indexOf, lastIndexOf, localeCompare, compare, subString, slice, toLowerCase, toLowerCase, toUpperCase, toLocaleUpperCase, ......

JavaScriptʵÏÖÒ³Ãæ´«Öµ

ÎÒ»¹ÊDzËÄñ£¬Çë´ó¼Ò¶àÖ¸½Ì£¡
Ò³ÃæÒ»£º
<html>
 <head>
  <title> Ò³Ãæ´«ÖµÒ» </title>
  <script>
    function funShow()
 {
    var arr=new Array(6);
       var arrs = showModalDialog("Ò³Ãæ´«Öµ¶þ.html");
       for(i=0;i<6;i++)
    {
         arr[i]=arrs.substr(0,arrs.indexOf(","));
   arrs=arrs.substr(arrs.indexOf(",")+1,arrs.length);
    }
    document.getElementById("f1").innerHTML=arr[0];
    document.getElementById("f2").innerHTML=arr[1];
    document.getElementById("f3").innerHTML=arr[2];
    document.getElementById("f4").innerHTML=arr[3];
    document.getElementById("f5").innerHTML=arr[4];
    document.getElementById("f6").innerHTML=arr[5];
 }
  ......
×ܼǼÊý:2244; ×ÜÒ³Êý:374; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [12] [13] [14] [15] 16 [17] [18] [19] [20] [21]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ