fix various bugs with notes ext

This commit is contained in:
Daku 2014-04-12 00:26:34 +01:00
parent 8d75968ab0
commit 3d11df44a9
4 changed files with 43 additions and 0 deletions

BIN
ext/notes/border-h.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 B

BIN
ext/notes/border-v.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 B

View File

@ -3,6 +3,7 @@
$(function() {
if(window.notes) {
$('#main_image').imgNotes({notes: window.notes});
$(window).resize(); //Simulate window resize to fix note positioning
}
$('#cancelnote').click(function(){

View File

@ -33,3 +33,45 @@
#noteform textarea, #noteEditForm textarea {
width: 100%;
}
/*
* imgAreaSelect default style
*/
.imgareaselect-border1 {
background: url(border-v.gif) repeat-y left top;
}
.imgareaselect-border2 {
background: url(border-h.gif) repeat-x left top;
}
.imgareaselect-border3 {
background: url(border-v.gif) repeat-y right top;
}
.imgareaselect-border4 {
background: url(border-h.gif) repeat-x left bottom;
}
.imgareaselect-border1, .imgareaselect-border2,
.imgareaselect-border3, .imgareaselect-border4 {
filter: alpha(opacity=50);
opacity: 0.5;
}
.imgareaselect-handle {
background-color: #fff;
border: solid 1px #000;
filter: alpha(opacity=50);
opacity: 0.5;
}
.imgareaselect-outer {
/*background-color: #000;*/
filter: alpha(opacity=50);
opacity: 0.5;
}
.imgareaselect-selection {
}