WidgetPad – HTML5

WidgetPad – HTML5

Nov 04

WidgetPad describes itself as : “collaborative development environment for developers to develop fully-interactive, stand-alone, downloadable SmartPhone applications in HTML5, CSS3 and Javascript.” This is a wonderful initiative to share and modify already built code. I hope they reach a level where all of these components can be bundled into a framework library like Dojo. You might...

Losing a Sale with a bad website design.

Losing a Sale with a bad website design.

Aug 24

Looking for a Intel SSD, I thought I could just go to intel.com and click on the SSD link under their products/ hard drive section. One,  their SSD page is buried under products/netbooks/”Solid-State Drives and Caching” category and two this is what happened on my browser: Update: Works in Firefox. Safari still has a 10% market share and should be supported or at least...

When custom attributes conflict with validation

When custom attributes conflict with validation

Aug 08

I must confess, I am not a validation freak. Semantics and pixel perfection are my primary goals. Forgetting to specify a “type” on a javascript is not the biggest crime. However I went ahead and validated the page I made for this telecom major. A social media campaign microsite which we created in five using restful calls and jquery in the front. Back to validation, 11 validation...

Simulating the Click Event on Firefox

Simulating the Click Event on Firefox

Aug 04

1 2 3 4 5 6 7 8 9 10 11 12 if(navigator.appName.indexOf("Explorer")== -1) {   // Simulates the click() event for gecko based browsers   HTMLElement.prototype.click = function() { var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0,...

OuterHTML snippet

OuterHTML snippet

Aug 04

Here is a simple snippet that enables OuterHTML in Firefox. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 if (document.body.__defineGetter__) {   if (HTMLElement) {   var element = HTMLElement.prototype;   if (element.__defineGetter__) {   ...

Compressor Rater – The Javascript Compression rater.

Compressor Rater – The Javascript Compression rater.

Oct 26

I like comparisons and especially when a tool takes my input and produces 3 different Step in Compressor Rater it takes the Dojo Shrinker, JSMin and YUI compressors for Javascript and produces a report as well as gives you an option to copy paste the resulting code. More >...