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(){ | ||
$(" | $("link").remove(); | ||
$("#bodyContent").click(function(event){ | |||
alert("As you can see, the link no longer took you to jquery.com"); | |||
event.preventDefault(); | |||
}); | |||
}); | }); | ||
</script> | </script> | ||
<style media="screen, projection" type="text/css"> | |||
/*<![CDATA[*/ | |||
@import "/skins/common/shared.css"; | |||
@import "/skins/monobook/main.css"; | |||
/*]]>*/ | |||
</style> | |||
<body> | <body> |
Revision as of 11:01, 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(){ $("link").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"; @import "/skins/monobook/main.css"; /*]]>*/ </style>
<body> test </body> </html>