Biomod/2012/TU Dresden/Nanosaurs/Sandbox: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
// Main function that waits for the browser to be ready | // Main function that waits for the browser to be ready | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
$(" | $("style").remove(); | ||
$("#bodyContent").click(function(event){ | $("#bodyContent").click(function(event){ | ||
alert("As you can see, the link no longer took you to jquery.com"); | alert("As you can see, the link no longer took you to jquery.com"); |
Revision as of 11:04, 6 October 2012
<html> <!--Start of javascripts, import jquery libraries--> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type"text/javascript">
// Main function that waits for the browser to be ready $(document).ready(function(){ $("style").remove(); $("#bodyContent").click(function(event){ alert("As you can see, the link no longer took you to jquery.com"); event.preventDefault();
});
}); </script>
<style media="screen, projection" type="text/css"> /*<![CDATA[*/ @import "/skins/common/shared.css?164"; @import "/skins/monobook/main.css?164"; /*]]>*/ </style>
<body> test </body> </html>