aboutsummaryrefslogtreecommitdiff
path: root/jsScuttle.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-01-12 13:45:49 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-01-12 13:45:49 +0000
commitac8cea75ed68e568658a8e45215a78b8c40f3ce6 (patch)
treeccc8db366b421fc71b3658c62c60ad6b63c52774 /jsScuttle.php
parent8f271134d4c20ac0705bb73053ccdab57750dff7 (diff)
downloadsemanticscuttle-ac8cea75ed68e568658a8e45215a78b8c40f3ce6.tar.gz
semanticscuttle-ac8cea75ed68e568658a8e45215a78b8c40f3ce6.tar.bz2
Interface fix: add suggested anchors to bookmarks' description field.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@229 b3834d28-1941-0410-a4f8-b48e95affb8f
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();
+}