history back button
-
wrote on Jan 8, 2018, 11:55 AM last edited by
hi!
is it possible to insert a simple back link like clicking on the back button in the browser?
i tried this:
<a href="javascript:history.back()"> Back </a>
but everytime the link disappears after closing the editing window
thanks
-
Hi @kooloo
The button might not work because Laytheme is a single-page-javascript-application.
Have a look here:
http://laytheme.com/documentation.html#custom-javascriptAll the best!
Marius
-
wrote on Jun 24, 2018, 7:09 PM last edited by
Hi Marius,
I've tried to add this to the source code, however it doesn't seem to work. Is this simple "history back" feature not available? Thanks in advance.
-
Dear @mrrpringle
did you take a look at the link which I posted?There is a special way for Binding Click Events.
Best!
Marius
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it