Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
  • in reply to: Mobile View Nav Bar Question #1419
     clutchnyc
    Participant

    Ok, I have found the foundation.min.js file, but it is really hard to read/edit.

    Sorry for not knowing better, but how do I create a minified version of this code snippet? this is the code I need to add to create the fix for the top level navbar in mobile view. I tried to minify myself by hand, but every attempt I made broke the drop down nav bar.

    COPY CODE
    url = $link.attr('href');
       if (url && url.length > 1) {
                var $titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li><li><a href="' + url + '">' + $link.text() +'</a></li>');
              } else {
                var $titleLi = $('<li class="title back js-generated"><h5><a href="#"></a></h5></li>');
              }
    

    If you can help me to get the above code correctly minfied, I can update the foundation.min.js file myself. thank you!!

Viewing 1 post (of 1 total)

Log in with your credentials

Forgot your details?