Template:TcImagineIt nav dev

Revision as of 10:36, 5 February 2021 by Justine.zebrowski (talk | contribs) (Created page with "<html> <nav class="navbar fixed-top navbar-expand-lg navbar-light"> <a class="navbar-brand" href="http://www.gcpedia.gc.ca/wiki/Transport_Canada%E2%80%99s_Transformation_Strat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<html> <nav class="navbar fixed-top navbar-expand-lg navbar-light"> <a class="navbar-brand" href="http://www.gcpedia.gc.ca/wiki/Transport_Canada%E2%80%99s_Transformation_Strategy"> <img src-en="http://www.gcpedia.gc.ca/gcwiki/images/0/03/TC_Transformation_Name_EN.png" src-fr="http://www.gcpedia.gc.ca/gcwiki/images/a/aa/TC_Transformation_Name_FR.png" alt="GCPedia" style="width:30%"> </a>

   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent1" aria-controls="navbarSupportedContent1" aria-expanded="false" aria-label="Toggle navigation">  </button>

</nav> <script>

   $(function(){
           'use strict';
           $('nav.navbar a[href="' + this.location.href + '"]').parents('li,ul').addClass('active');
       });

</script>

</html>