Click on icon should go to previous page - Forum | JoomShaper
Staff replied SP Page Builder

Click on icon should go to previous page

Asked by Robert Deutschmann 2 years ago Last activity 2 years ago

Hi

On my website there is a "under construction" page with a icon and a heading component.
Now i would like to implement a onclick-event for the icon: on click the previous page should be displayed.

With this link https://ijmc.razorflights.com/index.php?option=com_sppagebuilder&view=page&id=49 the "under construction" page opens.

Any idea how to implement this?

Many thanks in advance for any help.

1 reply

Rashida Rahman Staff

Hi There!

Thanks for your interest.

If you don't know previus URL - by default is not possible, becuase you have to put URL.

But you can always use HTML code inside Raw HTML addon, here is example code:

<button onclick="history.back()">Go Back</button>

You can use HTML code for icon either. Here is a sample screenshot for your convenience:

https://share.cleanshot.com/pjYpZFPN

Best Regards

Log in to reply.