<p>A modal can be included anywhere on the page. On initialization a modal's current size will be cached, and the element will be detached from the dom and moved inside a dimmer.</p>
<divclass="ui info message">
<divclass="header">Why move?</div>
<p>Moving a modal to inside the dimmer allows for 3D animations without having the 3D perspective settings alter the rest of the page content. Additionally, content outside the dimmer can be blurred or altered without affecting the modal's content.</p>
</div>
<divclass="code"data-type="javascript">
$('.ui.modal')
.modal()
@ -99,7 +104,7 @@ type : 'UI Module'
<divclass="no example">
<h4class="ui header">Show</h4>
<p>A modal can show its menu</p>
<p>A modal can show itself</p>
<divclass="code"data-demo="true">
$('.test.modal')
.modal('show')
@ -108,7 +113,7 @@ type : 'UI Module'
</div>
<divclass="no example">
<h4class="ui header">Hide</h4>
<p>A modal can hide its menu</p>
<p>A modal can hide itself</p>
<divclass="code"data-demo="true">
$('.test.modal')
.modal('hide')
@ -160,7 +165,7 @@ type : 'UI Module'
<td>
body
</td>
<td>Selector or jquery object specifying the are to dim</td>
<td>Selector or jquery object specifying the area to dim</td>