Javascript events in update
-
Hi,
I'm using thethumbnailgrid_rendered
event on my site to trigger some custom parsing. It seems to be gone with the new update – any chance of it coming back? Or does it have a new equivalent?
And is there maybe an accessible list of events somewhere?New update looks great, though!
Thanks. -
that event is gone, because now the thumbnailgrid is rendered at the same time as the other content
just use
window.laytheme.on('newpageshown', function(){
});
that event is the only event that is available
-
Oh shit, perfect! Thank you
-
Dear @tao
Perfect! Glad to hear!
Many wishes!
Marius
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it