From ed36fb0203334ab741fbd05bd828c7337f32c811 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 16 Aug 2018 16:43:31 -0400 Subject: [PATCH] Add custom link into navigation --- index.html | 2 +- interior.html | 2 +- js/app.js | 7 +++++++ js/custom/pageSetup.js | 7 +++++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 2fca83e..1faa113 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Gilmore Car Museum - + diff --git a/interior.html b/interior.html index d26c89c..074ed9a 100644 --- a/interior.html +++ b/interior.html @@ -5,7 +5,7 @@ Gilmore Car Museum - + diff --git a/js/app.js b/js/app.js index 501680c..c0e8c43 100644 --- 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( $( '' ) ); + + //console.log(dropdownTarget); + + // }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 741d565..3cf3edd 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -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( $( '' ) ); + + //console.log(dropdownTarget); + + // }); -- 2.17.1