- (menuLeft + popup.offsetWidth));
if (leftDiff < 0)
menuLeft -= popup.offsetWidth;
-
- popup.style.top = menuTop + "px;";
- popup.style.left = menuLeft + "px;";
- popup.style.visibility = "visible;";
+
+ popup.setStyle( { top: menuTop + "px",
+ left: menuLeft + "px",
+ visibility: "visible" } );
document.currentPopupMenu = popup;
Event.observe(document.body, "click", onBodyClickMenuHandler);
/* drag-n-drop */
IMG.dragMessage
-{
- position: absolute;
+{ position: absolute;
visibility: hidden;
border: 0px;
-moz-opacity: 0.7;
-}
+ opacity: 0.7;
+ filter: alpha(opacity=70); }
TABLE#addr_table
{
padding: 1px; }
DIV[class~="appointment"]._selected > DIV.appointmentInside
-{ -moz-opacity: 0.7; }
+{ -moz-opacity: 0.7;
+ opacity: 0.7;
+ filter: alpha(opacity=70); }
DIV.appointment > DIV.appointmentInside
{ position: absolute;
right: 0px;
top: 2px;
bottom: 3px;
- -moz-opacity: 0.1; }
+ -moz-opacity: 0.1;
+ opacity: 0.1;
+ filter: alpha(opacity=10); }
DIV.shadow2
{ left: 1px;
right: 1px;
top: 1px;
bottom: 2px;
- -moz-opacity: 0.1; }
+ -moz-opacity: 0.1;
+ opacity: 0.1;
+ filter: alpha(opacity=10); }
DIV.shadow3
{ left: 2px;
right: 2px;
top: 0px;
bottom: 3px;
- -moz-opacity: 0.1; }
+ -moz-opacity: 0.1;
+ opacity: 0.1;
+ filter: alpha(opacity=10); }
DIV.shadow4
{ left: 3px;
right: 3px;
top: 3px;
bottom: 4px;
- -moz-opacity: 0.4; }
+ moz-opacity: 0.4;
+ opacity: 0.4;
+ filter: alpha(opacity=40); }
DIV.gradient, DIV.text
{ position: absolute;
menuItems[i].addEventListener("mouseup", onMenuSetClassification, false);
}
-window.addEventListener("load", onComponentEditorLoad, false);
+addEvent(window, 'load', onComponentEditorLoad);
color: -moz-DialogText; }
SPAN.disabledToolbarButton
-{ -moz-opacity: 0.4; }
+{ -moz-opacity: 0.4;
+ opacity: 0.4;
+ filter: alpha(opacity=40); }
SPAN.toolbarButton:hover
{ color: -moz-buttonhovertext;
display: none;
z-index: 1000;
-moz-opacity: 0.7;
+ opacity: 0.7;
+ filter: alpha(opacity=70);
border-top: 2px solid #fff;
border-left: 2px solid #fff;
border-right: 2px solid #999;
{ position: absolute;
background-color: #999;
-moz-opacity: 0.6;
+ opacity: 0.6;
+ filter: alpha(opacity=60);
z-index: 2;
top: 0px;
left: 0px;
padding: 1em;
margin: 0px auto;
-moz-opacity: 1.0;
+ opacity: 1.0;
+ filter: alpha(opacity=100);
color: #000;
background-color: #dedede; }