[Xerte-dev] Latest Changes to Trunk R1025 to fix IE6/7 and IE9/10 rendering - hope I haven't broken anything else!!

Smith, John J.J.Smith at gcu.ac.uk
Sun Jul 7 15:53:41 BST 2013


Hi,

I've made some changes to rloObject.htm (basically the play page) which displays the templates and has, in IE, been restricted to rendering everything in IE8 compatible mode since release - using the tag <meta http-equiv="X-UA-Compatible" content="IE=8" />

This has meant that IE9 and IE10 have never been fully supported and was most notable with the textDrawing page...

This has now been patched and textDrawing should now work in IE9 / 10 and I've fixed the lower button issue that some may have seen in IE6 and 7 with the above tag removed...

To do this i've changed the <html> tag to:

<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7 ie6 ie5"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9 ie8"><![endif]-->
<!--[if IE 9]><html class="no-js ie9"><![endif]-->
<!--[if (gt IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->

in order to give us the best chance of fixing all the padding/margin/flow layout inconsistencies across the IE range... no-js is also in there in case we want to somehow deal with javascriptless browsers in the future...

The other most notable changes to that file are that i'm loading jquery from the Google CDN with local copy backup and that all the script loads are now at the end of the file, as per current advice, except for the one straight after <head> which replaces 'no-js' with 'js', which is redundant at present until we use the .no-js/.js tags, but it's also fairly harmless...

Please test as i've only really tested with a subset of pages and with IE6/7/8/9/10 and Firefox/Chrome/Safari latest versions...

If you have time then www.browserstack.com is great for testing old browsers (it even works with localhost via a tunnel) and you get a clear cache each time you change browser!! 3 months free trial too...

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


More information about the Xerte-dev mailing list