Please give a little hint on what these functions are and what value comes from where and goes where.
At 04:00 1-3-2003, you wrote:
I'm trying to implement the following functionality into the file test.php:
When I scroll down the page and then hit a button, the page should remember the scrolled position, refresh the page and then scroll down to the remembered position. I've almost managed to make this work, but only almost.
The first time I click one of the buttons, the page won't scroll, but after that it works fine. I think the reason for this is that the function hentKoordinat() gets called before $teller is set. hentKoordinat() uses $teller.
Anyone know a way to make this work?
Thanks alot!
Lars
File test.php:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <?php echo "
Ykoordinat: " . $yKoord . "
"; echo "Teller: " . $teller; for($i=0; $i<150; $i++) { echo '
'; } for($teller=0; $teller<2; $teller++) { ?> <?php $teller++; ?> <?php } //for($teller=0; $i<2; $i++) { ?>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php