JSFiddle - React, Tailwind, and code Playground
by rodrigonery
HTML
<!doctype html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/extjs/4.0.1/resources/css/ext-all.css" />
</head>
<body>
<div class="feio">::clique::</div>
</body>
</html>
JavaScript
Class = function(){
win = new Ext.Window({
id: 'blaa',
title: 'Bla Ă© louco?',
width: 300,
height: 150,
layout: 'fit',
autoLoad: {
url: 'http://jsfidlle.net',
scripts: true
}
});
win.show();
};
Ext.onReady(Class);
Ext.onReady(function() {
var el = Ext.get('feio');
el.on('click', function() {
Ext.Msg.alert('Rodrigo Nery - Teste');
Ext.fly(el).moveTo(12,17);
Ext.fly(el).setStyle('color', 'blue');
})
});