Hello!
This JavaScript automatically scrolls the content within the div-tag to the top-right corner. I would like it to be placed in the bottom-right corner instead. How is it done?
?
/David
<HTML>
<HEAD>
<SCRIPT LANGUAGE=”JavaScript”>
<!– This script and many more are available free online at –>
<!– The JavaScript Source!! [url]http://javascript.internet.com
<!– Begin
function setVariables() {
if (navigator.appName == “Netscape”) {
v=”.top=”;
dS=”document.”;
sD=””;
y=”window.pageYOffset”;
}
else {
v=”.pixelTop=”;
dS=””;
sD=”.style”;
y=”document.body.scrollTop”;
}
}
function checkLocation() {
object=”object1″;
yy=eval(y);
eval(dS+object+sD+v+yy);
setTimeout(“checkLocation()”,10);
}
// End –>
</script>
</HEAD>
<BODY OnLoad=”setVariables();checkLocation()”>
<div id=”object1″ style=”position:absolute; visibility:show; right:0px; top:0px; z-index:2″>
<BODY></HTML>