From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 10 Oct 2006 19:19:14 -0000 Subject: [Cluster-devel] conga/luci/plone-custom conga.js global_person ... Message-ID: <20061010191914.22068.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2006-10-10 19:19:13 Modified files: luci/plone-custom: conga.js global_personalbar Log message: display docs in a floating window about half the width of the parent window and a little more than half the hight. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/conga.js.diff?cvsroot=cluster&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/global_personalbar.diff?cvsroot=cluster&r1=1.4&r2=1.5 --- conga/luci/plone-custom/conga.js 2006/10/09 15:48:37 1.2 +++ conga/luci/plone-custom/conga.js 2006/10/10 19:19:13 1.3 @@ -4,3 +4,9 @@ document.title = title_str; return (0); } + +function popup_window(url, width_percent, height_percent) { + var width = window.innerWidth * (width_percent / 100); + var height = window.innerHeight * (height_percent / 100); + window.open('luci/doc', '', 'width=' + width + ',height=' + height + ',scrollbars,resizable', false); +} --- conga/luci/plone-custom/global_personalbar 2006/10/10 18:08:08 1.4 +++ conga/luci/plone-custom/global_personalbar 2006/10/10 19:19:13 1.5 @@ -11,7 +11,7 @@
Personal tools