categories page done
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user