summaryrefslogtreecommitdiffstats
path: root/Bachelor/CCNA4/en_CCNA4_v30/javascript/buttons.js
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Bachelor/CCNA4/en_CCNA4_v30/javascript/buttons.js
downloadStudium-master.tar.gz
Studium-master.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Bachelor/CCNA4/en_CCNA4_v30/javascript/buttons.js')
-rw-r--r--Bachelor/CCNA4/en_CCNA4_v30/javascript/buttons.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/Bachelor/CCNA4/en_CCNA4_v30/javascript/buttons.js b/Bachelor/CCNA4/en_CCNA4_v30/javascript/buttons.js
new file mode 100644
index 0000000..26ef929
--- /dev/null
+++ b/Bachelor/CCNA4/en_CCNA4_v30/javascript/buttons.js
@@ -0,0 +1,17 @@
+function openIndex(mod)
+{
+ var w = window.open("../../index/outline/" + mod + "/index.html", "Outline", "scrollbars=yes,resizable=yes,width=640,height=500,left=0,top=0");
+ w.focus();
+}
+
+function openQuiz(mod)
+{
+ var w = window.open("../../quizzes/" + mod + "/" + mod + "_quiz.html", "Quiz", "scrollbars=no,resizable=yes,width=740,height=388,left=26,top=38");
+ w.focus();
+}
+
+function openGlossary()
+{
+ var w = window.open("../../index/glossary/CCNA_v30_glossary.pdf", "Glossary", "scrollbars=no,resizable=yes,width=750,height=500,left=20,top=50");
+ w.focus();
+}