Make maps deeper to allow the pan/zoom bar visible.

This commit is contained in:
Tom Hughes 2008-02-23 12:52:57 +00:00
parent dffc16e9cc
commit 331cf6b068
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
</tr> </tr>
<tr valign="top"> <tr valign="top">
<th>Location</th> <th>Location</th>
<td><a name="map"></a><div id="map" style="border: 1px solid black; position: relative; width : 90%; height : 300px; display: none;"></div> <td><a name="map"></a><div id="map" style="border: 1px solid black; position: relative; width : 90%; height : 400px; display: none;"></div>
<span class="location">Latitude: <%= f.text_field :latitude, :size => 20, :id => "latitude" %> Longitude: <%= f.text_field :longitude, :size => 20, :id => "longitude" %></span> <a href="#map" id="usemap" onclick="document.getElementById('map').style.display = 'block'; document.getElementById('usemap').style.display = 'none';">use map</a> </td> <span class="location">Latitude: <%= f.text_field :latitude, :size => 20, :id => "latitude" %> Longitude: <%= f.text_field :longitude, :size => 20, :id => "longitude" %></span> <a href="#map" id="usemap" onclick="document.getElementById('map').style.display = 'block'; document.getElementById('usemap').style.display = 'none';">use map</a> </td>
</tr> </tr>
<tr> <tr>

View file

@ -14,7 +14,7 @@
<tr><td></td><td> <tr><td></td><td>
<p>Update home location when I click on the map? <input type="checkbox" value="1" <% unless @user.home_lat and @user.home_lon %> checked="checked" <% end %> id="updatehome" /> </p> <p>Update home location when I click on the map? <input type="checkbox" value="1" <% unless @user.home_lat and @user.home_lon %> checked="checked" <% end %> id="updatehome" /> </p>
<div id="map" style="border: 1px solid black; position: relative; width : 90%; height : 300px;"></div> <div id="map" style="border: 1px solid black; position: relative; width : 90%; height : 400px;"></div>
</td></tr> </td></tr>
</table> </table>
<%= submit_tag 'Save Changes' %> <%= submit_tag 'Save Changes' %>