summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/fitr/examples/jmpHook.js
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/doc/latex/fitr/examples/jmpHook.js')
-rw-r--r--texmf-dist/doc/latex/fitr/examples/jmpHook.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/fitr/examples/jmpHook.js b/texmf-dist/doc/latex/fitr/examples/jmpHook.js
new file mode 100644
index 00000000..239f8fec
--- /dev/null
+++ b/texmf-dist/doc/latex/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