WebSite X5Help Center

 
Tom G.
Tom G.
User

Sticky text in the bottom of the window (not page!)  en

Autor: Tom G.
Visitado 1533, Seguidores 1, Compartilhado 0  

I would like to put some text that would stick always to the bottom of the window.
Can I get suggestion(s) on how to do it?
Can this be done within WSX5, or do I need own HTML/CSS code?
How?

Publicado em
27 RESPOSTAS - 2 ÚTEIS
John S.
John S.
User

Youn need own code to achieve that.

Ler mais
Publicado em de John S.
Tom G.
Tom G.
User
Autor

That's what I thought, John...

But can someone provide help with that? I have programmed sticky button on the right side of the window which closes that window. It's here.

For some reason I can't get it done for plain text...

Ler mais
Publicado em de Tom G.
John S.
John S.
User

Instead of .footer you could fix an X5-object.

Ler mais
Publicado em de John S.
Tom G.
Tom G.
User
Autor

John, I want something that will "float" in the bottom of the window, not page. As I show in my sample above...

Ler mais
Publicado em de Tom G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Tom G.
John, I want something that will "float" in the bottom of the window, not page. As I show in my sample above...

(It > En) ... you could use one of my many well-known DIV_CUSTOMs;wink...
... for example, see this >> example  ... (Ctrl + U)
... if you need clarifications, let me know ...

ciao

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Tom G.
Tom G.
User
Autor

Yessssss! Thank you KolAsim!

Ler mais
Publicado em de Tom G.
Axel  
Axel  
User

Hey KolAsim,

Here with v2019.2.7

Any idea for same result as yours !

Ler mais
Publicado em de Axel  
Axel  
Axel  
User

I put your code into an HTML object into the page and not into the page properties.

In the page properties the visual is:

Ler mais
Publicado em de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... + >>  z-index: 12000;

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

I tried this, but same result:

Ler mais
Publicado em de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... in order to evaluate, I should see the LINK ...
... if your problem is that you don't see some div_customs, the problem could be in the levels ...
... to solve it you have to insert the previous code inside the style attribute of all DIVs ...
... or in one go (> /HEAD)  with:

<style> #messaggioK1,#messaggioK2,#messaggioK3,#messaggioK4,#messaggioK5 { z-index:12000;} </style>

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

Not working...

My page is not yet published... when I will do I go back to you.

thanks again for your time wink

Ler mais
Publicado em de Axel  
John S.
John S.
User

Hello Axel

Your z-index is not 12000 but 1200 - maybe the header has a higher index than that. Try with the 12000.

Ler mais
Publicado em de John S.
Axel  
Axel  
User

Thanks John, wink

I had tested too and not works

Ler mais
Publicado em de Axel  
Axel  
Axel  
User

Hey KolAsim... same result as explained before with code into page properties.

Cannot post before 25/09... vacation tomorrow ... foot-in-mouth

Ler mais
Publicado em de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... there should not be any problem...
... maybe something interferes ...
... for now, do the test with the value 200000, because you also have levels on the 100000...

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Axel  
Axel  
User

200000  !!!!

Ler mais
Publicado em de Axel  
Tom G.
Tom G.
User
Autor

I decided to attach a WSX5 project file, where I (as test before putting it in production) implemented KolAsim’s idea. It looks little different than his example.


I also created a button, which, when clicked on, closes the page. The button is also “floating” in the middle of the right site of the window.


I hope you will like the solution – for which I give credit to KolAsim.wink

Ler mais
Publicado em de Tom G.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Tom G.
... ...  I also created a button, which, when clicked on, closes the page. The button is also “floating” in the middle of the right site of the window. ... ... 

... I can't download and see your work, I'm without a PC, ... but I really appreciate your commitment and interest, and I hope it's useful to other users ... ciao

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Tom G.
Tom G.
User
Autor

Here are two images of the project I have attached above:

Opening page:

... and after scrolling down. All object stay as desired. laughing

Ler mais
Publicado em de Tom G.
Axel  
Axel  
User

Nice integration Tom !   wink

Ler mais
Publicado em de Axel  
Axel  
Axel  
User

Hey KolAsim,

Toms' integration is OK. So no necessary tio investigate more my integration

Thanks for your help

https://wsx5.afsoftware.fr

Ler mais
Publicado em de Axel  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... OK ... ... ciao a tutti...

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪