Merge pull request #426 from DakuTree/patch-notesfix
Fix for #422 + Fix Note Positioning
This commit is contained in:
commit
d5c5cfd428
4 changed files with 45 additions and 1 deletions
BIN
ext/notes/border-h.gif
Normal file
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
BIN
ext/notes/border-v.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 72 B |
|
@ -2,7 +2,9 @@
|
|||
|
||||
$(function() {
|
||||
if(window.notes) {
|
||||
$('#main_image').imgNotes({notes: window.notes});
|
||||
$('#main_image').load(function(){
|
||||
$('#main_image').imgNotes({notes: window.notes});
|
||||
});
|
||||
}
|
||||
|
||||
$('#cancelnote').click(function(){
|
||||
|
|
|
@ -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 {
|
||||
}
|
Reference in a new issue