Archive for the ‘javascript’ Category
Firebug: avoid errors in other browsers
Small snippets or full-featured libraries - if you develop in Javascript and don’t have Firefox and Firebug
installed - you’d better get them now.
Firebug is a Firefox extension which brings several top-notch inspection/debugging features. You can inspect DOM, change CSS run-time and so on.
Aside DOM, CSS and Net capabilities Firebug features a very good debugger and some very useful logging capabilities. For example in your scripts you could write:
console.log ( "result is:", var );
and get the javascript variable “var” dumped into Firebug console. Read the rest of this entry »
“document.write” is EVIL ! really !
Some days ago, our ads engine was behaving the (very) wrong way.Randomly, all of our sites were taking a 1-2 minutes to load a page. It turned out some of our insertionist server was down, thus delaying request’s response for ages, and -afterwards- giving up.
It turned out our banner service provider was using document.write to render the banners on the page. How bad ! Read the rest of this entry »
