PDA

View Full Version : javascript positioning



MonteChristo
03-08-2008, 06:47 PM
dfgfgfgfgfg

fileserverdirect
03-08-2008, 07:22 PM
Do you want the content to "slide" in, or just have it be repositioned?



<html>
<head>
<style>
div#container {
position:absolute;
left:-9999px;
top:-9999px;
width: 200px;
}
</style>
<script>
function init()
{
document.getElementById("container").style.left="200px"
document.getElementById("container").style.top="200px"
}
</script>
<body onLoad="init();">
<div id="container">
<p>various text goes here</p>
</div>
</body>
</html>

MonteChristo
03-08-2008, 11:00 PM
fdfdfdfd