Archive for April, 2008
Friday, April 4th, 2008
One of the possible solutions is:
Ext.BLANK_IMAGE_URL = '../ext/resources/images/default/s.gif';
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
Ext.onReady(function(){
var p = new Ext.Panel({
title: Ext.fly('title').dom.innerHTML
...
Posted in Know-how | No Comments »
Friday, April 4th, 2008
/** vim: ts=4:sw=4:nu:fdc=4:nospell
*
* A CSS File
*
* @author Ing.Jozef Sakáloš
* @copyright (c) 2008, by Ing. Jozef Sakáloš
* @date 5. April 2008
* @version $Id$
*
* @license A CSS File is licensed under the terms ...
Posted in File Patters | 2 Comments »
Thursday, April 3rd, 2008
I have found another post that others could be interested in, originally posted on May 25, 2007. The original text follows:
As you may have noticed from code fragments I've posted on this forum that I'm using leading commas in my code. People keep asking me about reasons why I have ...
Posted in Philosophy | 9 Comments »
Thursday, April 3rd, 2008
var msg = "From inline function";
var result = (function(m) {
alert(m);
return "Result of inline function";
}(msg));
alert(result);
Posted in Code Patterns | 4 Comments »
Thursday, April 3rd, 2008
// vim: ts=4:sw=4:nu:fdc=4:nospell
/*global Ext, AnExtension */
/**
* @class AnExtension
* @extends Ext.Panel
*
* AnExtension description
*
* @author Ing. Jozef Sakáloš
* @copyright (c) 2010, by Ing. Jozef Sakáloš
* @date
* 11. March 2010
*
* @version ...
Posted in File Patters | 4 Comments »
Thursday, April 3rd, 2008
// vim: sw=4:ts=4:nu:nospell:fdc=4
/**
* A Plugin
*
* @author Ing. Jozef Sakáloš
* @copyright (c) 2008, by Ing. Jozef Sakáloš
* @date 3. April 2008
* @version $Id$
*
* @license plugin.js is licensed under the terms of the Open ...
Posted in File Patters | 2 Comments »
Wednesday, April 2nd, 2008
My users are used to double-clicks to such a degree that they double-click everything, also buttons. This has created the problem with buttons that add records to grid as always two records were added. Here is handling:
this.toolbar.add({
id:this.id + '-btn-add-record'
,text:this.addText
,tooltip:this.addRecordText
,iconCls:'icon-plus'
,disabled:true
...
Posted in Know-how | No Comments »
Wednesday, April 2nd, 2008
,items:(function(){
var items = [];
// populate items array
return items;
}).createDelegate(this)()
Posted in Code Patterns | 4 Comments »
Wednesday, April 2nd, 2008
var text = 'Deferred';
(function() {
alert(text);
}.defer(2000, this));
Posted in Code Patterns | No Comments »
Wednesday, April 2nd, 2008
[paypal-donation]
Posted in File Patters | 2 Comments »