File: clickable.html

package info (click to toggle)
orca 49.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,532 kB
  • sloc: python: 98,331; javascript: 281; sh: 64; xml: 27; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head><title>Clickable</title></head>
<script language="JavaScript">
<!--
function myMessage(msg) {
    alert(msg);
}
//-->
</script>
<body>
<p>Clickable image: <img src="orca-for-tests.jpg" alt="Orca Logo" onClick="myMessage('image clicked');">More text.</p>
<p>Clickable span: <span onClick="myMessage('span clicked');">Click Me.</span> More text.</p>
<p>Clickable div: <div onClick="myMessage('div clicked');">Click Me.</div> More text.</p>
</body>
</html>