<script> $(function() { var loc = window.location.href; // returns the full URL if(/about-us.html/.test(loc)) { $('#lihome').removeClass('current'); $('#liabout').addClass('current'); } if(/services.html/.test(loc)) { $('#lihome').removeClass('current'); $('#liservices').addClass('current'); } if(/our-work.html/.test(loc)) { $('#lihome').removeClass('current'); $('#liwork').addClass('current'); } if(/contact-us.html/.test(loc)) { $('#lihome').removeClass('current'); $('#licontact').addClass('current'); } }); </script>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter