Spoiler codes

Create movie/data spoilers easily!

CSS/JS files (add code to <HEAD> section):


<!-- DC Spoiler Codes CSS -->
<link type="text/css" rel="stylesheet" href="dreamcodes/spoiler_codes/css/tsc_spoiler_code.css" />

<!-- jQuery Library (skip this step if already called on page ) -->
<script type="text/javascript" src="dreamcodes/jquery.min.js"></script> <!-- (do not call twice) -->

<!-- DC Spoiler Codes JS -->
<script type="text/javascript" src="dreamcodes/spoiler_codes/js/tsc_spoiler_code.js"></script>

          

Sample Spoiler

James Cameron's epic motion picture, Avatar grossed over $2.8 billion dollars worldwide!


View code:


<!-- DC Spoiler Codes Start -->
<p>James Cameron's epic motion picture, Avatar grossed over <span class="tsc_spoiler">$2.8 billion dollars worldwide!</span></p>
<!-- DC Spoiler Codes End -->

          


© TemplateAccess