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

javascript ʵÏÖ·ÖÒ³Ìõ

function Paging(pageNum,pageSize,totalCount,skipCount,fuctionName,currentStyleName,currentUseLink,preText,nextText,firstText,lastText)
{
//debugger;
    var returnValue = "";
    var begin = 1;
    var end = 1;
    var totalpage = Math.floor(totalCount / pageSize);
    if(totalCount % pageSize >0)
    {
        totalpage ++;
    }
   
    if(preText == null)
    {
        firstText = "prev";
    }
    if(nextText == null)
    {
        nextText = "next";
    }
   
    begin = pageNum - skipCount;
    end = pageNum + skipCount;
   
    if(begin <= 0)
    {
        end = end - begin +1;
        begin = 1;
    }
   
    if(end > totalpage)
    {
        end = totalpage;
    }
    for(count = begin;count <= end;count ++)
    {
        if(currentUseLink)
        {
            if(count == pageNum)
            {
                returnValue += "<a class=\""+currentStyleName+"\" href=\"javascript:void(0);\" onclick=\""+fuctionName+"("+count.toString()+");\">"+co


Ïà¹ØÎĵµ£º

javaScriptÑéÖ¤Ìá½»

javaScriptÑéÖ¤Ìá½»
¿´Àý:
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT=""&g ......

Javascriptº¯ÊýÀàÐÍÅжÏÍêÃÀ½â¾ö·½°¸


Javascriptº¯ÊýÀàÐÍÅжÏÍêÃÀ½â¾ö·½°¸
ÔÚÅжϺ¯ÊýÀàÐÍʱ£¬ÎÒÃÇͨ³£Ê¹ÓÃtypeof·½·¨£¬Ò»°ãÇé¿öÏ£¬Ëü»áµÃµ½ÎÒÃÇËùÔ¤ÏëµÄЧ¹û¡£µ«ÊÇ£¬ÓÐһЩϸ½Ú²¢²»ÎªÎÒÃÇËùÊìÖª¡£John Resig ÔÚ·ÖÎöÁËÕâЩϸ½ÚÖ®ºó£¬ÎªÎÒÃÇÌṩÁËÒ»¸öÍêÃÀµÄ½â¾ö·½°¸£¬±¾ÎĽ«×÷Ïêϸ½éÉÜ£º
Ò»¡¢´«Í³·½·¨²»ÎªÈËËùÖªµÄϸ½Ú
ºÁÎÞÒÉÎÊ£¬ÔÚÅжϺ¯ÊýÀàÐÍʱ£¬ÎÒÃÇÊ ......

JavaScriptÉè¼ÆģʽµÄÒ»ÖÖÓÐȤµÄ·âװС¼¼ÇÉ

      javascriptÉè¼ÆģʽµÚÒ»ÕÅÓÐÒ»¸öÓÐȤµÄʵÏּ̳еķ½·¨£¬µ±È»javascript±¾ÖÊÉÏÊÇʵÏּ̳У¬»¹²»ÊǵäÐÍÒâÒåÉϵÄ"is-a"µÄÂß¼­¼Ì³Ð»òÕß˵ÊÇÓïÒå¼Ì³Ð¡£»ù±¾µÄ·½·¨¾ÍÊÇͨ¹ýfunctionµÄprototypeÊôÐÔ¡£
Ò»£¬ºÜ¼òµ¥µÄ·½·¨
<script type="text/javascript">
<!--
var Anim = function(){ ......

JavaScriptÄܽ«Ò³ÃæÖеÄͼƬµ¼³öµ½excel


Javascript´úÂë
<script>    
var idTmr = "";    
function copy(tabid){    
var oControlRange = document.body.createControlRange();    
oControlRange.add(tabid,0);    
oControlR ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ