Hey there,
I'm trying to have the action in this script affect multiple elements besides the 'popup' div. I tried to use it in combination with getElementsByTagName but that didn't seem to work. How can I affect more than one element while using getElementById?
thanks in advanceCode:function showDiv (popup) { var elem = document.getElementById('popup'); elem.style.position = 'absolute' ; elem.style.left = '22px' ; var truck = document.getElementById ('homecontentleft'); truck.style.visibility = 'hidden'; return ( true ) //everythings ok }


Reply With Quote
Bookmarks