怎么能在html中制作图片滚动效果
发布网友
发布时间:2022-05-13 22:01
我来回答
共2个回答
热心网友
时间:2022-05-13 23:30
<td><marquee><img src=xxx.jpg></marquee></td>
你试试这样就可以滚动了
其中marquee是滚动的标签
热心网友
时间:2022-05-14 00:48
<DIV>
<MARQUEE scrollAmount=20 behavior=alternate><A href="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" target=_blank><IMG src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" border=0></A><A href="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" target=_blank><IMG src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" border=0></A><A href="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" target=_blank><IMG src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" border=0></A><A href="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" target=_blank><IMG src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" border=0></A><A href="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" target=_blank><IMG src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" border=0></A><A href="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" target=_blank><IMG src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" border=0></A><A href="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" target=_blank><IMG src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" border=0></A><A href="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" target=_blank><IMG src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/iknow/logo-iknowxjd.gif" border=0></A></MARQUEE></DIV>
scrollAmount=20 是滚动速度
behavior=alternate 是左右来回滚动