Add custom link into navigation
authorLaury GvR <laury@gaslightmedia.com>
Thu, 16 Aug 2018 20:43:31 +0000 (16:43 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 16 Aug 2018 20:43:31 +0000 (16:43 -0400)
index.html
interior.html
js/app.js
js/custom/pageSetup.js

index 2fca83e..1faa113 100644 (file)
@@ -5,7 +5,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>Gilmore Car Museum</title>
     <link rel="stylesheet" href="css/app.css"/>
-    <link href='http://fonts.googleapis.com/css?family=Balthazar' rel='stylesheet' type='text/css'>
+    <link href='https://fonts.googleapis.com/css?family=Balthazar' rel='stylesheet' type='text/css'>
     <script src="bower_components/modernizr/modernizr.js"></script>
   </head>
   <body>
index d26c89c..074ed9a 100644 (file)
@@ -5,7 +5,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>Gilmore Car Museum</title>
     <link rel="stylesheet" href="css/app.css" />
-    <link href='http://fonts.googleapis.com/css?family=Balthazar' rel='stylesheet' type='text/css'>
+    <link href='https://fonts.googleapis.com/css?family=Balthazar' rel='stylesheet' type='text/css'>
     <script src="bower_components/modernizr/modernizr.js"></script>
   </head>
   <body>
index 501680c..c0e8c43 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -17,4 +17,11 @@ $(document).ready(function () {
         $(this).toggleClass('open');
         $(this).siblings('ul').toggleClass('open');
     });
+
+    var childTarget = $('#page-header .top-bar .top-bar-section > ul:nth-of-type(1) > li:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(5)');
+    childTarget.before( $( '<li class="no-dropdown nav-item customlink"><a href="http://gilmorecarmuseum.pastperfectonline.com/" target="_blank">Search Our Collection</a></li>' ) );
+
+    //console.log(dropdownTarget);
+
+    //<li class="no-dropdown nav-item"><a href="https://www.gilmorecarmuseum.org/visit-explore-2/must-sees/">Customy Link</a></li>
 });
index 741d565..3cf3edd 100644 (file)
@@ -8,4 +8,11 @@ $(document).ready(function () {
         $(this).toggleClass('open');
         $(this).siblings('ul').toggleClass('open');
     });
+
+    var childTarget = $('#page-header .top-bar .top-bar-section > ul:nth-of-type(1) > li:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(5)');
+    childTarget.before( $( '<li class="no-dropdown nav-item customlink"><a href="http://gilmorecarmuseum.pastperfectonline.com/" target="_blank">Search Our Collection</a></li>' ) );
+
+    //console.log(dropdownTarget);
+
+    //<li class="no-dropdown nav-item"><a href="https://www.gilmorecarmuseum.org/visit-explore-2/must-sees/">Customy Link</a></li>
 });