* [Cluster-devel] conga/luci/plone-custom conga.js global_person ...
@ 2006-10-10 19:19 rmccabe
0 siblings, 0 replies; only message in thread
From: rmccabe @ 2006-10-10 19:19 UTC (permalink / raw)
To: cluster-devel.redhat.com
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 @@
<h5 class="hiddenStructure" i18n:translate="heading_personal_tools">Personal tools</h5>
<ul id="portal-personaltools">
- <li><a target="new" href="/luci/doc/">help</a></li>
+ <li><a href="javascript:javascript:popup_window('/luci/doc/', 55, 65);">help</a></li>
<tal:comment tal:replace="nothing">
<tal:block condition="not: isAnon">
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-10 19:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-10 19:19 [Cluster-devel] conga/luci/plone-custom conga.js global_person rmccabe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).