| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 800 人关注过本帖
标题:急!!!求助一个滚动图片代码放置问题
只看楼主 加入收藏
zln
Rank: 1
等 级:新手上路
帖 子:73
专家分:0
注 册:2006-1-6
收藏
 问题点数:0 回复次数:3 
急!!!求助一个滚动图片代码放置问题
请教:我做了一个滚动显示图片的代码,放在主页文件中.但放置位置始终不对,不能达到显示在页面底端的目的,麻烦各位帮忙看看吧!急!
在主页index.asp中,我将滚动显示图片的代码include进来,但现的问题是:图片将原本显示集团单位信息的内容覆盖了
<td height="14" colspan="3" valign="top">
                                                        <P><FONT size="2" color="#330066"><STRONG></STRONG></FONT> </P>
                                                        <P><FONT color="#330066" size="2"><STRONG>后勤集团单位:.</STRONG></FONT></P>
                                                 </td>
                                          </tr>
                                          <tr>
                                                 <td height="168" width="19"> </td>
                                                 <td height="168" width="3"> </td>
                                                 <td valign="top" height="168">
                                                        <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#cc99cc" height="140"> <!--DWLayoutTable-->
                                                               <tr>
                                                                      <td>
                                                                     
                                                                             <table width="100%" border="0" height="100%">
                                                  <%showintroduction() %>
                                                                             </table>
                                                                             <tr>
                                                
                                          </tr>
                                                                             <!--#include file="gundong.html"-->
                                                                      </td>
                                                               </tr>
                                                        </table>
                                                 </td>
                                          </tr> <!--       -->
                                          
                                   </table>
                                   <!--#include file="bottom.htm"--></td>
                                   
                     </tr>
                     
              </table>
</html>
搜索更多相关主题的帖子: quot 代码 滚动 STRONG FONT 
2007-11-26 11:52
永夜的极光
Rank: 6Rank: 6
等 级:贵宾
威 望:27
帖 子:2721
专家分:1
注 册:2007-10-9
收藏
得分:0 
你看看你的标签是不是都配对正确了

从BFS(Breadth First Study)到DFS(Depth First Study)
2007-11-26 12:36
zln
Rank: 1
等 级:新手上路
帖 子:73
专家分:0
注 册:2006-1-6
收藏
得分:0 
一个滚动图片代码放置问题
谢谢楼主的帮助,我对程序进行了一些修改.不过现在仍然有几个问题
2007-11-26 14:51
zln
Rank: 1
等 级:新手上路
帖 子:73
专家分:0
注 册:2006-1-6
收藏
得分:0 
这是整个网页的代码,麻烦再帮忙看看吧!
<html>
    <head>
        <title>::西南交通大学后勤集团::</title>
        <%
 sub ShowNews(str) '显示新闻或通知列表
dim rs '新闻获取数据集
dim i
Call DBConnectBegin()
set rs= server.CreateObject("ADODB.Recordset")
if str<> "" then
rs.Open   "select * from News where subclass ='" & str & "' order by  date desc",oConn ,1,1
if not rs.EOF and not rs.BOF then
for i=1 to 15
if not rs.EOF then
Response.Write " <p><a href=../news/shownews.asp?id="& rs("id")&" target=_blank>"&rs("title") & "      " & rs("date") & "</a> </p>"
rs.MoveNext  
end if
next
else
Response.Write "<p>尚未有信息可供显示</p>"
end if
end if
end sub

sub ShowIntroduction() '显示部门列表
Call DBConnectBegin()
dim adors '获取部门介绍数据集
dim i
set adors= server.CreateObject("ADODB.Recordset")
adors.Open "select * from Introduction where mainclass='集团概况' and subclass='部门介绍'",oConn ,1,1
if not adors.EOF  and not adors.BOF then
while not adors.EOF
Response.Write " <tr valign=center  class=tb > "
i=1
while i<=4 and not adors.EOF  
Response.Write "<td>◇<a href=../group/detaildepartment.asp?id="& adors("id")&" target=_blank>" & adors("title") & "</A></td>"
adors.MoveNext
i=i+1
wend
Response.Write "</tr>"
wend
else
Response.Write "<tr> 尚未有部门介绍 </tr>"
end if
end sub
%>
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
        <link rel="stylesheet" href="../images/index.css" type="text/css">
            <script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
            </script>
            <style type="text/css">
<!--
.style1 {color: #D6C4EE}
-->
            </style>
    </head>    
        <!--#include file = "../inc/conn.asp" -->
        <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#330033"
            bgcolor="#ffffff" class="words"> <!--DWLayoutTable-->
            <!--#include file="top.htm"-->
            <tr bordercolor="#330033">
                <td width="173" height="676" valign="top" bgColor="#cc99cc">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#cc99cc" height="731"> <!--DWLayoutTable-->
                        <tr>
                            <td width="13" height="59"></td>
                            <td width="146" valign="top" height="59">
                                <P><!--DWLayoutEmptyCell--> &nbsp;</P>
                                <div align="center" ><h5>24小时为您服务</h5></div>
                                <p></p>
                                <p><div align="center" class="words"> 集团热线: 66361616</div></p>
                                <p><div align="center" class="words"> 水电维修: 87600485</div></p>
                                <p><div align="center" class="words"> 公寓服务: 87601400</div></p>
                                <p><div align="center" class="words"> 医院急诊: 87600481</div></p>
                                
                            </td>
                            <td width="14" height="59"></td>
                        </tr>
                        <tr>
                            <td height="25"></td>
                            <td valign="top" height="25">
                                <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#996699">
                                    <tr>
                                        <td width="142" height="19" valign="bottom" bordercolor="#ffffff" bgcolor="#996699"
                                            class="words">
                                            <div align="center"><font color="#ffffff"><strong>服务栏目</strong></font></div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td height="25"></td>
                        </tr>
                        <tr>
                            <td height="18"></td>
                            <td height="18"></td>
                            <td height="18"></td>
                        </tr>
                        <tr>
                            <td height="168"></td>
                            <td valign="top" bordercolor="#cc99cc" height="168">
                                <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#996699">
                                    <tr>
                                        <td width="142" height="90" valign="top" bordercolor="#cc99cc" class="words">
                                            <div align="center"><br>
                                                    <!--#include file = "lanmu.htm" -->
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td height="168"></td>
                        </tr>
                        <tr>
                            <td height="25"></td>
                            <td valign="top" height="25"><!--DWLayoutEmptyCell-->&nbsp; </td>
                            <td height="25"></td>
                        </tr>
                        <tr>
                            <td height="25"></td>
                            <td valign="top" bordercolor="#ffffff" height="25">
                                <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#996699" bgcolor="#cc99cc">
                                    <tr>
                                        <td width="142" height="20" valign="middle" bordercolor="#ffffff" bgcolor="#996699"
                                            class="words">
                                            <div align="center"><font color="#ffffff"><strong>友情链接</strong></font></div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td height="25"></td>
                        </tr>
                        <tr>
                            <td height="18"></td>
                            <td height="18"></td>
                            <td height="18"></td>
                        </tr>
                        <tr>
                            <td height="393"></td>
                            <td valign="top" height="393">
                                <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#996699" height="231" bordercolorlight="#CC99CC" bordercolordark="#CC99CC" bgcolor="#CC99CC">
                                    <tr>
                                        <td width="142" height="229" valign="top" bordercolor="#cc99cc" bgcolor="#CC99CC" bordercolorlight="#CC99CC" bordercolordark="#CC99CC">
                                            <div align="center">
                                                <p>&nbsp;</p>
                                                <p><a href="http://www. height="30" src="../images/中国高校.gif" width="87" border="0"></a></p>
                                                <p><a href="http://61.236.145.209:111"><IMG height="30" src="../images/四川高校.gif" width="87" border="0"></a></p>
                                                <p><a href="http://www.swjtu. height="30" src="../images/head1.jpg" width="87" border="0"></a></p>
                                                 <p><a href="http://www. height="30" src="../images/幼儿.gif" width="87" border="0"></a></p>
                                                 <p><a href="../hqwy2/hqwy.htm"><IMG height="30" src="../images/物管.gif" width="87" border="0"></a></p>
                                                  <p><a href="../sdzx/index.asp"><IMG height="30" src="../images/水电中心主页.gif" width="87" border="0"></a></p>
                                                 <p><a href="../饮食中心网页/index.html"><IMG height="30" src="../images/饮食.gif" width="87" border="0"></a></p>
                                                <p><a href="http://ftp2.swjtu. height="31" src="../images/yanghua.gif" width="87" border="0"></a></p>
                                                <p><a href="http://bbs.swjtu. height="31" src="../images/jinbbs.gif" width="87" border="0"></a></p>
                                                <p><a href="http://www. height="31" src="../images/singnet.gif" width="87" border="0"></a></p>
                                            </div>
                                        </td>
                                    </tr>
                                            <font size="1" color="#0000FF">
                                            <b>
                                            <td bgcolor="#CC99CC" bordercolor="#CC99CC" bordercolorlight="#CC99CC" bordercolordark="#CC99CC">
                                              <p> </p>
                                              <p> </p>
                                              <p> </p>
                                              <p> </p>
                                            </b>
                                    
                                            </font>
                                            <p><b><font color="#0000FF" size="1">第<script src="http://counter.个访问者</font></b>
                                    
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="577" valign="top" background="images/danwei.gif">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/danwei.gif"
                        height="674"> <!--DWLayoutTable-->
                        <tr>
                            <td width="19" rowspan="6" height="522">&nbsp;</td>
                            <td width="3" height="21"><STRONG><FONT size="2" color="#330066"></FONT></STRONG></td>
                            <td width="470" height="21"><STRONG><FONT size="2" color="#330066"></FONT></STRONG></td>
                            <td width="1" height="21"><STRONG><FONT size="2" color="#330066"></FONT></STRONG></td>
                            <td width="42" rowspan="7" valign="top" height="675"><STRONG><FONT size="2" color="#330066"></FONT></STRONG></td>
                        </tr>
                        <tr>
                            <td colspan="3" valign="top" height="13"><STRONG><FONT size="2" color="#330066">集团新闻:.</FONT></STRONG></td>
                        </tr>
                        <tr>
                            <td height="207" width="3"><FONT color="#330066"></FONT></td>
                            <td colspan="2" valign="top" height="207">
                                <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#cc99cc">
                                    <tr>
                                        <td width="467" height="203" valign="middle" bordercolor="#ffffff" class="tb">
                                            <p><FONT color="#330066">&nbsp;        
                                                    <%
                shownews("新闻综述")
                %>
                                                </FONT>
                                            </p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" valign="bottom" bordercolor="#ffffff" class="tb">
                                            <div align="right"><FONT color="#330066">&gt;&gt;&gt;&gt;</FONT><a href="../news/index.asp?mclass=集团信息&sclass=新闻综述"><FONT color="#330066">更多新闻</FONT></a></div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" valign="top" height="13">
                                <P><FONT size="2" color="#330066"><STRONG></STRONG></FONT>&nbsp;</P>
                                <P><FONT color="#330066" size="2"><STRONG>相关通知:.</STRONG></FONT></P>
                            </td>
                        </tr>
                        <tr>
                            <td height="198" width="3"></td>
                            <td colspan="2" valign="top" height="198">
                                <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#cc99cc"> <!--DWLayoutTable-->
                                    <tr>
                                        <td width="467" height="174" valign="top" bordercolor="#ffffff" class="tb"><br>
                                            <p>
                                            <p>
                                                <%
                shownews("通知")
                %>
                                            </p>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="20" valign="bottom" bordercolor="#ffffff" class="tb">
                                            <div align="right">&gt;&gt;&gt;&gt;<a href="../news/index.asp?mclass=集团信息&sclass=通知">更多通知</a></div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td height="14" colspan="3" valign="top">
                                <P><FONT size="2" color="#330066"><STRONG></STRONG></FONT>&nbsp;</P>
                                <P><FONT color="#330066" size="2"><STRONG>后勤集团单位:.</STRONG></FONT></P>
                            </td>
                        </tr>
                        <tr>
                            <td height="168" width="19">&nbsp;</td>
                            <td height="168" width="3">&nbsp;</td>
                            <td valign="top" height="168">
                            <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#cc99cc" height="140"> <!--DWLayoutTable-->
                                            <tr>
                                                  <td>
                                                 <table width="100%" border="0" height="100%">
                                                                                    
                                                                <%
                                               showintroduction()
                                                %>
                                               
                                            </table>
                                            
                                            </td>
                                            </tr>
                                            
                                            
                                            <tr>
                                                  <td>
                                                <table width="100%" border="0" height="100%">
                                            <p>
                                            <p>
                                             <!--#include file="gundong.html"-->
                                           </table>
                                            
                                            </td>
                                            </tr>
                                            
                                          
                                            <tr>
                                            <td>
                                            
                                             <p>&nbsp;</p>
                                             <p>&nbsp;</p>
                                            <p>&nbsp;</p>
                                            
                                 <!--#include file="bottom.htm"-->
                                         </td>
                                         </tr>
                                
                                </td>
                                
                                
                                
                            
                            
                        </tr> <!--    -->
                        
                    <p>&nbsp;</p>
                    <p>&nbsp;</p>
            </tr>
            
        </table>
</html>
2007-11-26 14:54
快速回复:急!!!求助一个滚动图片代码放置问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.028381 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved