aboutsummaryrefslogtreecommitdiff
path: root/data/s5/default/iepngfix.htc
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-10-20 13:33:07 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-10-20 13:35:04 -0700
commite2acc46f504e53cb5426664c480b0eb04527e1e7 (patch)
tree4b1d99587f3a9d355575c959cbdb9ffae86c67c7 /data/s5/default/iepngfix.htc
parent9d6bca06ee944c3bf056be61d075d65594963c79 (diff)
downloadpandoc-e2acc46f504e53cb5426664c480b0eb04527e1e7.tar.gz
Removed data files for s5, slideous, slidy.
Users of s5 and slideous will have to download the needed files, as has been documented for some time in the README. slidy files will be sought on the web, as before.
Diffstat (limited to 'data/s5/default/iepngfix.htc')
-rw-r--r--data/s5/default/iepngfix.htc42
1 files changed, 0 insertions, 42 deletions
diff --git a/data/s5/default/iepngfix.htc b/data/s5/default/iepngfix.htc
deleted file mode 100644
index bba2db756..000000000
--- a/data/s5/default/iepngfix.htc
+++ /dev/null
@@ -1,42 +0,0 @@
-<public:component>
-<public:attach event="onpropertychange" onevent="doFix()" />
-
-<script>
-
-// IE5.5+ PNG Alpha Fix v1.0 by Angus Turnbull http://www.twinhelix.com
-// Free usage permitted as long as this notice remains intact.
-
-// This must be a path to a blank image. That's all the configuration you need here.
-var blankImg = 'ui/default/blank.gif';
-
-var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
-
-function filt(s, m) {
- if (filters[f]) {
- filters[f].enabled = s ? true : false;
- if (s) with (filters[f]) { src = s; sizingMethod = m }
- } else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
-}
-
-function doFix() {
- if ((parseFloat(navigator.userAgent.match(/MSIE (\S+)/)[1]) < 5.5) ||
- (event && !/(background|src)/.test(event.propertyName))) return;
-
- if (tagName == 'IMG') {
- if ((/\.png$/i).test(src)) {
- filt(src, 'image'); // was 'scale'
- src = blankImg;
- } else if (src.indexOf(blankImg) < 0) filt();
- } else if (style.backgroundImage) {
- if (style.backgroundImage.match(/^url[("']+(.*\.png)[)"']+$/i)) {
- var s = RegExp.$1;
- style.backgroundImage = '';
- filt(s, 'crop');
- } else filt();
- }
-}
-
-doFix();
-
-</script>
-</public:component> \ No newline at end of file