summaryrefslogtreecommitdiff
path: root/zend/documentation/api/core/js/template.js
diff options
context:
space:
mode:
Diffstat (limited to 'zend/documentation/api/core/js/template.js')
-rw-r--r--zend/documentation/api/core/js/template.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/zend/documentation/api/core/js/template.js b/zend/documentation/api/core/js/template.js
new file mode 100644
index 0000000..59ccb3d
--- /dev/null
+++ b/zend/documentation/api/core/js/template.js
@@ -0,0 +1,11 @@
+$(document).ready(function ()
+{
+ // to make the page work without JS we need to set a margin-left;
+ // this distorts the splitter plugin and thus we set margin
+ // to 0 when JS is enabled
+ $("#contents").attr('style', 'margin: 0px;');
+
+ $(".resizable").splitter({
+ sizeLeft:250
+ });
+}); \ No newline at end of file