how do i delete a layer?
this is pretty simple:
i've got this function which is executed with a OnMouseOver:
but how do i make it dissapear with a OnMouseOut?
document.body.insertAdjacentHTML('BeforeEnd', '<div id="logo" style="position:absolute; width:200px; height:200; top:-15px; right:0px; background-image: url(logo.jpg); background-position: center; background-repeat: no-repeat; Filter: Alpha(Opacity=20, FinishOpacity=0, Style=2, StartX=15, StartY=40, FinishX=0, FinishY=0) z-index: 1;" ></div>');
right now the layer keeps rewriting itself again and again...
check if the layer exists
yes: set the visibility to visible
no: create the layer
set the visibility to hidden
errr... ok that sound very logical...
but i really dunno how to do it!! :confused: