Respect du Responsive Design
This commit is contained in:
parent
496b9b0e8e
commit
e0903be7f7
6 changed files with 100 additions and 15 deletions
16
assets/js/perso.js
Normal file
16
assets/js/perso.js
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue