it will only work with netscape
It will deffinitely work with IE5, IE6 either... Of course if you have use DIV or SPAN tag layers, not LAYER, which is an only NS tag
For cross-browser with IE4 use
PHP Code:
function backscroll() {
if (document.getElementById){
document.getElementById('scroll2').style.background="url('gif/back_bottom.gif') white center no-repeat fixed";
document.getElementById('scroll2').style.overflow ='auto';
else if (document.all){
document.all['scroll2'].style.background="url('gif/back_bottom.gif') white center no-repeat fixed";
document.all['scroll2'].style.overflow ='auto';
}
}
make sure you gave the layer an id, <div id="scroll2"></div>
Bookmarks