<script type="text/javascript">
function openDialog(contents)
{
document.getElementById("glass").style.display='block';
document.getElementById("panel").style.display='block';
}
function closeDialog()
{
document.getElementById("glass").style.display='none';
document.getElementById("panel").style.display='none';
}
</script>
<input type="button" value="Open Dialog" onclick="openDialog()" />
<div id="glass" style="position: absolute; left: 0px; top: 0px; visibility: visible; width: 100%; height: 100%; display: block; background-color: black; opacity: 0.3; display: none;"></div>
<div id="panel" style="position: absolute; left: 10%; top: 10%; overflow: visible; border: 3px solid #BABBBC; background: #F3EBD6; width: 80%; height: 80%; padding: 5px; display: none;">
<input type="button" onclick="closeDialog()" value="Close" />
</div>
Showing posts with label css. Show all posts
Showing posts with label css. Show all posts
26 June 2012
Create Panel in HTML
17 January 2011
Disable standard style in GWT
Hello,
To disable standard style in GWT remove the following line from ".gwt.xml" file.
To disable standard style in GWT remove the following line from ".gwt.xml" file.
<inherits name="com.google.gwt.user.theme.standard.Standard"/>
Subscribe to:
Posts (Atom)