标题: 请问大大们,怎么使制作出的多本合集CHM书中的图片在滚屏上显示出来??其它的都没 [打印本页]

作者: hsw1973    时间: 2011-5-14 01:03
标题: 请问大大们,怎么使制作出的多本合集CHM书中的图片在滚屏上显示出来??其它的都没
请问大大们,怎么使制作出的多本合集CHM书中的插图在滚屏上显示出来??其它的都没问题了。谢谢!!
作者: we8088    时间: 2011-5-14 07:33
在文件的上面添加

          <td>
<table align=center width="776" height="149" border="0" cellpadding="0" cellspacing="0" align="center" background="image/bj.jpg">
<tr><td width="24" background=image/l.jpg></td><td class=d54 height="160" colspan="4"><div id="butong_net_left" style="overflow:hidden;width:726px;">
<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">
<script language="javascript" src="js/image.js"></script>
<script language="javascript" src="js/image.js"></script>
</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>
</td><td width="24" background=image/r.jpg></td></tr>
</table>

然后再把image.js放到JS里面
作者: hsw1973    时间: 2011-5-14 09:56
谢谢we8088版主老大的帮助。我试了还是不行。我把模板外的文件发上来。请大大帮我修改下。多谢了!!!

[attach]38546[/attach]
作者: we8088    时间: 2011-5-14 17:07
[attach]38566[/attach]
请参考如图的文件需要修改。把路径修改好了就可以了。JS文件夹里的xuan2JS文件。
作者: hsw1973    时间: 2011-5-14 18:12
在滚屏上显示出来了
[attach]38568[/attach]




欢迎光临 (http://mail.zasq.com/) Powered by Discuz! X3.2