Changeset 9347 for src


Ignore:
Timestamp:
Jul 4, 2011, 2:57:26 PM (13 years ago)
Author:
dennisw
Message:

Added a hide_parent thing for the content divs. (more user friendly)

Location:
src/django_gheat/website
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/website/static/heatmap_extensions.js

    r9317 r9347  
    126126    $("#info").slideToggle("fast");
    127127  });
     128  $("#hide_parent").live("click",function(){
     129    parent = $(this).parent("div");
     130    $(parent).slideUp("fast");
     131  });
     132 
     133
    128134
    129135  /**
  • src/django_gheat/website/static/style.css

    r9316 r9347  
    166166}
    167167
     168#hide_parent{
     169  position:absolute;
     170  bottom:10px;
     171  left:50%;
     172  margin-left:-5px;
     173  width:10px;
     174  height:10px;
     175  border:1px solid #000;
     176  bottom:2px;
     177  background:url(img/up.png) no-repeat top left;
     178  color:#000;
     179  font-size:13px;
     180  text-align:center;
     181}
     182
    168183
    169184#sig_slider{
     
    188203 * Text settings
    189204 */
    190 
    191205h1{
    192206  color:#C20000;
  • src/django_gheat/website/templates/home.html

    r9316 r9347  
    2323    </div>
    2424    <div id="info">
     25      <div id="hide_parent"></div>
    2526       <h1>Info</h1>
    2627       <p>Welcome to Wireless Leiden's Heatmap. Here you can check for the coverage of (open) wifi connections in Leiden.</p>
     
    4748        </form>
    4849      </div>
     50      <div id="hide_parent"></div>
    4951    </div>
    5052  </div>
Note: See TracChangeset for help on using the changeset viewer.