Killing IE6 with valid CSS - Coredownloadz Forum
[ New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Coredownloadz Forum » Web developments and Ecommerce » Programming Softwares » Killing IE6 with valid CSS
Killing IE6 with valid CSS
guitarmantraDate: Thursday, 2009-06-04, 7:44 AM | Message # 1
Colonel
Group: Administrators
Messages: 220
Awards: 3
Reputation: 2
Status: Offline
Tired of having apefectly valid CSS code which didn't display correctly in this obsolete browser for some unknown reason? Then, what about getting rid of this piece of crap? Just insert the following code in your html file, and say goodbye to IE6. It will crash automatically once the page is loading.

Code

function getX( oElement ) {
     var iReturnValue = 0;
     while( oElement != null ) {
         iReturnValue += oElement.offsetLeft;
         oElement = oElement.offsetParent;
     }
     return iReturnValue;
}
Attachments: 4868484.jpg(23Kb)


www.coredownloadz.ucoz.com
 
FileServe BitShare emoticon(
Coredownloadz Forum » Web developments and Ecommerce » Programming Softwares » Killing IE6 with valid CSS
Page 1 of 11
Search: