Posts Tagged ‘ie’

Stupid IE (2)

Sunday, September 2nd, 2007

To create a multiple select-box with javascript you need a very ugly hack in IE.

if (navigator.appName.match(/Internet Explorer/)) {
	fsel = document.createElement(\'<SELECT MULTIPLE>\');
} else {
	fsel = document.createElement(\'select\');
	fsel.multiple = true;
}

Stupid IE (1)

Sunday, September 2nd, 2007
if(!Array.prototype.indexOf) {
	Array.prototype.indexOf = function(el) {
		var i = 0;
		for(; i < this.length; i++)
			if(this[i] == el)
				return i;
		return -1;
	};
}

Disappearing backgrounds in IE.

Friday, December 8th, 2006

In Internet Explorer in some cases backgrounds disappear seemingly randomly. The fix? Add the position: relative; style entry to the concerned div tags.

Spread Firefox Clone

Friday, August 19th, 2005

SpreadInternetExplorer.com

It’s hilarious