User:Jorgenev/AJAXSectionEditor.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 86:
function updateheight()
{
var hh1 = parseInt(document.getElementById("thesectiondata").style.height.replace("px",""));
var h = parseInt(h1);
var sh = document.getElementById("thesectiondata").scrollHeight;
 
alert(h1 + " " + h + " " + sh + " " + Math.abs(h-sh));
 
if(Math.abs(parseInt(document.getElementById("thesectiondata").style.height.replace("px",""))/10)-document.getElementById("thesectiondata").scrollHeight/10 > 10)