User:Jorgenev/AJAXSectionEditor.js: Difference between revisions

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