PDA

View Full Version : Incorrect Msg.Show Render ! :( ExtJS v3.2.0



agustincba
8 Nov 2010, 5:09 AM
Hi Guys ! :D This is my first post !. Hope I can receive help ! :D My name is Agustín (live in Argentina) and my problem is the following: If you see the photo I attached and considering the code, why I'm getting the things like the top photo and not be below one ?.

My details:
FireFox 3.6.12
ExtJS v3.2.0


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
<title>Getting Started Example</title>
<link rel="stylesheet" type="text/css" href="ext-all.css" />
<link rel="stylesheet" type="text/css" href="examples.css" />

<script type="text/JavaScript" src="ext-base.js"></script>

<script type="text/JavaScript" src="ext-all.js"></script>
<script type="text/JavaScript">
Ext.onReady(function(){
Ext.get('mb1').on('click', function(e){
Ext.MessageBox.confirm('Confirm', 'Are you sure you want to do that?', showResult);
});

function showResult(btn){
Ext.example.msg('Button Click', 'You clicked the {0} button', btn);
};

});
</script>
<style type="text/css">
.x-window-dlg .ext-mb-download {
background:transparent url(images/download.gif) no-repeat top left;
height:46px;
}
</style>

</head>
<body>
<button id="mb1">Show</button>


</body>
</html>

agustincba
8 Nov 2010, 5:10 AM
Hope I can solve this, coz I would be able to investigate more about this framework !. But if I can't get a Msg.Show work, it's very difficult... And I have seen what this framew is capable of... Amazing ! :D