ExtJS 3 Hello World

HTML

<link rel="stylesheet" href="http://ext3/extjs/resources/css/ext-all.css">
<!-- <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" />
<script src="extjs/adapter/ext/ext-base.js"></script>
<script src="extjs/ext-all-debug.js"></script>-->

JavaScript

if (Ext.BLANK_IMAGE_URL.substr(0, 5) != 'data:') {
    Ext.BLANK_IMAGE_URL = 'extjs/resources/images/default/s.gif';
}

Ext.onReady(function () {

    Ext.Msg.alert('hi', 'hello world example');

    /*
    Ext.Msg.show({
        title: 'Milton',
        msg: 'Have you seen my stapler?',
        buttons: {
            yes: true, // can also pass strings.. "Maybe" or constant Ext.Msg.YESNO
            no: true,
            cancel: true
        },
        icon: 'milton-icon', // adds a class
        fn: function (btn) {
            Ext.Msg.alert('You clicked', btn); // btn is the button value
        }

    });
    */

});