var el = document.getElementById('left-column','right-column');
But that didn't work. Maybe someone could help?
Below is a copy of the code I'm using on my site...
var el = document.getElementById('left-column');
var ScrollTop = document.body.scrollTop;
if (ScrollTop == 0)
ScrollTop = window.pageYOffset;
ScrollTop = (document.body.parentElement) ? document.body.parentElement.scrollTop : 0;
if(ScrollTop < 185)
el.style.top = 185 - ScrollTop + "px";
el.style.top = "15px";
Thanks in advance!