Last active
November 21, 2016 18:04
-
-
Save mbifulco/31ebad0c27fb8ea0888bc57a20a436f4 to your computer and use it in GitHub Desktop.
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
<div class="cms-loaded"> | |
<h1>Events Content Goes Here</h1> | |
<a href="/testing">testing</a> | |
<a href="/123">123</a> | |
</div> | |
<script> | |
$(function(){ | |
var links = $('.cms-loaded a'); | |
$(links).each(function(link){ | |
debugger; | |
}); | |
var article = window.location.search; | |
if(article) { | |
console.log(article); | |
} | |
else { | |
console.log('No event specificied, loading default page.') | |
} | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment