Try changing this:
Code:
OBJ_SLIDE.style.height = NEW_PIX_VAL;
to:
Code:
OBJ_SLIDE.style.height = NEW_PIX_VAL+'px';
and this:
Code:
if(NEW_PIX_VAL > 0)OBJ_SLIDE.style.height = NEW_PIX_VAL;
to:
Code:
if(NEW_PIX_VAL > 0)OBJ_SLIDE.style.height = NEW_PIX_VAL+'px';
and this:
Code:
OBJ_SLIDE.style.height = NEW_PIX_VAL
(looks like the first one but, no semicolon at the end) to:
Code:
OBJ_SLIDE.style.height = NEW_PIX_VAL+'px'
Keep a backup, this is untested but, follows a pattern usually involved in these cases.
Bookmarks