From 27a6c4aef04a15f0bc5c19fcd65b221c7590946f Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Thu, 16 Sep 2010 12:12:06 +0000 Subject: [PATCH] Critical layout fixes for IE --- Builder/IISMainHandler/build.txt | 2 +- static/js/machichara/simple.js | 2 +- templates/Full/elems/Main.xslt | 18 ++++++++++-------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index b5089da..6fb6e10 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1323 \ No newline at end of file +1328 \ No newline at end of file diff --git a/static/js/machichara/simple.js b/static/js/machichara/simple.js index bf62579..be768ab 100644 --- a/static/js/machichara/simple.js +++ b/static/js/machichara/simple.js @@ -10,7 +10,7 @@ function simpleMachicharaUpdate(element) { function simpleMachichara(imageUrl) { var machicharaSimpleElement = document.createElement("div"); machicharaSimpleElement.zIndex = 1000; - machicharaSimpleElement.style.position = "fixed"; + machicharaSimpleElement.style.position = isIe ? "absolute" : "fixed"; machicharaSimpleElement.style.top = "50%"; machicharaSimpleElement.style.left = "50%"; document.body.appendChild(machicharaSimpleElement); diff --git a/templates/Full/elems/Main.xslt b/templates/Full/elems/Main.xslt index 06a3745..48012aa 100644 --- a/templates/Full/elems/Main.xslt +++ b/templates/Full/elems/Main.xslt @@ -21,7 +21,16 @@