jquery
Permalink
HEllo.
i'm a newbie to c5 and a novice at webdevelopment. i tried to import jquery and a scrollfollow function into my default.php file but as fast as i call a function to my jquery files the editing of c5 goes away and the jquery function does not work. why is that? i attach my html file if someone wants to take a look. its when i call this funktion: $( document ).ready( function () it doesent work.
i had to zip my php file to be able to attach it.
i'm a newbie to c5 and a novice at webdevelopment. i tried to import jquery and a scrollfollow function into my default.php file but as fast as i call a function to my jquery files the editing of c5 goes away and the jquery function does not work. why is that? i attach my html file if someone wants to take a look. its when i call this funktion: $( document ).ready( function () it doesent work.
i had to zip my php file to be able to attach it.
You can use document.ready then in your SCRIPT section (or anywhere else JS is allowed) without having to make an explicit reference to jQuery in your template file.