aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/barnet/position_map.js
blob: 08ad60a85bf8364e8419cb9b6509668b12466523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function position_map_box() {
    var map_pos = 'absolute', map_height = '100%';
    if ($('html').hasClass('ie6')) {
        map_pos = 'absolute';
        map_height = $('.wrapper').height();
    }
    $('#map_box').prependTo('.wrapper').css({
        zIndex: 0, position: map_pos,
        top: 0, left: $('.wrapper').left,
        right: 0, bottom: $('.wrapper').bottom,
        width: '900px', height: map_height,
        margin: 0
    });
}