mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Make resize also work under IE
SVN revision: 1878
This commit is contained in:
parent
b0ff642d03
commit
568de40c48
@ -9399,7 +9399,10 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
||||
rsprintf(" t = p.offsetTop;\n");
|
||||
rsprintf(" while (p = p.offsetParent)\n");
|
||||
rsprintf(" t += p.offsetTop;\n");
|
||||
rsprintf(" height = window.innerHeight - t - 135;\n");
|
||||
rsprintf(" if (window.innerHeight) // netscape\n");
|
||||
rsprintf(" height = window.innerHeight - t - 135;\n");
|
||||
rsprintf(" else // IE\n");
|
||||
rsprintf(" height = document.body.offsetHeight - t - 135;\n");
|
||||
rsprintf(" if (height < 300)\n");
|
||||
rsprintf(" height = 300;\n");
|
||||
rsprintf(" document.form1.Text.style.height = height;\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user