两位能不能举个例子说说怎么用id来控制?就用三个页面,其中一个是index.htm,另两个是a.htm和b.htm

解决方案 »

  1.   

    麻烦两位说说ID和NAME有什么用?怎么样用,最好能举例子,明白后就结贴了.
      

  2.   

    右上的iframe处这样改:
    ------------------------
    ... ...                <td height="126" width="278">                                                                                                                                                                                                             
    <iframe  border=0 frameborder=0 framespacing=0 height='100%' marginheight=0 marginwidth=0 name=new_date1 noResize scrolling=no  src="c.htm" width='100%'  vspale="0"></iframe></td>                                          
                    <td width="27">                                                                                                                                                                                                                           
                      <table width="8" border="0" cellspacing="0" cellpadding="0" align="left">                                                                                                                                                               
                        <tr>                                                                                                                                                                                                                                  
                          <td><img onMouseDown=movover();movstar(-8,2)                                                                                                                                                                                        
                            onMouseOut=movover()                                                                                                                                                                                                              
                            onMouseOver="movstar(-1,20);new_date = new_date1;"
                            onMouseUp=movover();movstar(-1,20) height=11                                                                                                                                                                                      
                src="images/up.jpg" width=11 border=0 alt=":::向上:::"></td>                                                                                                                                                                                  
                          </tr>                                                                                                                                                                                                                               
                        <tr>                                                                                                                                                                                                                                  
                          <td height="84">&nbsp;</td>                                                                                                                                                                                                         
                          </tr>                                                                                                                                                                                                                               
                        <tr>                                                                                                                                                                                                                                  
                          <td><img onfocus="theFrame = new_date1" src="images/down.jpg" onMouseDown=movover();movstar(8,2)                                                                                                                                                                   
                            onMouseOut=movover()                                                                                                                                                                                                              
                            onMouseOver="movstar(1,20);new_date = new_date1;"                                                                                                                                                                                                         
                            onMouseUp=movover();movstar(1,20) width="11" height="11" alt=":::向下:::" border="0"></td>                                                                                                                                        
                          </tr>                                                                                                                                                                                                                               
                      </table>                                                                                                                                                                                                                                
                    </td>                                                                                                                                                                                                                                     
      

  3.   

    左下的iframe处这样改:
    ------------------------
    ... ...<td width="198" height="126"><table width="198" border="0" cellspacing="0" cellpadding="0" height="126" align="center">                                                                                                         
                                <tr>                                                                                                                                                                                                                          
                                  <td height="126" width="278"><iframe  border=0 frameborder=0 framespacing=0 height='100%' marginheight=0 marginwidth=0 name=new_date2 noResize scrolling=no  src="b.htm" width='100%'  vspale="0"></iframe></td>
                                  <td width="27">                                                                                                                                                                                                             
         <table width="8" border="0" cellspacing="0" cellpadding="0" align="left">                                                                                                                                                
                                      <tr>                                                                                                                                                                                                                    
                                        <td><img onMouseDown=movover();movstar(-8,2)                                                                                                                                                                          
                            onMouseOut=movover()                                                                                                                                                                                                              
                            onMouseOver="movstar(-1,20);new_date = new_date2;"                                                                                                                                                                                                        
                            onMouseUp=movover();movstar(-1,20) height=11                                                                                                                                                                                      
                src="images/up.jpg" width=11 border=0 alt=":::向上:::"></td>                                                                                                                                                                                  
                                      </tr>                                                                                                                                                                                                                   
                                      <tr>                                                                                                                                                                                                                    
                                        <td height="84">&nbsp;</td>                                                                                                                                                                                           
                                      </tr>                                                                                                                                                                                                                   
                                      <tr>                                                                                                                                                                                                                    
                                        <td><img src="images/down.jpg" onMouseDown=movover();movstar(8,2)                                                                                                                                                     
                            onMouseOut=movover()                                                                                                                                                                                                              
                            onMouseOver="movstar(1,20);new_date = new_date2;"                                                                                                                                                                                                         
                            onMouseUp=movover();movstar(1,20) width="11" height="11" alt=":::向下:::" border="0"></td>                                                                                                                                        
                                      </tr>                                                                                                                                                                                                                   
                                  </table></td>
      

  4.   

    生于虚幻死于现实,你好,我用你的方法试过了,还是不行,这样变成两个都不能滚屏了,是否因为name=new_date1或name=new_date2的名字和script 里面的函数的参数不一样?请帮忙解决,谢谢.