well this is my problem..

<html>
  <body>
    <marquee id="introtext" scrollamount="150" behavior="slide" direction="left">
      <p>
         this is the sliding text.
      </p>
    </marquee>
  </body>
</html>

What chrome does is just weard. it repeats the "marquee" action after 4 seconds.

what can i do to prevent this? or just fully disable this marquee but still keep this id , because this is used for other css effects?

sincerely,

santino

有帮助吗?

解决方案

try loop="0" :

<marquee id="introtext" scrollamount="150" behavior="slide" direction="left" loop="0">

其他提示

what can i do to prevent this? or just fully disable this marquee but still keep this id , because this is used for other css effects?

From <marquee id="introtext" scrollamount="150" behavior="slide" direction="left">

To <div id="introtext">

If you want just to remain with ID of block. But that deletes marquee.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top