I have been struggling with this for a long time: how to show a message (e.g. inside a box) on a fixed position within the VIEWPORT, not the page?
“Pinning” would work, but … it doesn´t work on mobile. Ideally, I am looking for something like an extra argument to a $w-box as in “vp_center”, “vp_luc”, “vp_ruc”, “vp_llc”, “vp_rlc”.
(= left/right/upper/lower corner or, default, center, all within ViewPort)
I know I can use LightBoxes, but communicating with them is a pain AND they take too long to load.
Any suggestions would be much appreciated.
If you don’t want to simply use a bog standard lightbox positioned where you want it on the page to be opened when you enter the viewport area that you require.
Then you could always just set up a container box with all your things inside of it and set it up in the appropriate position on your page and have it set as collapsed on load. Then within your viewport code simply have that container to expand or collapse whenever the user moves in and out of the required viewport area.
Thanks, but that won´t do it. This would require the user to do some scrolling or scrolling your viewport to e.g. the top of the page.
What I am looking for is a simple equivalent of a front-end “alert”, to show things like “Data saved”, “You are holding it wrong”, etc. Wix´s own apps have it (a box that pops up at the top of the viewport, containing a message, and then disappear after n seconds.
Isn´t this one of the most basic things a rapid dev env would need, a possibility to pop-up/show some kind of message inside the viewport, without any user. or programmatic scrolling?