Respect du Responsive Design

This commit is contained in:
raida 2019-03-05 17:38:45 +01:00
parent 496b9b0e8e
commit e0903be7f7
6 changed files with 100 additions and 15 deletions

16
assets/js/perso.js Normal file
View file

@ -0,0 +1,16 @@
(function($) {
$(window).on('load', function() {
var $menu = $('#nav');
var $menu_simple = $("<ul class=\"simple\"></ul>");
$menu.children("ul").each(function(index) {
$(this).children("li").each(function(index) {
$menu_simple.append($(this).clone());
});
});
$menu.append($menu_simple);
});
})(jQuery);