I would like to add a button or link that will allow the user to close the browser window. I have had temporary success by adding javascript (onclick) to the code in the text editor but the code goes away.
Note: I am not a developer but am good at making small (obvious) modifications and copying and pasting!
Thanks for any instructions anyone might be able to provide.
So I would need to use javascript to open the new window. I don’t know how to do this in Beaver Builder.
I have a page with a summary of some content and a button that says “Learn more” that opens a new window for the full content. It sounds like I need to use javascript to open that new window (and close it) …
I know in BB in the Advanced tab of the text editor there is a place to put javascript, but I don’t know how to attach that behavior to the button itself. Any guidance (bearing in mind I’m not a developer) would be much appreciated!