Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

不同浏览器显示网站不一样

[复制链接]
金乡大蒜代理 发表于 2012-8-6 07:44:04 | 显示全部楼层 |阅读模式
本帖最后由 金乡大蒜代理 于 2012-8-6 07:45 编辑

我的网站是www.sdjxxinxi.com
这是360浏览器

这是IE浏览器

如果是网站兼容问题,请问怎样解决??
代码如下:
<div id="butong_net_left" style="overflow:hidden;width:920px;">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td id="butong_net_left1" valign="top" align="center">
<table cellpadding="2" cellspacing="0" border="0">
<tr align="center">
<td>
<a  target=_blank"><img src="/wztp/dnpf.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=65  target=_blank"><img src="/wztp/daisjxds.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=51  target=_blank"><img src="/wztp/suantds.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=63 target=_blank"><img src="/wztp/qhfx.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=64 target=_blank"><img src="/wztp/qhkh.jpg">
<a href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=155 target=_blank" ><img src="/wztp/meyd.jpg">
<A ></td>
<td><img src="/wztp/ggzs_x.jpg">
<A ></td>
<td><img src="/wztp/ggzs_x.jpg">
<A ></td>
<td><img src="/wztp/ggzs_x.jpg">
<A ></td>
</tr>
</table>
</td>
<td id="butong_net_left2" valign="top"></td>
</tr>
</table>
</div>
<script>
var speed=30//速度数值越大速度越慢
butong_net_left2.innerHTML=butong_net_left1.innerHTML
function Marquee3(){
if(butong_net_left2.offsetWidth-butong_net_left.scrollLeft<=0)
butong_net_left.scrollLeft-=butong_net_left1.offsetWidth
else{
butong_net_left.scrollLeft++
}
}
var MyMar3=setInterval(Marquee3,speed)
butong_net_left.onmouseover=function() {clearInterval(MyMar3)}
butong_net_left.onmouseout=function() {MyMar3=setInterval(Marquee3,speed)}
</script>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
its_o2 发表于 2012-8-6 17:08:30 | 显示全部楼层
<A ></td>
<td><img src="/wztp/ggzs_x.jpg">
<A ></td>
<td><img src="/wztp/ggzs_x.jpg">
<A ></td>
<td><img src="/wztp/ggzs_x.jpg">
<A ></td>

这几句好像没有</a>

<td>
<a  target=_blank"><img src="/wztp/dnpf.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=65  target=_blank"><img src="/wztp/daisjxds.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=51  target=_blank"><img src="/wztp/suantds.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=63 target=_blank"><img src="/wztp/qhfx.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=64 target=_blank"><img src="/wztp/qhkh.jpg">
<a href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=155 target=_blank" ><img src="/wztp/meyd.jpg">
<A ></td>
这几个在同一个单元格里…其他都是自己一个...麻烦用网页编辑工具认真看看吧……


总体上说第六个图以后的代码不统一,改成统一的就好了
回复

使用道具 举报

 楼主| 金乡大蒜代理 发表于 2012-8-7 07:43:23 | 显示全部楼层
本帖最后由 金乡大蒜代理 于 2012-8-7 07:47 编辑
its_o2 发表于 2012-8-6 17:08
这几句好像没有


已经改成这样,360浏览器还是不循环动
<div id="butong_net_left" style="overflow:hidden;width:920px;">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td id="butong_net_left1" valign="top" align="center">
<table cellpadding="2" cellspacing="0" border="0">
<tr align="center">
<td>
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=66 target=_blank"><img src="/wztp/dnpf.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=65 target=_blank"><img src="/wztp/daisjxds.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=51 target=_blank"><img src="/wztp/suantds.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=63 target=_blank"><img src="/wztp/qhfx.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=64 target=_blank"><img src="/wztp/qhkh.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=155 target=_blank" ><img src="/wztp/meyd.jpg">
<A href="http://www.sdjxxinxi.com/ target=_blank"><img src="/wztp/ggzs_x.jpg">
<A href="http://www.sdjxxinxi.com/ target=_blank"><img src="/wztp/ggzs_x.jpg">
<A href="http://www.sdjxxinxi.com/ target=_blank"><img src="/wztp/ggzs_x.jpg">
<A ></td>
</tr>
</table>
</td>
<td id="butong_net_left2" valign="top"></td>
</tr>
</table>
</div>
<script>
var speed=30//速度数值越大速度越慢
butong_net_left2.innerHTML=butong_net_left1.innerHTML
function Marquee3(){
if(butong_net_left2.offsetWidth-butong_net_left.scrollLeft<=0)
butong_net_left.scrollLeft-=butong_net_left1.offsetWidth
else{
butong_net_left.scrollLeft++
}
}
var MyMar3=setInterval(Marquee3,speed)
butong_net_left.onmouseover=function() {clearInterval(MyMar3)}
butong_net_left.onmouseout=function() {MyMar3=setInterval(Marquee3,speed)}
</script>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

军刀闪亮 发表于 2012-8-7 07:47:08 | 显示全部楼层
晕,你这个应该是代码兼容问题,不是BUG的问题发到这里哪有人管你啊,发到求助区啊。
回复

使用道具 举报

 楼主| 金乡大蒜代理 发表于 2012-8-7 07:51:46 | 显示全部楼层
军刀闪亮 发表于 2012-8-7 07:47
晕,你这个应该是代码兼容问题,不是BUG的问题发到这里哪有人管你啊,发到求助区啊。

没有找到求助区啊
不知道怎么可以让他兼容
现在代码如下
<div id="butong_net_left" style="overflow:hidden;width:920px;">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td id="butong_net_left1" valign="top" align="center">
<table cellpadding="2" cellspacing="0" border="0">
<tr align="center">
<td>
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=66 target=_blank"><img src="/wztp/dnpf.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=65 target=_blank"><img src="/wztp/daisjxds.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=51 target=_blank"><img src="/wztp/suantds.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=63 target=_blank"><img src="/wztp/qhfx.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=64 target=_blank"><img src="/wztp/qhkh.jpg">
<A href="http://www.sdjxxinxi.com/forum.php?mod=viewthread&tid=155 target=_blank" ><img src="/wztp/meyd.jpg">
<A href="http://www.sdjxxinxi.com/ target=_blank"><img src="/wztp/ggzs_x.jpg">
<A href="http://www.sdjxxinxi.com/ target=_blank"><img src="/wztp/ggzs_x.jpg">
<A href="http://www.sdjxxinxi.com/ target=_blank"><img src="/wztp/ggzs_x.jpg">
<A ></td>
</tr>
</table>
</td>
<td id="butong_net_left2" valign="top"></td>
</tr>
</table>
</div>
<script>
var speed=30//速度数值越大速度越慢
butong_net_left2.innerHTML=butong_net_left1.innerHTML
function Marquee3(){
if(butong_net_left2.offsetWidth-butong_net_left.scrollLeft<=0)
butong_net_left.scrollLeft-=butong_net_left1.offsetWidth
else{
butong_net_left.scrollLeft++
}
}
var MyMar3=setInterval(Marquee3,speed)
butong_net_left.onmouseover=function() {clearInterval(MyMar3)}
butong_net_left.onmouseout=function() {MyMar3=setInterval(Marquee3,speed)}
</script>
回复

使用道具 举报

军刀闪亮 发表于 2012-8-7 07:54:05 | 显示全部楼层
金乡大蒜代理 发表于 2012-8-7 07:51
没有找到求助区啊
不知道怎么可以让他兼容
现在代码如下

到这里求助
https://discuz.dismall.com/forum-210-1.html
回复

使用道具 举报

m.king 发表于 2012-8-7 10:43:02 | 显示全部楼层
你这问题自己修改了啥,查看下代码。
回复

使用道具 举报

its_o2 发表于 2012-8-8 01:21:35 | 显示全部楼层
本帖最后由 its_o2 于 2012-8-8 01:43 编辑
金乡大蒜代理 发表于 2012-8-7 07:51
没有找到求助区啊
不知道怎么可以让他兼容
现在代码如下

本来以为就是表格错乱的问题


自定义html好像不能用script,因为要在<HEAD></HEAD>内写入代码。
反正我是没成功过,以前听说可以把script放到文件夹里调用,你在论坛里再找找看。

如果就是要实现滚动效果,我建议直接用flash代替,类似的flash很多...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-3-29 22:46 , Processed in 0.123337 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表