...

View Full Version : autoscroll page reloaded, help!



erickkz
07-07-2006, 11:56 PM
Hi everyone!

What I want is when I submit my page the scroll position shows a specific area. I tried this but it didn't work(FF,OP6):mad:


<?php
if($_POST["submit"]){
print "<script type='' language='JavaScript'>
self.scrollTo(0, 100);
</script>";
?>
<html>
<head>
<title>Untitled</title>
</head>

<body>

<form action="" method="POST" id="myForm">
<input type="submit" name="" value="Top" id="myButton">
</form>
<!--a lot of html code-->
</body>
</html>

thanks in advance:)

rm-f
07-08-2006, 04:59 PM
Anchor Tag(s) maybe?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum