<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="resource/Dreamer.css" rel="stylesheet" type="text/css" />
<script src="resource/ext-core-debug.js" type="text/jscript"></script>
<script src="resource/Dreamer.js" type="text/jscript"></script>
<script language="javascript">
function nocallback(){
Dreamer.showMessage('Information','u r handsome');
}
function callback(){
Dreamer.showMessage('Information','u r handsome',80,250,success);
}
function success(){
Ext.get('test').dom.value='success';
}
</script>
</head>
<body>
<input type="button" value="nocallback" onclick="nocallback()"/>
<input type="button" value="callback" onclick="callback()"/>
<input id="test" type="text"/>
</body>
</html>