Alert and confirm message boxes have the position "center" by default. One more option is to place these helpers at the top of the page. For this purpose, use the following property:
dhtmlx.message.position = "top";
The only possible value of the "position" property for alert and confirm is "top".
As for message, its default position is set by means of the property position and the default value is "top". Another possible value is "bottom".
If you want to get messages left aligned, add the following style on the page:
<style>
.dhtmlx_message_area{
left:5px;
right:auto;
}
</style>
No, it works only in the standard mode. Besides, dhtmlxMessage supports IE from version 7+.
Back to top