///pc/img/blank.gif" width="12" height="8">当前位置:///default.htm" class="under">亿度网络 -> ///pc/index.htm" class="under">网页制作教程 -> JavaScript实例
///pc/homepage/javascript/sample/img/bule.gif" width="207" height="13"> ///pc/homepage/javascript/sample/img/blank.gif" width="1" height="1"> ///pc/homepage/javascript/sample/img/js.gif" width="186" height="20"> ///pc/homepage/javascript/sample/img/blank.gif" width="1" height="1">
///pc/homepage/javascript/sample/img/blank.gif" width="1" height="1"> ///pc/homepage/javascript/sample/img/blank.gif" width="1" height="1">
     向 前 向 后 翻 页 ///pc/homepage/javascript/sample/img/blank.gif" width="1" height="1">  
    ///pc/homepage/javascript/sample/img/bule1.gif" width="28" height="49">  
效 果 演 示 ///pc/homepage/javascript/sample/img/bule2.gif" width="11" height="18">

 

///pc/homepage/javascript/sample/img/1.gif" border=0 > ///pc/homepage/javascript/sample/img/2.gif" border=0 width="60" height="56" >

   
 
源代码如下 ///pc/homepage/javascript/sample/img/bule2.gif" width="11" height="18">


这段程序放在<body>与</body>之间


   
源程序讲解: ///pc/homepage/javascript/sample/img/bule2.gif" width="11" height="18">
  ///pc/homepage/javascript/sample/img/bule1.gif" width="28" height="49">  

onClick="parent.history.back(); return false;" onMouseOver="self.status='后退' ;return true; 当点击图标时,从当前正在执行调用的文档中,回到上一次访问的历史纪录。当鼠标放在图标上时,状态栏上显示“后退”两字。
onClick="parent.history.forward(); return false;" onMouseOver="self.status='前进'; return true; 当点击图标时,从当前正在执行调用的文档中,装入在URL纪录上的下一个文档。当鼠标放在图标上时,状态栏上显示“前进”两字。

注:图片放在与文件同级的“img”文件夹中,名为1.gif 和2.gif。

  ///pc/homepage/javascript/sample/img/blank.gif" width="1" height="1">  
 

 

网页制作 网页设计 网站建设 网站设计 网站制作 做网站 做网页