aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/barnet/position_map.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-04-30 15:31:34 +0100
committerStruan Donald <struan@exo.org.uk>2012-04-30 15:31:34 +0100
commit79887eeb1f6312adf8a10c62c08c5d9bbd02097a (patch)
tree4c528f966a6981c398f23f89cfc234598a496bf7 /web/cobrands/barnet/position_map.js
parentcea39933bc5627afc627e6f356687b4902d6ba18 (diff)
map display fixes for ie6
Diffstat (limited to 'web/cobrands/barnet/position_map.js')
-rw-r--r--web/cobrands/barnet/position_map.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/cobrands/barnet/position_map.js b/web/cobrands/barnet/position_map.js
index 95e6717ee..3a8d8c078 100644
--- a/web/cobrands/barnet/position_map.js
+++ b/web/cobrands/barnet/position_map.js
@@ -2,13 +2,13 @@ function position_map_box() {
var map_pos = 'absolute', map_height = '100%';
if ($('html').hasClass('ie6')) {
map_pos = 'absolute';
- map_height = $(window).height();
+ map_height = $('.wrapper').height();
}
$('#map_box').prependTo('.wrapper').css({
zIndex: 0, position: map_pos,
top: $('.wrapper').top, left: $('.wrapper').left,
right: $('.wrapper').right, bottom: $('.wrapper').bottom,
- width: '100%', height: map_height,
+ width: '900px', height: map_height,
margin: 0
});
}