有关滚动导航菜单的问题

housemouse 2008-03-27 02:32:05
我的滚动导航菜单的程序如下:
<tr>
<td height="240" align="center">
<span class="style4">
<script language=javascript>
var index = 3
link = new Array(2);
text = new Array(2);
link[0] ='http://www.sohu.com'
link[1] ='http://www.sina.com'
link[2] ='http://www.baidu.com'
text[0] ='搜狐'
text[1] ='新浪'
text[2] ='百度'
document.write ("<marquee scrollamount='3' scrolldelay='150' direction= 'up' width='120' height='230 align='center'>");
for (i=0;i<index;i++)
{
document.write ("<a href="+link[i]+" target='_blank'>");
document.write (text[i] + "</A><br><br>");
}
document.write ("</marquee>")
</script>
</span>
</td>
</tr>
如何让我的这个导航菜单在滚动的时候不要在字的下面有一条横线,另外如何让这个导航菜单在滚动的时候显示在表格的中间,而不是默认的左边,请各位指教!!!!
...全文
90 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
housemouse 2008-03-27
  • 打赏
  • 举报
回复
为什么我按照你的修改的 滚动的字还是左对齐的??还有下面的一条横线也还在???
hookee 2008-03-27
  • 打赏
  • 举报
回复

<table width="400">
<tr>
<td height="240" align="center">
<span class="style4" style="text-align:center">
<script language=javascript>
var index = 3
link = new Array(2);
text = new Array(2);
link[0] ='http://www.sohu.com'
link[1] ='http://www.sina.com'
link[2] ='http://www.baidu.com'
text[0] ='搜狐'
text[1] ='新浪'
text[2] ='百度'
document.write (" <marquee scrollamount='3' scrolldelay='150' direction= 'up' width='120' height='230 align='center'>");
for (i=0;i <index;i++)
{
document.write (" <a href="+link[i]+" target='_blank' style='text-decoration:none;'>");
document.write (text[i] + " </A> <br> <br>");
}
document.write (" </marquee>")
</script>
</span>
</td>
</tr>

</table>

28,409

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧