<script language=JavaScript src="js/powerpoint.js"></script>  

解决方案 »

  1.   

    这个文件的路径没问题,是因为两个html文件的路径不同。
      

  2.   

    那就不清楚了,直接复制过来是可以的
    <div id=makewing>
    <div class="jiaoliu" >                        
                        <div class="jiaoliu_picture">
                            <div class="jiaoliu_picture_in"><a href="content.asp?id=148"><img src="uploadfiles/TopContents/200922194333.jpg" width="184" height="150" border="0" onload=proDownImage(this,184,150);/></a></div>
                            <a href="content.asp?id=148">08深圳上半年公务员辅导</a>
                        </div>
                            
                        <div class="jiaoliu_picture">
                            <div class="jiaoliu_picture_in"><a href="content.asp?id=147"><img src="uploadfiles/TopContents/200922194027.jpg" width="184" height="150" border="0" onload=proDownImage(this,184,150);/></a></div>
                            <a href="content.asp?id=147">山西招警面试辅导现场</a>
                        </div>
                            
                        <div class="jiaoliu_picture">
                            <div class="jiaoliu_picture_in"><a href="content.asp?id=58"><img src="uploadfiles/TopContents/2009125154439.jpg" width="184" height="150" border="0" onload=proDownImage(this,184,150);/></a></div>
                            <a href="content.asp?id=58">讲座现场</a>
                        </div>
                            
                        <div class="jiaoliu_picture">
                            <div class="jiaoliu_picture_in"><a href="content.asp?id=57"><img src="uploadfiles/TopContents/2009125154119.jpg" width="184" height="150" border="0" onload=proDownImage(this,184,150);/></a></div>
                            <a href="content.asp?id=57">专家深入学生中间解疑答惑</a>
                        </div>         </div></div>
    <script language=JavaScript>
    marqueesHeight=340;
    stopscroll=false;
    with(makewing){
          style.width=0;
          style.height=marqueesHeight;
          style.overflowX="visible";
          style.overflowY="hidden";
          noWrap=true;
          onmouseover=new Function("stopscroll=true");
          onmouseout=new Function("stopscroll=false");
      }
      preTop=0; currentTop=marqueesHeight; stoptime=0;
      makewing.innerHTML+=makewing.innerHTML;
      function init_srolltext(){
      makewing.scrollTop=0;
      setInterval("scrollUp()",1);
    }init_srolltext();function scrollUp(){
      if(stopscroll==true) return;
      currentTop+=1;
      if(currentTop==marqueesHeight+1)
      {
          stoptime+=1;
          currentTop-=1;
          if(stoptime==500) 
          {
              currentTop=0;
              stoptime=0;          
          }
      }
      else {      
          preTop=makewing.scrollTop;
          makewing.scrollTop+=1;
          if(preTop==makewing.scrollTop){
            makewing.scrollTop=marqueesHeight;
            makewing.scrollTop+=1;
            
          }
      }}
    init_srolltext();
    </script>
    </div>
      

  3.   

    真确定路径正确吗?你测试一下,在js中能alert出东西吗
      

  4.   

    <style>
    body{
    font-size:12px;
    margin:0px;
    padding:0px;
    font-family: Arial, Helvetica, sans-serif;
    color:#333333;
    }
    li{ list-style: inside;} 
    .xiao_content{line-height:80%; overflow:hidden;}
    .xiao_content ul{list-style:none; margin:0px; padding:0px;}
    .xiao_content li{float:left;font:12px; text-align:center; width:52px; padding:6px;}h4{ font-family:"黑体"; font-size:16px; height:25px; line-height:25px;}
    h5{ font-family:"黑体"; font-size:14px;}
    .bold_font{ font-family:"黑体"; font-size:16px; height:25px; line-height:25px; margin-left:30px;}
    .bold_font a{ font-family:"黑体";color:#FFFFFF; font-size:16px; height:28px; line-height:28px; margin-left:8px;margin-top:3px;text-decoration:none}/*通栏广告*/
    .ad{padding:0px; height:80px;width:970px; height:80px;float:left; clear:both;}/**/
    .picture_box{ width:145px; height:120px;text-align:center;margin:9px 6px 0px 6px; float:left;line-height:20px;}
    .picture_box a { display:block; text-decoration: none; }
    .picture_box a{ color:#000000;}
    .picture_box a:hover{ color:#BC2931; }.picture_box_in{ width:140px; border:1px solid #CCCCCC; padding:2px;height:104px;line-height:20px;}.info_picture{ width:180px; height:auto; text-align:center; margin:5px auto;}
    .info_picture_in{ width:170px; height:auto; padding:2px; border:1px solid #CCCCCC;}/*交流区图片控制*/
    .jiaoliu{width:450px; float:right; overflow:hidden; background: url(images/dash.gif) repeat-y;margin-bottom:5px;}
    .jiaoliu_picture{ width:209px; text-align:center; height:170px; float:left; margin:0px 5px 5px 5px; overflow:hidden;}
    .jiaoliu_picture a { display:block; text-decoration: none; }
    .jiaoliu_picture a{ color:#000000;}
    .jiaoliu_picture a:hover{ color:#BC2931; }.jiaoliu_picture_in{ width:200px; padding:2px; border:1px solid #CCCCCC; overflow:hidden;margin-bottom:3px;}
    /*交流*/#header{ margin:0px; padding:0px;}
    #topBanner {FLOAT: right}
    .logoBar {MARGIN: 0px auto; WIDTH: 970px; margin-bottom:3px;}
    .clearer{ clear:both;}
    .logo { FONT-SIZE: 0px; BACKGROUND: url(images/logo.jpg) no-repeat; FLOAT: left; WIDTH: 202px; HEIGHT:70px}
    #container{width:970px; margin:5px auto; }
    /*导航*/
    #globalink{ margin:0px; padding:0px; background-image:url(images/bgblue.gif); height:30px;}
    #globalink ul{list-style:none; margin:0px; padding:0px;}
    #globalink li{ float:left; text-align:center; font-family:"黑体"; width:78px;}
    #globalink a{ display:block; color:#ffffff;font-family:"黑体"; padding:0px 6px 0px 6px; float:left; text-align:center; width:78px;}
    /**/
    .fl_nav{ height:30px; line-height:30px; font-size:15px; font-weight:bold; font:"黑体"; border-top:0px; }
    .fl_nav a{ color:#ffffff; margin-right:5px;text-decoration:none;   }
    .fl_nav a:hover{ color:#fffffff;text-decoration:none;   }/*城市名称*/
    #city{ margin-bottom:10px; height:36px; padding:10px; background:url(images/bg_gray.gif);}
    #city_name{margin:0px; padding:0px; width:700px; height:25px;}
    #city_name ul{list-style:none; margin:0px; padding:0px;}
    #city_name li{float:left; text-align:center; width:auto; padding:5px;}
    #city_name a{ display:block; padding:9px 6px 11px 6px;float:left; text-align:center; width:auto; padding:5px;}/*新闻*/
    #news1{
    float:left;
     width:753px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 10px;
    border: 1px solid #cccccc;}
    /*幻灯*/
    .photo_ad{ width:361px; height:260px; border:1px solid #CCCCCC; float:left; margin-top:10px;}
    .news_title{ width:370px; height:260px; padding-left:10px; float:right; background:url(images/xw.gif) no-repeat right top;}
    .news_title a { display:block; text-decoration: none; }
    .news_title a{ color:#000000;}
    .news_title a:hover{ color:#BC2931; }#info{ height:272px; width:193px; border:1px solid #cccccc; border-left:none; float:left; padding:5px;}
    .xinwen{ width:369px; float:right; display:block; overflow:hidden;}
    .xw{ background:url(imagews/xw.gif) no-repeat right top;}
    /*面试*/
    .list{ height:32px; width:968px;background:url(images/titlebar.gif) no-repeat;}
    .list_red{ height:32px; width:968px;background:url(images/longtitle_red.gif) no-repeat;}
    .list1{ height:25px; margin-top:10px; text-align:center;width:100%; border-bottom:1px solid #CCCCCC;line-height:25px}
    .list1 a{}
    .kuai{ width:212px; height:auto; border-right:1px solid #CCCCCC; float:left; margin-top:10px;margin-bottom:10px; margin-left:5px; padding:0px 10px;}
    .text_news{ width:365px; margin:0px; padding:0px;overflow:hidden;}
    .text_news ul{list-style-image: url(images/index_4_3.gif);margin:0px;}
    .text_news li{ font-size:14px; line-height:26px; width:355px;overflow:hidden;}.text{ width:212px;margin:0px; padding:0px;overflow:hidden;}.text ul {list-style-image: url(images/index_4_3.gif);margin:0px;}
    .text li {font-size:14px; line-height:26px; width:210px;}
    .text a { display:block; text-decoration: none; }
    .text a{ color:#000000;}
    .text a:hover{ color:#BC2931; }.text_jiaoliu{ width:470px; margin:0px; float:right;padding:0px; font-size:14px; margin-top:10px;line-height:200%; overflow:hidden;}
    .text_jiaoliu a { display:block; text-decoration: none; }
    .text_jiaoliu a{ color:#000000;}
    .text_jiaoliu a:hover{ color:#BC2931; }/* 规范小标题和其后虚线之间的距离之修改css */
    .subTitle { background:url(images/subTitle_bg.gif)  repeat-x left 0.7em; height:23px; line-height:23px; overflow:hidden; clear:both; }
    .subTitle span { float:left;font-family:"黑体";  display:block; font-size:18px; color:#00137c; background:#fff; padding-right:8px; }
    .subTitle a { float:right; display:block; background:#fff url(images/redarrow.gif) no-repeat 4px 0.5em; padding-left:13px; }
    .subTitle a{ color:#000000;}
    .subTitle a:hover{ color:#BC2931; }
    /*笔试*/
    #row1{margin:0px 0px 10px 0px; padding-bottom:10px; width:968px; height:auto; overflow:hidden; border-left:1px solid #cccccc; border-bottom:1px solid #cccccc; border-right:1px solid #cccccc; }
    /*footer部分*/
    .friendlink{height:30px; line-height:30px; border-bottom:#CCCCCC dashed 1px; font-weight:bold; font-size:14px; text-indent:2em;}
    .footer {BORDER-TOP: #cccccc 1px solid; COLOR:#000; TEXT-ALIGN: center; height:50px; line-height:22px; margin-top:5px;}
    .footer UL {WIDTH: 510px; margin:10px auto 0px; height:10px;  }
    .footer LI {FLOAT: left; MARGIN-RIGHT: 5px; list-style:none; margin-right:10px;}
    .big_content{ margin:10px; font-size:14px; line-height:150%;}/*控制滑块样式*/
    .tabblock {
    width:470px;
     BACKGROUND:#fff repeat-x 0px 0px;
    }
    .tabblock H3 {
     FONT-SIZE:15px;font-family:"黑体";  MARGIN: 0px;LINE-HEIGHT: 25px; HEIGHT: 25px;
    }
    .tabblock H3 .tab {
    width:81PX; FONT-WEIGHT: normal; FLOAT: left; margin-right:7px; PADDING-BOTTOM: 0px;text-align:center;border-bottom:0px; background-image:url(images/bg_tab_02.gif)}
    .tabblock H3 .curtab { color:#990000;OVERFLOW: hidden; HEIGHT: 25px;  margin-right:7px;background-image:url(images/bg_tab_01.gif)
    }
    .tabcontent #news_1{ border-top:1px solid #cccccc;}
    .tabblock H3 a:link{color:#990000;text-decoration:none;}
    .tabblock H3 a:visited { color:#00137c;text-decoration:none;}
    .tabblock H3 a:hover  { color:#990000;text-decoration:none;}
    .tabblock H3 a:active { color:#990000;text-decoration:none; }.msgtitlelist {
    margin-top:-1px; margin-left:-20px; border-top:1px solid #cccccc;LINE-HEIGHT: 1.8em; LIST-STYLE-TYPE: none; text-align:left;
    }
    .msgtitlelist LI {
    OVERFLOW: hidden; HEIGHT: 1.8em
    }
    /*end控制滑块样式*/  .STYLE1 {color: #FF0000}
    </style><!--顶部滑块控制语言
    这是我那个页面里的css,这些会有影响吗?
      

  5.   

    确实是页面的问题,CSS控制了
      

  6.   

    因为你的宽变大了,能容下两个图片,因此jiaoliu这个div中的图片还不够两个makewing的div高度,就不能再次滚动,你试试在jiaoliu多加点内容,以使高度>=两个makewing的div高度