Widget:WJG Random Sandbox: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
<script type="text/javascript" src="https://dl.dropboxusercontent.com/u/1874620/WBR_scripts/jquery.textHighlighter.min.js"></script>
<script type="text/javascript" src="https://dl.dropboxusercontent.com/u/1874620/WBR_scripts/jquery.textHighlighter.min.js"></script>
<script type="text/javascript" src="https://dl.dropboxusercontent.com/u/1874620/BoardReview/javascripts/WBR_w_updated_api_calls_unstable_branch_12_21_15.js"></script>
<script type="text/javascript" src="https://dl.dropboxusercontent.com/u/1874620/BoardReview/javascripts/WBR_w_updated_api_calls_unstable_branch_12_21_15.js"></script>
 
<script>
function cleanWikiHTML(event){
    // This function clears out the wiki stuff so that the WBR html can just lay over it.
    $("#testOptions").hide();
    $("#exam").hide();
    $("#footer").hide();
    $("#mw-head").hide();
    $("#mw-panel").hide();
    $("#mw-head-base").hide();
    $("#mw-page-base").hide();
    $("#searchbox").hide();
    //$("#firstHeading").after("<div class='show_wiki_button' style='font-family: Lato, Calibri, Arial, sans-serif; color:#aaa;font-size:0.5em;'>Wikiview</div>");
    $("#firstHeading").hide();
    $("#wikidocNav").hide();
    $("#contentSub").hide();
    $("div:contains('twitter'):last").hide() //hides the twitter bar at the bottom that gets in the way of other elements
    $("hr").hide()
    $('#column-one').hide();
}
cleanWikiHTML();
</script>
</head>
</head>



Revision as of 03:56, 22 December 2015