diff options
Diffstat (limited to 'tools/addon-sdk-1.3/examples/annotator/data/annotation')
-rw-r--r-- | tools/addon-sdk-1.3/examples/annotator/data/annotation/annotation.html | 27 | ||||
-rw-r--r-- | tools/addon-sdk-1.3/examples/annotator/data/annotation/annotation.js | 7 |
2 files changed, 34 insertions, 0 deletions
diff --git a/tools/addon-sdk-1.3/examples/annotator/data/annotation/annotation.html b/tools/addon-sdk-1.3/examples/annotator/data/annotation/annotation.html new file mode 100644 index 0000000..d642d0b --- /dev/null +++ b/tools/addon-sdk-1.3/examples/annotator/data/annotation/annotation.html @@ -0,0 +1,27 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <title>Annotation</title> + <style type="text/css" media="all"> + +body { + font: 100% arial, helvetica, sans-serif; + } + +div { + text-align:left; + } + +</style> + +</head> + +<body> + +<div id = "annotation"> +</div> + +</body> +</html> diff --git a/tools/addon-sdk-1.3/examples/annotator/data/annotation/annotation.js b/tools/addon-sdk-1.3/examples/annotator/data/annotation/annotation.js new file mode 100644 index 0000000..169ed0e --- /dev/null +++ b/tools/addon-sdk-1.3/examples/annotator/data/annotation/annotation.js @@ -0,0 +1,7 @@ +/* +Initialize annotation content. +*/ + +self.on('message', function(message) { + $('#annotation').text(message); +}); |