-
-
+
+
-
+ // When the user clicks on the button, scroll to the top of the document
+ function topFunction() {
+ document.body.scrollTop = 0;
+ document.documentElement.scrollTop = 0;
+ }
+
diff --git a/contacts.php b/contacts.php
index ef9f603..5ac29cb 100755
--- a/contacts.php
+++ b/contacts.php
@@ -94,20 +94,36 @@
-
-
+
+
-
+ // When the user clicks on the button, scroll to the top of the document
+ function topFunction() {
+ document.body.scrollTop = 0;
+ document.documentElement.scrollTop = 0;
+ }
+
diff --git a/edit-user.php b/edit-user.php
index b585d4d..d498d51 100644
--- a/edit-user.php
+++ b/edit-user.php
@@ -116,42 +116,60 @@
+
+
+
-
-
+
+
-
+ // When the user clicks on the button, scroll to the top of the document
+ function topFunction() {
+ document.body.scrollTop = 0;
+ document.documentElement.scrollTop = 0;
+ }
+
diff --git a/people.php b/people.php
index d96ae18..e048285 100755
--- a/people.php
+++ b/people.php
@@ -225,20 +225,36 @@
@@ -417,10 +433,11 @@
";
- // Combine key and value for birth date into a formatted string
$birthDate = "{$data[$id]['birth_day']}.{$data[$id]['birth_month']}.{$data[$id]['birth_year']}.";
echo "
-
-
+
+
-
+ // When the user clicks on the button, scroll to the top of the document
+ function topFunction() {
+ document.body.scrollTop = 0;
+ document.documentElement.scrollTop = 0;
+ }
+