aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/barnet/position_map.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/cobrands/barnet/position_map.js')
-rw-r--r--web/cobrands/barnet/position_map.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/cobrands/barnet/position_map.js b/web/cobrands/barnet/position_map.js
new file mode 100644
index 000000000..95e6717ee
--- /dev/null
+++ b/web/cobrands/barnet/position_map.js
@@ -0,0 +1,14 @@
+function position_map_box() {
+ var map_pos = 'absolute', map_height = '100%';
+ if ($('html').hasClass('ie6')) {
+ map_pos = 'absolute';
+ map_height = $(window).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,
+ margin: 0
+ });
+}