Author: eallen
Date: 2009-08-12 14:33:08 -0400 (Wed, 12 Aug 2009)
New Revision: 3567
Modified:
mgmt/trunk/cumin/python/cumin/widgets.strings
Log:
Added fullpage div between object.BackgroundInclude and form to prevent user interaction
with object on a form page.
Modified: mgmt/trunk/cumin/python/cumin/widgets.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/widgets.strings 2009-08-12 18:17:27 UTC (rev 3566)
+++ mgmt/trunk/cumin/python/cumin/widgets.strings 2009-08-12 18:33:08 UTC (rev 3567)
@@ -626,11 +626,21 @@
overflow: hidden;
position: absolute;
top: 0;
+ z-index: -2;
+}
+
+div.BackgroundGlass {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ top: 0;
+ left: 0;
z-index: -1;
}
[BackgroundInclude.html]
-<object class="BackgroundInclude" data="{data}"
type="{type}"/>
+<div class="BackgroundGlass"><!-- prevents clicks since disabled
doesn't work on objects --></div>
+<object class="BackgroundInclude" data="{data}"
type="{type}" />
[FormHelp.javascript]
function help_window(href) {
@@ -735,6 +745,7 @@
[CuminFormPage.css]
body {
background-color: #000;
+ height: 100%;
z-index: 0;
}
Show replies by date