blob: fc05b8ade5e4a0de9f35f3cf980cca56d921c365 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Prototype Test</title>
<style>
.hide {display:none;}
</style>
<script src="//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script>
<script type="text/javascript">
document.observe('dom:loaded', function() {
$('showme').removeClassName('hide');
});
</script>
</head>
<body>
<h1>Prototype Test</h1>
<p class="hide" id="showme">If you see this, Prototype is working.</p>
</body>
</html>
|