From: jparsons@sourceware.org <jparsons@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/cluster index_html
Date: 25 Sep 2006 16:25:57 -0000 [thread overview]
Message-ID: <20060925162557.6898.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-09-25 16:25:57
Modified files:
luci/cluster : index_html
Log message:
fresh new javascript for fences
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/index_html.diff?cvsroot=cluster&r1=1.12&r2=1.13
--- conga/luci/cluster/index_html 2006/09/08 22:54:32 1.12
+++ conga/luci/cluster/index_html 2006/09/25 16:25:57 1.13
@@ -94,6 +94,30 @@
window.open(href, windowname, 'width=400,height=200,scrollbars=yes');
return false;
}
+
+ function swap_div(container_id, element_id) {
+ container_element = document.getElementById(container_id)
+ if (!container_element) {
+ alert('Can\'t find element with id = ' + container_id);
+ return (-1);
+ }
+
+ child_element = document.getElementById(element_id);
+ if (!child_element) {
+ alert('Can\'t find element with id = ' + element_id);
+ return (-1);
+ }
+
+ temp = container_element.firstChild;
+ container_element.replaceChild(child_element, container_element.firstChild);
+ invisible_div = document.getElementById('invisible');
+ if (!invisible_div) {
+ alert('No invisible div');
+ return (-1);
+ }
+
+ invisible_div.appendChild(temp);
+ }
//-->
</SCRIPT>
<metal:javascriptslot define-slot="javascript_head_slot" />
next reply other threads:[~2006-09-25 16:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-25 16:25 jparsons [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-06-18 20:14 [Cluster-devel] conga/luci/cluster index_html rmccabe
2007-03-01 22:19 rmccabe
2006-10-25 23:38 rmccabe
2006-08-16 17:24 jparsons
2006-08-01 16:55 rmccabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060925162557.6898.qmail@sourceware.org \
--to=jparsons@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.