here it appears as needed.
but the code that separates them in the menu of the line.
Code: Select all
* Wrap the menu items
*/
$(document).ready(function () {
var col_count = 7;
var $c = $('.megamenu.none');
while($c.children('li:not(.wrap)').length){
$c.children('li:not(.wrap):lt('+col_count+')').wrapAll('<li class="wrap"><ul></ul></li>');
}
$('.megamenu-wrapper').css('opacity', '1');
setInterval(function () {
if(!$("select").parents(".select").length){
$("select").wrap("<div class='select'></div>")
}
},10)
});