Author: eallen
Date: 2009-09-30 18:47:59 -0400 (Wed, 30 Sep 2009)
New Revision: 3663
Modified:
mgmt/trunk/cumin/python/cumin/grid/pool.strings
mgmt/trunk/cumin/python/cumin/stat.strings
Log:
Add wmode parameter to flash object to prevent the flash objects from always being on top
Modified: mgmt/trunk/cumin/python/cumin/grid/pool.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/grid/pool.strings 2009-09-30 14:58:46 UTC (rev 3662)
+++ mgmt/trunk/cumin/python/cumin/grid/pool.strings 2009-09-30 22:47:59 UTC (rev 3663)
@@ -120,8 +120,8 @@
if (fsm)
fsm.style.display = "block";
- swfobject.embedSWF("resource?name=slots.swf", "{id}_chart",
"{slot_chart_width}", "{slot_chart_height}", "9.0.0",
"", {vis:"slots"});
- swfobject.embedSWF("resource?name=slots.swf",
"{id}ctrl_chart", "{slot_chart_width}",
"{slot_ctrl_height}", "9.0.0", "", {vis:"ctrl"});
+ swfobject.embedSWF("resource?name=slots.swf", "{id}_chart",
"{slot_chart_width}", "{slot_chart_height}", "9.0.0",
"", {vis:"slots"}, {wmode: "opaque"});
+ swfobject.embedSWF("resource?name=slots.swf",
"{id}ctrl_chart", "{slot_chart_width}",
"{slot_ctrl_height}", "9.0.0", "", {vis:"ctrl"},
{wmode: "opaque"});
wooly.addPageUpdateListener(function () { updatePoolSlotVis('{id}',
"reload"); });
wooly.addPageUpdateListener(function () { updatePoolSlotVis('{id}ctrl',
"reload"); });
Modified: mgmt/trunk/cumin/python/cumin/stat.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/stat.strings 2009-09-30 14:58:46 UTC (rev 3662)
+++ mgmt/trunk/cumin/python/cumin/stat.strings 2009-09-30 22:47:59 UTC (rev 3663)
@@ -311,7 +311,7 @@
cumin.setupChart('{id}', {width});
} else {
swfobject.embedSWF("resource?name=open-flash-chart.swf",
"{id}_chart", "{width}", "{height}", "9.0.0",
"",
- {"data-file":"{href}"});
+ {"data-file":"{href}"}, {wmode: "opaque"});
wooly.addPageUpdateListener(function () { cumin.updateFlashChart('{id}');
});
window.addEvent('domready',function () {
@@ -342,7 +342,7 @@
cumin.setupChart('{id}', '{fullpage_href}');
} else {
swfobject.embedSWF("resource?name=open-flash-chart.swf",
"{id}_chart", "96%", "{height}", "9.0.0",
"",
- {"data-file":"{href}"});
+ {"data-file":"{href}"}, {wmode: "opaque"});
wooly.addPageUpdateListener(function () { cumin.updateFlashChart('{id}');
});
window.addEvent('resize', function () {
var chart = cumin.getFlashChart('{id}');