summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fitr/examples/jmpHook.js
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/fitr/examples/jmpHook.js')
-rw-r--r--macros/latex/contrib/fitr/examples/jmpHook.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/latex/contrib/fitr/examples/jmpHook.js b/macros/latex/contrib/fitr/examples/jmpHook.js
new file mode 100644
index 0000000000..239f8fecdf
--- /dev/null
+++ b/macros/latex/contrib/fitr/examples/jmpHook.js
@@ -0,0 +1,12 @@
+%
+% Custom jump action
+%
+\begin{insDLJS}{jfitr}{Custom Effects following Jump}
+function pbJmpHookCustom(event) {
+ console.show();
+ app.beep();
+ console.println("You just jumped to a view window named \""
+ +event.target.name+"\"!");
+}
+\end{insDLJS}
+\endinput