Skip to content

Instantly share code, notes, and snippets.

@deanputney
Created September 17, 2012 21:15
Show Gist options
  • Save deanputney/3739853 to your computer and use it in GitHub Desktop.
Save deanputney/3739853 to your computer and use it in GitHub Desktop.
<div id="ad_example">
<noscript id="ad_example_noscript">
<!-- Ad content goes here, whatever you need -->
<script type="text/javascript" src="http://example.com/ad_script.js"> </script>
<i>This is an advertisement</i>
</noscript>
<script type="text/javascript">
document.write(document.getElementById('ad_example_noscript').text);
</script>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment