Hi, just started messing around with another webpage tonight and had a specific part working pretty well until I realized what worked with Mozilla wasn’t working at all on IE8
Could someone tell me how to get around this or what to change. I’m essentially just using an onClick to change the attribute of a Div layer from Display:None to Display:Block
[CODE]<Script type = ” Text/Javascript “>
function HideBox(DivId)
{ document.getElementById(DivId).style.display=’none’}
function ShowBox(DivId)
{ document.getElementById(DivId).style.display=’block’}
</Script>
<a href=”” onClick=”ShowBox(‘CTMain530’); return false;”>
<Img Src=”http://homepages.nyu.edu/~cjp307/padres” width=119 height=119 border=0></a>
Basically CTMain530 is a hidden div that I want to change to block, but it doesnt work in IE8 only Mozilla. What can I do?