Making IE7 identify itself as IE6 was in this case just what I needed: I had to have IE7 to check my work but the WCMS we have to use does a hardcoded check for browser version: only IE5.5 and IE6. It just stopped working as I explained in my post {Link} :-).
Lesson: never check for browser identification, but for the existence of functionality, e.g. :
if(!document.getElementById)alert('sorry, no ajax today')
Making IE7 identify itself as IE6 was in this case just what I needed: I had to have IE7 to check my work but the WCMS we have to use does a hardcoded check for browser version: only IE5.5 and IE6. It just stopped working as I explained in my post {Link} :-).
Lesson: never check for browser identification, but for the existence of functionality, e.g. :
if(!document.getElementById)alert('sorry, no ajax today')