From: Anthony Talarico Date: Mon, 7 Dec 2015 19:42:24 +0000 (-0500) Subject: removing href fromt top bar parent links X-Git-Tag: v1.0.0^2~110 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9dc7af1ae0e15247eebea6ec562e6dffcaef6ad6;p=WP-Themes%2Fstaffords.git removing href fromt top bar parent links --- diff --git a/js/app.js b/js/app.js index 2f4238a..e06e7b5 100644 --- a/js/app.js +++ b/js/app.js @@ -221,4 +221,8 @@ $(document).ready(function () { $("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () { $("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset"); }); + $("a:contains('Stay')").attr("href", "#"); + $("a:contains('Dine')").attr("href", "#"); + $("a:contains('Explore')").attr("href", "#"); + $("a:contains('Play')").attr("href", "#"); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 72232c2..58ae39d 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -212,4 +212,8 @@ $(document).ready(function () { $("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () { $("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset"); }); + $("a:contains('Stay')").attr("href", "#"); + $("a:contains('Dine')").attr("href", "#"); + $("a:contains('Explore')").attr("href", "#"); + $("a:contains('Play')").attr("href", "#"); });