@creedon @paul2009 - I have read this thread 100 times and still can't get this to work correctly on our site, but would love some assistance. This is the link : https://www.empowernowproject.org/ (pw: 84532)
I followed Inscape's info exactly:
1. I added the text "quick exit" to a code block in my footer.
2. Add the custom css to design > custom css (and successfully changed styling a bit)
3. Added the code below to settings > advanced > code injection > header
<script>
$(document).ready(function(){
$("#quick-exit").on("click", function() {
window.open("http://weather.com", "_newtab");
window.location.replace('http://google.com');
});
});
</script>
But... nothing happens - no click function. 😞 What am I missing??