<marquee> tag, display text immediately

Text now with <marquee> tahg appears on one side only when the other completely disappears. You need to wait until all the text disappears, and only then will it appear on the other side. How soon will the text disappear on the other side?

Hope you understand my concerns.

+1
source share
1 answer

Wow tag <marquee> - haven't seen this for a while. It has all kinds of cross-browser issues - it doesn't work at all in Firefox. This is not actually in the HTML standard; it was a special tag provided by Microsoft.

The problem you are describing is how it works, and there is no way to configure it. The only thing you could do (and I cannot stress how strongly I would recommend not to do this) would be to duplicate the text several times and put a lot of spaces between them. This will simulate the effect you are trying to achieve using only the marquee tag.

However, this should be an absolute last resort. You almost certainly use JavaScript for this. This is easier to configure and will work in all browsers.

Here are some custom JavaScripts: http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm , or you can use the jQuery plugin like http://remysharp.com/demo/marquee.html .

+4
source

Source: https://habr.com/ru/post/1410822/


All Articles