Changeset 8c487dd in osmose-frontend


Ignore:
Timestamp:
Oct 7, 2012 8:34:03 PM (5 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
c5a9e98
Parents:
0ec920a
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (07/10/2012 18:13:12)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (07/10/2012 20:34:03)
Message:

Show item menu by default

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • config/map.tpl

    r08dfe3a r8c487dd  
    3737 
    3838<div id="menu"> 
    39   <a id="togglemenu" href="javascript:toggleMenu()">+</a> 
     39  <a id="togglemenu" href="javascript:toggleMenu()">-</a> 
    4040  <form id="myform" name="myform" action="#"> 
    4141  <input type='hidden' name='lat'    value='#lat#'> 
  • website/map/map.js

    rb512204 r8c487dd  
    153153      map.setCenter(lonLat, zoom); 
    154154 
    155       $("div#menu").data('opened', false); 
     155      $("div#menu").data('opened', true); 
     156      $("div#menu").css('height', '90%'); 
    156157 
    157158      map.events.register("moveend", map, function() { 
  • website/map/style.css

    r0ec920a r8c487dd  
    4545  overflow-y: auto; 
    4646  height: 93%; 
    47   display: none; 
    4847} 
    4948div#menu div#need_zoom { 
     
    127126  top: 0px; 
    128127  opacity: 0.8; 
    129   font-size: 10px; 
     128  font-size: 13px; 
    130129 
    131130  vertical-align: middle; 
Note: See TracChangeset for help on using the changeset viewer.