Hi,
anyone have a solution for this ? At the top of the page I want to have a button ( for example booking ) and when I click the page scrolls to the end of the page ( it is a single page ) but, I want to use a contact for with a lot of options, and I want to use the toggle visibility option. But when I click the button, the toggle visibility opens, but the client don’t see that …because the contact form is on the bottom of the page and the button at the top of the page…
Is there a way that the page also scroll down by press the button?
thanks a lot
tom
Hi !!
Wow ! That’s it. But I don’t see a difference between this two options ( on a iPad ) …but when clicking the page scroll down and the close button is also perfect …how you do this ??
Thanks a lot
If you press the “scroll and show” it will scroll and open the form bloc. Without close the form, scroll up again and press the same button, you will go to the bottom but the form remain opened.
If you press the “scroll and toggle” it will scroll and open the form bloc. Without closing the form scroll up again and press again “scroll and toggle”, it will scroll but automatically toggle/close the form, if you go up again and press it again, it will scroll and open again.
Try it, I’m on iPad too and everything is working.
Hi @Pealco
thanks for your help …
I don’t get it to work. think I do something wrong …
I have creat a form. Than give an ID ( where I give the ID - the bloc or the form ? ) I tried both
I have create a Html Brick and put the code inside ? right ?
Is there a way to style the button ? I want to use the button like the blocs option for button “wire” ?
And the button should have the size of the text … not more. Sorry for my bad English
thanks and sorry
tom
Sorry my mistake wit instructions the ID is not “hideshow” the “hideshow” is the id of the button, the correct ID for the form is: “formbloc” → sorry my mistake.
And the ID is to the bloc.
About the button they are created with Bootstrap4 conditions, so for this buttons the styles are:
If you like the buttons you create in the rest of your project, just export your site, edit the html and copy the class that was created in the rest of the buttons, and copy to this one in your project (inside the html code)
Hi @Pealco
your great…works ! In Your example there is a close symbol. In my example not, or I dont see it because my background of the form is really dark … and the grey symbol is not to see
Is it possible that I use the same code twice on the page ? Because the second button dont work ( middle of the page ) When I delete the first button the second works
again, thanks a lot for your help
tom
About the close button on the form, is a icon, then change the icon to the symbol you want, on the right side the interaction pass it to toggle visibility and put the ID of the form bloc.
Then you have in the same place a color change.
Hi,
did anyone know why this code don’t work anymore? @Pealco help me a lot with this problem a few weeks ago. I open the project a few days ago, and after the update it don’t work … I read about a few problems with some code and brics … anyone has a solution ? I am not good with code…
thanks tom
It’s true @tom2 is not working anymore, @Norm can you check it please, with this update some of the codes are not working… there you have the bloc to test… Button to Scroll & Show.bloc (741.4 KB)