aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-06-25 18:12:58 +0100
committerDave Whiteland <dave@mysociety.org>2012-06-25 18:12:58 +0100
commit83f29ea6f65d707f237eaf7a3ad4c0e82e1625da (patch)
treef51d3c348e03f9098ae54fb6ba5ed6950b5d7c25 /web
parent69cd6c024ae2a5d7035e2942745c61311b6f1c17 (diff)
FMB web fixes
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmybarangay/position_map.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/web/cobrands/fixmybarangay/position_map.js b/web/cobrands/fixmybarangay/position_map.js
new file mode 100644
index 000000000..753b5f854
--- /dev/null
+++ b/web/cobrands/fixmybarangay/position_map.js
@@ -0,0 +1,22 @@
+function position_map_box() {
+ var $html = $('html');
+ if ($html.hasClass('ie6')) {
+ $('#map_box').prependTo('.wrapper').css({
+ zIndex: 0, position: 'absolute',
+ top: 0, left: 0, right: 0, bottom: 0,
+ width: '100%', height: $(window).height(),
+ margin: 0
+ });
+ } else {
+ $('#map_box').prependTo('.wrapper').css({
+ zIndex: 0, position: 'fixed',
+ top: 0, left: 0, right: 0, bottom: 0,
+ width: '100%', height: '100%',
+ margin: 0
+ });
+ }
+}
+
+function map_fix() {}
+var slide_wards_down = 0;
+