Jack is back: Ext for Air and Vista

Jack had posted a couple of entries back to back in the world of Ext.
First, he has been playing with Air again, and quickly wrapped the Ext 2.0 docs in Air, which would have been helpful when I was hacking the Ext toy on the plane:
Second, he has been playing with Vista gadgets and Ext and created a forum watcher that has the following gadget special code:
if(System.Gadget.docked){
System.Gadget.background = ‘images/docked.png’;
var bd = Ext.getBody();
bd.setSize(130, 250);
bd.addClass(‘docked’);
cm.setHidden(1, true);
cm.setRenderer(0, renderTopicMini);
grid.setPosition(4, 4);
grid.setSize(121, 241);
toggleDetails(null, false);
}else{
System.Gadget.background = ‘images/undocked2.png’;
var bd = Ext.getBody();
bd.setSize(528, 383);
bd.removeClass(‘docked’);
cm.setHidden(1, false);
cm.setRenderer(0, renderTopic);
grid.setPosition(14, 14);
grid.setSize(494, 349);
cm.setColumnWidth(0, 350);
toggleDetails(null, true);
}
}
System.Gadget.onUndock = changeDock;
System.Gadget.onDock = changeDock;
Read more on the source site
No comments yet.
feel free to leave a comment
Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs are automatically generated. Off-topic or inappropriate comments will be edited or deleted. Email addresses will never be published. Keep it PG-13 people!
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
All fields marked with " * " are required.


