Split out sidebar code from the search code so it can be reused for the
[rails.git] / app / views / site / _key.rhtml
1 <% content_for :left_menu do %>
2 <%= link_to_function "Map key", "showKey();" %>
3 <% end %>
4
5 <script type="text/javascript">
6 <!--
7   function showKey() {
8     updateSidebar("Map key", "<p><img src='images/keymapnik11.png' /></p>");
9     openSidebar();
10   }
11 // -->
12 </script>