summaryrefslogtreecommitdiff
path: root/jsScuttle.php
diff options
context:
space:
mode:
Diffstat (limited to 'jsScuttle.php')
-rw-r--r--jsScuttle.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/jsScuttle.php b/jsScuttle.php
index 222b91d..c21fa0e 100644
--- a/jsScuttle.php
+++ b/jsScuttle.php
@@ -141,3 +141,9 @@ function playerLoad() {
}
}
}
+
+function addAnchor(anchorForm, where) {
+ var whereZone = document.getElementById(where);
+ whereZone.value = whereZone.value + anchorForm;
+ document.getElementById(where).focus();
+}