Skip to content Skip to sidebar Skip to footer

Html5boilerplate Js Structure

I'm wondering if someone can check my understanding of what the intended purpose of HTML5Boilerplate js directories. I understand that main.js is where I'm expected to place all si

Solution 1:

First you have to consider cuteslider as a plugin.

Add the required files to make the plugin working (cute.slider.js, cute.transitions.all.js and respond.min.js) in the plugins.js.

Then add the js to load the slider into your page in the main.js as

$(document).ready(function() {
        // code here to load cuteslider
});

The modular look have to be set only in the main.js file.

Post a Comment for "Html5boilerplate Js Structure"