Template:TBSBS-nav

From wiki
Jump to navigation Jump to search

<html> <nav class="navbar navbar--en navbar-expand-md navbar-dark static-top bg-primary">

     <a class="navbar-brand" href="http://www.gcpedia.gc.ca/wiki/Access">

<img class="atip-logo d-none d-sm-block" src="http://www.gcpedia.gc.ca/gcwiki/images/8/85/ATIP-logo-EN.png"> <img class="atip-logo d-block d-sm-none" src="http://www.gcpedia.gc.ca/gcwiki/images/b/b5/Atip-logo-min.png">

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

<nav class="navbar navbar--fr navbar-expand-md navbar-dark static-top bg-primary">

     <a class="navbar-brand" href="http://www.gcpedia.gc.ca/wiki/Acces">

<img class="atip-logo d-none d-sm-block" src="http://www.gcpedia.gc.ca/gcwiki/images/6/64/Aiprp-logo-fr.png"> <img class="atip-logo d-block d-sm-none" src="http://www.gcpedia.gc.ca/gcwiki/images/1/16/Aiprp-logo-min.png">

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

<script type="text/javascript"> function GCwiki_toggle(elemName) { /* var elem = document.getElementById(elemName);

   if (elem.style.display === "none") {
       elem.style.display = "block";
   } else {
       elem.style.display = "none";
   }
  • /

var element = document.body;

if (element.classList) {

   element.classList.toggle("mw-head--open");

} else {

   // For IE9
   var classes = element.className.split(" ");
   var i = classes.indexOf("mw-head--open");
   if (i >= 0) 
       classes.splice(i, 1);
   else 
       classes.push("mw-head--open");
       element.className = classes.join(" "); 

}

} </script> </html>