comparison webapp/src/main/webapp/jquery/jquery.digilib.marks.js @ 1083:bab0bdac6d92

first version of annotations plugin. moved mark background image.
author robcast
date Wed, 30 May 2012 21:42:44 +0200
parents b0a18f8af7bf
children
comparison
equal deleted inserted replaced
1082:6407c33355a2 1083:bab0bdac6d92
1 /** 1 /**
2 * digilib plugin stub 2 * digilib marks plugin
3 */ 3 */
4 4
5 (function($) { 5 (function($) {
6 6
7 // affine geometry 7 // affine geometry
36 if (mpos == null) { 36 if (mpos == null) {
37 // interactive 37 // interactive
38 setMark(data); 38 setMark(data);
39 } else { 39 } else {
40 // use position 40 // use position
41 data.marks.push(pos); 41 data.marks.push(mpos);
42 digilib.fn.redisplay(data); 42 digilib.fn.redisplay(data);
43 } 43 }
44 }, 44 },
45 45
46 /** 46 /**