categories page done

This commit is contained in:
Bachir Soussi Chiadmi
2016-02-17 15:51:38 +01:00
parent 34a6f5e1a8
commit 9cb3299b83
8 changed files with 67 additions and 29 deletions
+3 -1
View File
@@ -14,10 +14,12 @@ jQuery(document).ready(function($) {
// init categories content images behaviour
if($('body').is('.categories')){
console.log('hello')
var $diapo = $('<div id="diaporama"></div>');
$("#categories-content")
.before($diapo)
.children('section.projet-block').each(function(index, el) {
.find('li.project').each(function(index, el) {
console.log(index)
$(this)
.addClass('projet-'+index)
.hover(function (e) {