Permanent Banner Problem
Bart
- javascript
Schaut Euch bitte mal den Quelltext an.
Das permanent Banner soll bei mir rechtsa in der Ecke unten stehen, es steht aber links unten wie kriege ich das hin?
Danke Bart
<script>
if(navigator.appName.indexOf("Netscape")==-1){
document.write("<DIV ID='Pere_logo' STYLE='position:absolute;top:0;visibility:hide;' ALIGN='right'>")
document.write("<A HREF='http://www.mxsuche.de/partner.html' TARGET='_top'><IMG SRC='http://www.mxsuche.de/Images/permbanner.gif' ALT='der MXSUCHE Monitor' BORDER='0' width='149' height='199'></A>")
document.write("</DIV>")
}else{
document.write("<LAYER NAME="Pere_logo" top=0 visibility=hidden ALIGN='right'>")
document.write("<A HREF='http://www.mxsuche.de/partner.html' TARGET='_top'><IMG SRC='http://www.mxsuche.de/Images/permbanner.gif' ALT='der MXSUCHE Monitor' BORDER='0' width='149' height='199'></A>")
document.write("</LAYER>")
}
</script>
<script>
var IW= 0;
var IH= 0;
var PX= 0;
var PY= 0;
var ZIN= 0;
var us= null;
var IMGW= 300;
var IMGH= 38;
var LSAFETY= 20;
var TSAFETY= 160;
function branding() {
oldIW= IW;
oldIH= IH;
oldPX= PX;
oldPY= PY;
if(navigator.appName.indexOf("Netscape")==-1){
IH= document.body.clientHeight;
IW= document.body.clientWidth;
PX= window.document.body.scrollright;
PY= window.document.body.scrollTop;
(IH > IMGH)? Pere_logo.style.posTop= (IH+PY-(IMGH+TSAFETY)) : Pere_logo.style.posTop= 0;
(IW > IMGW) ? Pere_logo.style.posright ="(IW-(IMGW+LSAFETY))px" :Pere_logo.style.posright= 0;
Pere_logo.style.visibility="visible"
Pere_logo.document.links[0].onmouseover= neat_mouseover;
Pere_logo.document.links[0].onmouseout= neat_mouseout;
}else{
us=document.layers["Pere_logo"]
us.visibility="show"
ZIN=us.zIndex
IH= window.innerHeight;
IW= window.innerWidth;
PX= window.pageXOffset
PY= window.pageYOffset;
us.top=(IH > IMGH) ? (IH+PY-(IMGH+TSAFETY)) : 0;
us.right=(IW > IMGW) ? (IW+PX-(IMGW+LSAFETY)) : 0;
for (i=0; i<document.layers.length; i++){
templay= document.layers[i];
if (templay.zIndex > ZIN)
us.moveAbove(templay)
}
us.document.links[0].onmouseover= neat_mouseover;
us.document.links[0].onmouseout= neat_mouseout;
}
}
function neat_mouseover(){
if(us != null){
window.status="der MXSUCHE Monitor";
return true;
}
}
function neat_mouseout(){
if(us != null){
window.status="";
return true;
}
}
setInterval("branding()",100);
</script>