WebSite X5Help Center

 
Paul De Freitas
Paul De Freitas
User

Does wsx5 support the css "marquee" functionality?  en

Autor: Paul De Freitas
Besucht 1047, Followers 1, Geteilt 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.

Gepostet am
6 ANTWORTEN - 2 NüTZLICH - 1 KORREKT
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.

Mehr lesen
Gepostet am von John S.
John S.
John S.
User

marging ---->  margin

Mehr lesen
Gepostet am von 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

Mehr lesen
Gepostet am von Miguel Galarza
Paul De Freitas
Paul De Freitas
User
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

Mehr lesen
Gepostet am von Paul De Freitas
Paul De Freitas
Paul De Freitas
User
Autor

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

Many thanks

Paul

Mehr lesen
Gepostet am von Paul De Freitas