menu
[ Updated threads · New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
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 (23.3 Kb)


www.coredownloadz.ucoz.com
 
  • Page 1 of 1
  • 1
Search: