fix various bugs with notes ext
This commit is contained in:
parent
8d75968ab0
commit
3d11df44a9
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 |
@ -3,6 +3,7 @@
|
|||||||
$(function() {
|
$(function() {
|
||||||
if(window.notes) {
|
if(window.notes) {
|
||||||
$('#main_image').imgNotes({notes: window.notes});
|
$('#main_image').imgNotes({notes: window.notes});
|
||||||
|
$(window).resize(); //Simulate window resize to fix note positioning
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#cancelnote').click(function(){
|
$('#cancelnote').click(function(){
|
||||||
|
@ -33,3 +33,45 @@
|
|||||||
#noteform textarea, #noteEditForm textarea {
|
#noteform textarea, #noteEditForm textarea {
|
||||||
width: 100%;
|
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 {
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user