brickfield / moodle-block_accessibility

Accessibility tools for Moodle, including ATbar from Southapton University ECS
19 stars 34 forks source link

IE < 11 adjustments #71

Closed hrvojegolcic closed 10 years ago

hrvojegolcic commented 10 years ago

Possibly solves problems with IE's < 11 (at least for IE9 which were tested)

The problem was: http://stackoverflow.com/questions/1184950/dynamically-loading-css-stylesheet-doesnt-work-on-ie

Tried to solve using proposed solution. The goal was to use createStyleSheet() to achieve the same effect as in non-IE browsers but this wasn't possible to implemented in past 4 days. It's decided to apply stylesheets directly modifying href attribute of original element for IE<11 browsers. This removes smooth user experience for IE users but at least it works well. It's a good compromise. If anyone has better idea, please comment.

Tested in IE9! Works flawlessly

hrvojegolcic commented 10 years ago

Possible solution for issue #66 ?