WebSite X5Help Center

 
Paul De Freitas
Paul De Freitas
User

Does wsx5 support the css "marquee" functionality?  en

Author: Paul De Freitas
Visited 702, Followers 1, Shared 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.

Posted on the
6 ANSWERS - 2 USEFUL - 1 CORRECT
John S.
John S.
User

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.

Read more
Posted on the from John S.
John S.
John S.
User

marging ---->  margin

Read more
Posted on the from John S.
Miguel Galarza
Miguel Galarza
User

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

Read more
Posted on the from Miguel Galarza
Paul De Freitas
Paul De Freitas
User
Author

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

Read more
Posted on the from Paul De Freitas
Paul De Freitas
Paul De Freitas
User
Author

Missed the height parameter - my fault! It works perfectly. 

Many thanks

Paul

Read more
Posted on the from Paul De Freitas