Tuesday, February 19th, 2008
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:
-
-
function changeDock(){
-
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;
-













Jack I love u !
Oh, so you were the guy shouting “Enough is enough! I have had it with these MFing IE7 CSS hacks on this MFing plane!”? :-)