From 06f945f27840b53e57795dadbc38e76f7e11ab1c Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 24 Feb 2014 16:42:14 +0100 Subject: init --- zend/documentation/api/core/js/template.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 zend/documentation/api/core/js/template.js (limited to 'zend/documentation/api/core/js/template.js') 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 -- cgit v1.2.3