jump to navigation

NOTE: The spam filter is being unusually aggressive. If you comment does not immediately appear, it has simply been placed in moderation and I will approve it as quickly as possible. Thank you for your patience.

"Murphy was an optimist!"

What do bits and bytes look like? September 18, 2009 2:10 pm

Posted by Doug McCaughan in : Programming, Technology
, trackback

I spend a lot of my days staring at stuff like this:

fV,da){var result=[];for(var i=0;i<=da.length-1;i++){if(da[i]!=fV){result[result.length]=da[i];}}return result;};function um_aM(fV,f){for(var i=0;i<=f.length-1;i++){if(fV==f[i]){return true}}return false;};function log(fi){regetPopDoc();var fW=um_K.getElementById("debugHint");if((um_v)&&(fW)){fW.value=fi+"\r"+"\n"+fW.value;}};function um_aZ(fV){var dn=0;if(fV.offsetParent)while(1){dn+=fV.offsetLeft;fV=fV.offsetParent;if(!fV.offsetParent)break;}else if(fV.x)dn+=fV.x;return dn;};function um_ba(fV){var dp=0;if(fV.offsetParent)while(1){dp+=fV.offsetTop;fV=fV.offsetParent;if(!fV.offsetParent)break;}else if(fV.y)dp+=fV.y;return dp;};function um_aF(el,gP){if((um_J)||um_I||ie){var gX=gP.split('-');var gY='';if(gX.length>0){gP="";for(var i=0;i<=gX.length-1;i++){if(i>=1){gY=gX[i].substr(0,1);gY=gY.toUpperCase();gY+=gX[i].substring(1);}else{gY=gX[i];}gP+=gY;}}else{}}var x=el;if(um_p||um_n||um_o){var y=x.currentStyle[gP]}else if(um_q){var y=eval('x.currentStyle.'+gP);}else if(um_I||um_J){var y=document.defaultView.getComputedStyle(x,null).getPropertyValue(gP);log('get style: y is '+y);}else{var y=document.defaultView.getComputedStyle(x,null).getPropertyValue(gP);}return y;};function um_aN(){var fB=navigator.userAgent;var hd=navigator.appVersion;log('navigator is: '+fB);log('version is:'+hd);if(hd.indexOf('MSIE 5.5')!=

Comments after advertisement

Comments»

no comments yet - be the first?


trackback