Commit 99df048c authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Absolute position for help div

parent 833792d6
......@@ -94,6 +94,9 @@ input
background:#eee;
margin:10px auto;
border:1px solid #bbb;
position:absolute;
left:393px;
top:230px;
}
#help h1, #buttons h1, #edition h1
......
......@@ -5,9 +5,16 @@
var simpleTreeCollection;
$(document).ready(function(){
/* Drag and resize divs (require jQuery UI)*/
/* Help div (require jQuery UI) */
// Allow drag
$("#help").draggable({ handle: 'h1', opacity: '0.70' });
// Allow resize
$("#help").resizable({ handles: 'all', alsoResize: '#help_content', ghost: 'true'});
// Display/hide content with double click on title bar
$("#help h1").dblclick(function(){
$("#help_content").slideToggle('slow');
});
/* Simple Tree */
simpleTreeCollection = $(".simpleTree").simpleTree({
autoclose: false,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment