Logo In Lower Right Corner

[Total: 0    Average: 0/5]

This shows how to have a linkable object reside in the lower right corner of the window.

Head Code:

<style>
.jsbrand
{
  position   : absolute;
  border     : 1px solid blue;
  background : #0F0;
  z-index    : 1000;
}
</style>

Body Code:

<div class=jsbrand id=jsbrand>
<a href="#" target="_top">JS-X.com</a>
</div>
<script>
function adjust()
{
  watermark();return;
  document.getElementById("jsbrand").style.bottom="15px";
}
                                                                                                                                    
                                                                                                                                    
var isDOM = document.getElementById?true:false;
var wm=null;
if (isDOM) wm = document.getElementById("jsbrand");
                                                                                                                                    
function watermark() {
  if (isDOM)
  {
    wm.style.display = "none";
    JH = document.body.clientHeight;
    JW = document.body.clientWidth;
    JX = document.body.scrollLeft;
    JY = document.body.scrollTop;
    wm.style.top = JY+JH-45;
    wm.style.right =45;
    wm.style.display = "";
  }
}
setInterval("watermark()",200);
</script>

Times Viewed: 2

Leave a Reply

Your email address will not be published. Required fields are marked *