Simplify sidebar/resize

Float sidebars left/right and use overflow: hidden.
Fixes a bug on Opera where mouse events propagate to
the map.
This commit is contained in:
John Firebaugh 2013-07-12 12:17:51 -07:00
parent d9f3ceed95
commit aff23d4b4b
11 changed files with 27 additions and 120 deletions

View file

@ -1,19 +1,12 @@
function maximiseMap() {
$("#content").addClass("maximised");
handleResize();
}
function minimiseMap() {
$("#content").removeClass("maximised");
handleResize();
}
$(document).ready(function () {
$(window).resize(handleResize);
handleResize();
$("#search_form").submit(function () {
$("#sidebar_title").html(I18n.t('site.sidebar.search_results'));
$("#sidebar_content").load($(this).attr("action"), {