User:Jorgenev/AJAXSectionEditor.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 92:
alert(h1 + " " + h + " " + sh + " " + Math.abs(h-sh));
 
if(!h1 || Math.abs(h-sh) > 105)
{
if(parseInt(document.getElementById("thesectiondata").style.height.replace("px","")) >< (document.getElementById("thesectiondata").scrollHeight-+25))
{
document.getElementById("thesectiondata").style.height = "0px";
}
document.getElementById("thesectiondata").style.height = (25+document.getElementById("thesectiondata").scrollHeight)+"px";