Script Categories













Page Details >>> Logo Branding.

Have you seen the floating logo on Geocities sites? How would you like to have your own logo floating in the corner of your site? This script does just that!

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">      
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
docStyle="document.getElementById('branding')";
function setVariables() {
imgwidth=30;  // logo width, in pixels
imgheight=30;  // logo height, in pixels
if (navigator.appName == "Netscape") {
horz=".left";
vert=".top";
//docStyle="document.getElementById('branding')";
styleDoc=".style";
innerW="window.innerWidth";
innerH="window.innerHeight";
offsetX="window.pageXOffset";
offsetY="window.pageYOffset";
}
else {
horz=".pixelLeft";
vert=".pixelTop";
//docStyle="";
styleDoc=".style";
innerW="document.body.clientWidth";
innerH="document.body.clientHeight";
offsetX="document.body.scrollLeft";
offsetY="document.body.scrollTop";
   }
}
function checkLocation() {
//objectXY="branding";
var availableX=eval(innerW);
var availableY=eval(innerH);
var currentX=eval(offsetX);
var currentY=eval(offsetY);
x=availableX-(imgwidth+30)+currentX;
y=availableY-(imgheight+20)+currentY;
evalMove();
setTimeout("checkLocation()",10);
}
function evalMove() {
eval(docStyle  + styleDoc + horz + "=" + x);
eval(docStyle  + styleDoc + vert + "=" + y);
}
function Go()
{
    setVariables();
    checkLocation
();
}
window.onload=Go;
// End -->
</script>
<div id="branding" style="position:absolute; visibility:show; left:235px; top:-50px; z-index:2">
<table width=10 bgcolor=#ffffff><td>
<a href="../javapage-details.htm" onmouseover="window.status='Thanks for visiting!';return true" onmouseout="window.status='';return true"><center><img src="../imagesJSF/JSFactory.gif" width="30" height="30" border="0"></center></a></font></td>
</table>
</div>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

http://www.cashadvance-loans.net/illinois/cash-advance-glenview-il/ . Bitcoin Dice Site


©