Created
December 30, 2015 21:39
-
-
Save mckernanin/4f6f8e6b910d8fb0ba3e to your computer and use it in GitHub Desktop.
QA Navigation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// QA NAVIGATION | |
//REMOVE ME BEFORE PUBLISHING | |
$("body").append(' <div id="qanav" style="position: fixed; bottom: 5px; left: 5px; font-size: 12px; z-index:999999999999;"> '+ | |
'<select>'+ | |
'<option value="#" default>QA Nav - Select a Page</option>'+ | |
'<option value="index.html">Home</option>'+ | |
'<option value="browse-by-spf.html">Browse By SPF</option>'+ | |
'<option value="product-detail.html">Product Detail</option>'+ | |
'<option value="products-sport-protection.html">Prodcuts - Sport Protection</option>'+ | |
'<option value="products-tanning.html">Products - Tanning</option>'+ | |
'</select>'+ | |
'</div>' | |
); | |
$('#qanav select').change(function(){ | |
window.location = $(this).val(); | |
}); | |
// END QA NAVIGATION SNIPPET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment