Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- require(['jquery-1'], function ($) {
- $(document).ready(function () {
- $("span.depiction > img").hide(); // would be better if the images were defined as hidden to start with, then we wouldn't need this line
- $("span.depiction").css("text-align", "center").append("<br/><br/><span>click to toggle actor image</span>").click( function (event) {
- $(this).children().toggle();
- return false;
- });
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement