JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css">
<div id="message"></div>
JavaScript
function message() {
var myPos = [$(window).width() / 2 - 100, 50];
$("#message").dialog({
autoOpen: true,
title: 'Title here',
draggable: false,
minHeight: 100,
position: myPos,
resizable: false
});
}
message();