window.dearinterval

解决方案 »

  1.   

    clearInterval--------------------------------------------------------------------------------DescriptionCancels the interval previously started using the setInterval method. Syntax
    object.clearInterval(intervalID)Parameter Description 
    intervalID  Integer specifying which interval to cancel. This value must have been previously returned by the setInterval method. Return ValueNo return value. 
      

  2.   

    就是DHtml的东西,教本里面的!!!
      

  3.   

    取消开始使用setInterval方法前的间隔时间 语法:
    object.clearInterval(intervalID)参数说明: 
    intervalID  指定用于取消时间间隔的值(Integer)。 这个值是由先前使用的setInterval方法所返回的。返回值
    无 应用于
    window 对象
    ________________________________________________________
    setInterval方法的英文介绍:setInterval
    --------------------------------------------------------------------------------
    Description:
    Repeatedly evaluates an expression after a specified number of milliseconds has elapsed. Syntax:
    intervalID = object.setInterval(expression, msec [, language])Parameter Description 
    expression:String containing the script code to execute each time the interval elapses. 
    msec:Integer value or numeric string specifying the length of the interval, in milliseconds. 
    language:Optional. String specifying the language in which the code is executed. Return Value:
    Returns an integer identifier representing the interval. Use this identifier to clear (stop) the interval. Example:
    The following example sets a 5-second interval. Each time the interval elapses, the background color of the document changes. setInterval("changeColor()", 5000);
       .
       .
       .
    function changeColor()
    {
      if (document.body.bgColor == "#ff0000")   // Check if body bgColor is red by comparing to hexidecimal value
          document.body.bgColor = "blue";
      else
          document.body.bgColor = "red";
    }Applies To:
    window
      

  4.   

    有误!!
    因该是“取消先前开始使用的setInterval方法的指定间隔时间”