Adding custom Jquery doesn't seem to work
-
Hey!
I'm trying to implement this piece of code that i wrote into laytheme;
https://codepen.io/Mariinus/pen/MmMGXxPasting it into Laytheme (with the <script> in custom html) doesn't make it function.
I've tried to add this to it, but neither did that work out.
window.laytheme.on("newpage", function(layoutObj, type, obj){
});Do you guys have any suggestions on how to implement this?
-
Hi Mariinus,
on the Codepen website the example does not work:

Did you have a clode look at the documentation?
http://laytheme.com/documentation.html#custom-javascriptAll the best!
Marius
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login