{
var cMode = document.compatMode;
if(cMode == 'CSS1Compat')
{
alert('This page is in a standards compliant mode.');
}
if(cMode == 'BackCompat')
{
alert('This page is in a non-standards compliant (quirks) mode.');
}
}
This script is included in the latest version of Acid.JS – The AJAX Tools and Widgets Library .
© 2006 - 2023 Martin Ivanov