Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.intro/javascript/common.js')
-rw-r--r--org.eclipse.ui.intro/javascript/common.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.ui.intro/javascript/common.js b/org.eclipse.ui.intro/javascript/common.js
new file mode 100644
index 000000000..4da3b9c22
--- /dev/null
+++ b/org.eclipse.ui.intro/javascript/common.js
@@ -0,0 +1,8 @@
+
+function toggleSection(id) {
+ if (document.getElementById) {
+ var element = document.getElementById(id);
+ element.style.display=(element.style.display=="block")?"none":"block";
+ }
+ return false;
+} \ No newline at end of file

Back to the top