[Xerte-dev] Re: Xerte and IE doc mode at Nottingham

Smith, John J.J.Smith at gcu.ac.uk
Tue May 20 16:24:03 BST 2014


I'll make it but you might want to try testing it at your end first if you know users that are having issues. I've not seen any issues and don't have IE9 to test but i don't remember ever seeing IE issues so it could be your default IE settings are different from mine.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII


Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:


Do you want to make that change?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 20 May 2014 12:41
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Xerte and IE doc mode at Nottingham

OK so the IE conditionals before the doctype might also cause issues but there is a workaround

http://stackoverflow.com/questions/2518256/override-intranet-compatibility-mode-ie8

The relevant section reads that we should change the code to start

<!--[if HTML5]><![endif]-->
<!doctype html>
<!--[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]--> <head> <!--[if !HTML5]>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <![endif]-->
        <meta charset="utf-8">

        <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><!--http://bit.ly/17XnmNe-->


Regards,

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

Please address ALL support requests to hlsblt at gcu.ac.uk where one of the School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk]
Sent: 20 May 2014 12:01
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Xerte and IE doc mode at Nottingham

It's possible that its the script or utf-8 setting BEFORE the IE=edge setting thats causing it... I've seen some suggest that the IE=edge needs to come first so try changing this:

<head>
        <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><!--http://bit.ly/17XnmNe-->

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">


to this:

<head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta charset="utf-8">
        <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script><!--http://bit.ly/17XnmNe-->


Regards,

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

Please address ALL support requests to hlsblt at gcu.ac.uk where one of the School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk]
Sent: 20 May 2014 11:44
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Xerte and IE doc mode at Nottingham

Thought we were only supporting "modern" browsers? ;-)

Anyway it's here https://github.com/thexerteproject/xerteonlinetoolkits/blob/e18bc9a58b1d63e09c351aa814f88ed2cf7ec827/modules/xerte/player_html5/rloObject.htm#L12

Regards,

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

Please address ALL support requests to hlsblt at gcu.ac.uk where one of the School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk]
Sent: 20 May 2014 11:14
To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)
Subject: [Xerte-dev] FW: Xerte and IE doc mode at Nottingham

I can't find the code to have a look a this: where on earth is it? Does this seem sensible?


Quick query - I've noticed that Nottingham users viewing Xerte projects on-site with IE are having problems because IE will run in compatibility view (as Xerte is an 'intranet site') and document mode often reverts to old IE7 standards, therefore breaking a lot of the HTML5 functionality.

I've noticed that Xerte already has the <meta http-equiv="X-UA-Compatible" content="IE=edge"> tag which should correct this, but unfortunately I don't think it's working - perhaps because it comes after the 'if IE' conditions. Is there any way these could be reordered so that the IE=edge comes right at the top, like on Moodle? Or alternatively can this be configured server side via HTTP header?



This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.

Glasgow Caledonian University is a registered Scottish charity, number SC021474

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.




Glasgow Caledonian University is a registered Scottish charity, number SC021474

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.




Glasgow Caledonian University is a registered Scottish charity, number SC021474

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.





Glasgow Caledonian University is a registered Scottish charity, number SC021474



More information about the Xerte-dev mailing list