diff options
author | http://jmtd.net/ <http://jmtd.net/@web> | 2009-05-14 08:34:23 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2009-05-14 08:34:23 -0400 |
commit | facee6e83e0ed9e398179344a6a9c620c956e7f0 (patch) | |
tree | e488da483ac1d7c975693cd789ee816edd78f294 /doc | |
parent | b67bd17a0326d16d9e0962b0e98a2b5704f4bd73 (diff) | |
download | ikiwiki-facee6e83e0ed9e398179344a6a9c620c956e7f0.tar ikiwiki-facee6e83e0ed9e398179344a6a9c620c956e7f0.tar.gz |
quote depth
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn b/doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn index 4ca07c633..4c9c2352a 100644 --- a/doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn +++ b/doc/todo/edit_form:_no_fixed_size_for_textarea.mdwn @@ -31,4 +31,4 @@ On longer pages its not very comfortable to edit pages with such a small box. Th >>> seems to be needed. Please someone let me know if you succeed in doing that. >>> --[[Joey]] ->>>> the javascript approach would need to work something like this: you need to know about the "bottom-most" item on the edit page, and get a handle for that object in the DOM. You can then obtain the absolute position height-wise of this element and the absolute position of the bottom of the window to determine the pixel-difference. Then, you set the height of the textarea to (current height in px) + determined-value. This needs to be re-triggered on various resize events, at least for the window and probably for other elements too. I may have a stab at this at some point. -- [[Jon]] +>>>>>> the javascript approach would need to work something like this: you need to know about the "bottom-most" item on the edit page, and get a handle for that object in the DOM. You can then obtain the absolute position height-wise of this element and the absolute position of the bottom of the window to determine the pixel-difference. Then, you set the height of the textarea to (current height in px) + determined-value. This needs to be re-triggered on various resize events, at least for the window and probably for other elements too. I may have a stab at this at some point. -- [[Jon]] |