add design

This commit is contained in:
2019-05-09 00:26:27 +02:00
parent 0cae791a02
commit 3c24252ea3
33 changed files with 1112 additions and 359 deletions

File diff suppressed because one or more lines are too long

View File

@@ -33,15 +33,15 @@ function map() {
}
function filteritem() {
var $card = $('#item > .card');
var $card = $('.body-wrapper > .card');
var $cat = $('.cat a');
var $img = $('#item .img');
var $img = $('.body-wrapper .img');
$(".filters .btn").click(function(e) {
e.preventDefault();
var filter = $(this).attr("data-filter");
var self = $('.container #item');
var self = $('.body-wrapper');
self.masonryFilter({
filter: function () {
@@ -51,7 +51,7 @@ function filteritem() {
});
});
var $grid = $('#archive #item, #calendrier #item').masonry({
var $grid = $('#archive .body-wrapper, #calendrier .body-wrapper').masonry({
// columnWidth: 200,
itemSelector: '.card',
gutter: 10,
@@ -66,13 +66,21 @@ function filteritem() {
}
function slide() {
$(".gal").slidesjs({
width: 940,
height: 528,
pagination: {
active: false
}
// $(".gal").slidesjs({
// width: 940,
// height: 528,
// pagination: {
// active: false
// }
// });
$('.gal').bxSlider({
minSlides: 2,
maxSlides: 3,
preloadImages:'visible',
pager:false,
auto:true,
});
}
function links() {
@@ -89,7 +97,37 @@ function links() {
}
function clickbutton() {
var $button = $('#ajax-test-form .radio');
$button.on('click', function(){
$(this).parent('.form-data').find('.check').removeClass('check');
$(this).addClass('check');
});
}
function clicksenddevis() {
var $ok = $('.ok');
var $send = $('#send-valide');
$ok.on('click', function () {
$(this).parent('#send-valide').remove();
})
}
function addclass() {
var $map = $('a#carte');
$map.parents('.content_s').addClass('map')
}
jQuery(document).ready(function(){
// clicksenddevis();
addclass();
clickbutton();
links();
slide();
filteritem();

File diff suppressed because one or more lines are too long