Don84 wrote:
> Thomas 'PointedEars' Lahn wrote:
>> DL wrote:
>>> Question/Problem:
>>> How to use the bodyStyle attribute?
>> You are looking for <http://extjs.com/support>. Delusions of "lightweight,
>> high-performance cross-browser JavaScript [libraries]" that weigh at least
>> "25kb" "(minified/gzipped)"(!) but are considered "Highly portable" by their
>> authors nevertheless, are not supported here.
>> [...]
Learn to quote. <http://jibbering.com/faq/#posting>
> I've solved it.
> items: [{bodyStyle: "background-color:white; color:black; padding-left:
> 10px"}]
>
> Yes, will attempt to use extjs forum, previous question was answered
> there, discouraging.
It stands to reason that people who wrote junk like the following are eager
to promote it. Even more those script-kiddies who decided using it.
,-<http://ajax.googleapis.com/ajax/libs/ext-core/3.0.0/ext-core-debug.js>
|
/*
* Ext Core Library 3.0
*
http://extjs.com/
* Copyright(c) 2006-2009, Ext JS, LLC.
*
* MIT Licensed -
http://extjs.com/license/mit.txt
*
*/
// for old browsers
window.undefined = window.undefined;
Ext = {
version: '3.0'
};
Ext.apply = function(o, c, defaults){
// no "this" reference for friendly out of scope calls
if(defaults){
Ext.apply(o, defaults);
}
if(o && c && typeof c == 'object'){
for(var p in c){
o[p] = c[p];
}
}
return o;
};
(function(){
var idSeed = 0,
ua = navigator.userAgent.toLowerCase(),
check = function(r){
return r.test(ua);
},
isStrict = document.compatMode == "CSS1Compat",
isOpera = check(/opera/),
isChrome = check(/chrome/),
isWebKit = check(/webkit/),
isSafari = !isChrome && check(/safari/),
isSafari3 = isSafari && check(/version\/3/),
isSafari4 = isSafari && check(/version\/4/),
isIE = !isOpera && check(/msie/),
isIE7 = isIE && check(/msie 7/),
isIE8 = isIE && check(/msie 8/),
isIE6 = isIE && !isIE7 && !isIE8,
isGecko = !isWebKit && check(/gecko/),
isGecko3 = isGecko && check(/rv:1\.9/),
isBorderBox = isIE && !isStrict,
isWindows = check(/windows|win32/),
isMac = check(/macintosh|mac os x/),
isAir = check(/adobeair/),
isLinux = check(/linux/),
isSecure = /^https/i.test(window.location.protocol);
// remove css image flicker
if(isIE6){
try{
document.execCommand("BackgroundImageCache", false, true);
}catch(e){}
}
// ...
PointedEars