witten
/
luminotes
Archived
1
0
Fork 0

Now highlighting the hovered drop target and highlighting/focusing the dropped editor.

This commit is contained in:
Dan Helfman 2009-02-09 17:09:37 -08:00
parent a35f62b51f
commit ec377a644a
2 changed files with 3 additions and 1 deletions

View File

@ -572,12 +572,13 @@ h1 {
-moz-border-radius: 5px;
position: relative;
top: -0.5em;
border-top: 2px dashed #999999;
border-top: 2px dashed #000000;
}
.note_drop_target_hover {
height: 2em;
border: 2px dashed #000000;
background-color: #ffcc66;
}
.note_shadow {

View File

@ -847,6 +847,7 @@ Editor.prototype.drop = function( event ) {
setElementPosition( this.holder, getElementPosition( hover_drop_target ) );
swapDOM( hover_drop_target, this.holder );
removeElement( "note_drag_source_area" );
this.highlight();
}
var drop_targets = getElementsByTagAndClassName( "div", "note_drop_target" );