HTML5

Permalink
Could you help me to insert in my concrete5 website (theme: Keep it Simple) an HTML5 + js code?
I would love to use something like the Wall (http://wall.plasm.it/), like Slides (http://slidesjs.com/) and like Hash Slider (http://mgoys.com/lab/hashslider/)

Thank you

 
Mnkras replied on at Permalink Reply
Mnkras
use the html block
redviper84 replied on at Permalink Reply
where I should copy all the files *.js and *.css?
JohntheFish replied on at Permalink Reply
JohntheFish
The html block is great for quick bits of javascript. But as soon as you are pulling in jquery plugins and associated css you need to do more. There are many ways of attacking this depending on the details of what you are doing.

eg.
Add the scripts and css to your theme header. Put the script to pull it together in an html block with the html for the images etc.

Add the scripts and css to your theme header. Put the script to pull it together also in your theme (aybe in the header or footer). Put the images in an html block or image blocks.

Make your own view for one of the existing gallery blocks.

Make your own block, based on one of the existing gallery blocks.

Make a block of images using designer content, then modify the controller to pull in your scripts and css, and modify the view to set the script running.

Jordanlev (creator of designer content) also has a framework block as a starting point for building galleries https://github.com/jordanlev/c5_designer_gallery...