...

View Full Version : page refreshing issue



juanc
09-04-2006, 08:41 PM
Hi

here's a few lines of code I've got in a page that has a php database query in it and I want it to arrive at the anchor link I have called "bottom each time"




<script language="javascript">

function loadPage()
{
location.href = "http://www.mysite.com/help/chat/chat_window.php?theID=<?php echo $id; ?>";
}

</script>


</head>

<body bgcolor="#CCCCCC" onLoad="setTimeout('loadPage()',20000)">



The page has enough data to produce scrollbars.

Is there something I'm doing wrong?

rlemon
09-05-2006, 03:19 PM
try document.scrollY



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum