Does wsx5 support the css "marquee" functionality?
Autor: Paul De Freitas
Visitado 1046,
Seguidores 1,
Compartilhado 0
I wish to add a scrolling banner underneath the title photo of my home page. I could not find a "marquee" style object which handles a text string, causing it to display and move from right to left across the panel.
I attempted to use an HTML Code object </> which displayed the text as a massive single block rather than as a scrolling line, despite using the CSS "marquee" class. All that happened was that a large text box appeared with 30 or so lines of text - very boring and not what I wanted. So I do not believe that the class "marquee" is supported - and if it is, then not inside an inline HTML object.
Is there a text scrolling object?
Thanks for any suggestions.
Publicado em
If it is something like this you mean: https://www.bramminginfo.dk/grindstedbk/side-27.html
Then you can use the text-object for that.
You can have the text stop when hovered
If you only want one line to be scrolling then do not make any line-breaks in the text.
You can experiment with the settings. Height, time and so.
You can style the text as you style other objects: Background, marging and so.
marging ----> margin
Hello:
As John S. already mentioned, the text object allows for text scrolling, both horizontally and vertically, and a couple of other effects.
Now, the <marquee> tag still works, although it is almost obsolete. Also, when adding it to an html object, more parameters would have to be configured to make it more attractive (change color, font size, etc.)
In addition, continuous lines must be included, that is, there are no line breaks, or 2, 3 or more lines will be displayed in parallel.
In the image (below) I combine the text object with the marquee label, as you can see I can change the color of the letters. although, as John S. mentions, it activates the rollover settings icon and it is no longer necessary to use the marquee label.
Even so, I'll give you the code so you can try it, it doesn't hurt to learn how to use tags.
-----------------
<marquee scrollamount="6" onMouseOver="this.stop()" onMouseOut="this.start()"># De productos y TOTAL Provisional de la compra + paquetería normal automática (podrás cambiarla al formalizar tu pedido).</marquee>
-----------------
Greetings
Autor
Thanks - you can see the result here, just under the main picture.
https://crescentbeachcayman.com
One strange thing is the amount of space underneath the panel. When the page comes up, that panel is momentarily filled with wrapped text which then disappears and is replaced by the scrolling line after a second or so. I will experiment with a cell background to see if I can solve what it is doing...
Thanks again
Paul
Autor
Missed the height parameter - my fault! It works perfectly.
Many thanks
Paul