Monday, March 29, 2010

Resolving IE z-index problem of all controls

The following code resolves all z-index problem :
/*Fixing menu z-index problem and all z-indexing problem of IE */
$(function() {
var zIndexNumber = 1000;
$('div').each(function() {
$(this).css('zIndex', zIndexNumber);
zIndexNumber -= 10;
});
});


Happy coding ...

No comments:

Post a Comment