
aboutus
I’m a paragraph. Double click here or click Edit Text to add some text of your own or to change the font. Tell your visitors a bit about your services.
Hello, I've been trying to find a solution for many hours. I want a button to appear only while scrolling. If the visitor wants to read the information on the page, the button should be different so that it does not interfere.
The button leads back to the top of the page. The functions I have already tested export function _viewportEnter and _viewportLeave on a tutorial page. But do not bring the solution. OnMouseIn is not enough either. I am very happy about your support. Under this link you can see my attempts and the different code. https://web7696.wixsite.com/try-and-error/scroll2
What function does Scroll recognize? Thanks a lot!
//Stern ist im Bild - Text "Stern ist hier" wird angezeigt
export function stern_viewportEnter_1(event) {
$w("#textweg").hide("fade");
$w("#texthier").show("fade");}
//Stern ist nicht im Bild - Text "Stern ist weg" wird angezeigt
export function stern_viewportLeave_1(event) {
$w("#textweg").show("fade");
$w("#texthier").hide("fade");}
//nach Oben Button erscheint bei mouseIn auf Orange Box
export function box1_mouseIn(event) {
$w("#nachOben").show("fade");}
//nach Oben Button versteckt bei mouseOut von Orange Box
export function box1_mouseOut(event) {
$w("#nachOben").hide("fade");}
//Button1 soll beim Scrollen angezeigt werden
export function page1_?????(event) {
$w("#button1").show("fade");}
//Button1 soll beim "nicht" Scrollen versteckt werden
export function page1_????(event) {
$w("#button1").show("fade");}




Share the amazing things customers are saying about your business. Double click, or click Edit Text to make it yours.