Click On Icon Should Go To Previous Page - Question | JoomShaper

Click On Icon Should Go To Previous Page

RD

Robert Deutschmann

SP Page Builder 1 month 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.

0
1 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #164237

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

0