summaryrefslogtreecommitdiff
path: root/templates/chimere/blocks/map.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/chimere/blocks/map.html')
-rw-r--r--templates/chimere/blocks/map.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/chimere/blocks/map.html b/templates/chimere/blocks/map.html
index fe5ea06..56a87a3 100644
--- a/templates/chimere/blocks/map.html
+++ b/templates/chimere/blocks/map.html
@@ -27,8 +27,10 @@ $(function(){
<!--
var routing_panel_open = function(){
$('#frm_categories').hide();
+ $('#search-box').hide();
$('#chimere_itinerary_panel').show();
$('#action-categories').removeClass('state-active');
+ $('#action-search').removeClass('state-active');
$('#action-routing').addClass('state-active');
};
@@ -36,13 +38,26 @@ $(function(){
var category_panel_open = function(){
$('#chimere_itinerary_panel').hide();
+ $('#search-box').hide();
$('#frm_categories').show();
$('#action-routing').removeClass('state-active');
+ $('#action-search').removeClass('state-active');
$('#action-categories').addClass('state-active');
};
$('#action-categories').click(category_panel_open);
+ var search_panel_open = function(){
+ $('#chimere_itinerary_panel').hide();
+ $('#frm_categories').hide();
+ $('#search-box').show();
+ $('#action-routing').removeClass('state-active');
+ $('#action-categories').removeClass('state-active');
+ $('#action-search').addClass('state-active');
+ };
+
+ $('#action-search').click(search_panel_open);
+
$('#sidebar-handler-hide').click(function(){$('#sidebar').hide();});
$('#sidebar-handler-show').click(function(){$('#sidebar').show();});