1 | {% extends "!layout.html" %} |
---|
2 | |
---|
3 | {% block extrahead %} |
---|
4 | |
---|
5 | <script type="text/javascript"> |
---|
6 | $(document).ready(function(){ |
---|
7 | |
---|
8 | $("ul.topnav li a").hover(function() { |
---|
9 | |
---|
10 | //Following events are applied to the subnav itself (moving subnav up and down) |
---|
11 | $(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click |
---|
12 | |
---|
13 | $(this).parent().hover(function() { |
---|
14 | }, function(){ |
---|
15 | $(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up |
---|
16 | }); |
---|
17 | |
---|
18 | //Following events are applied to the trigger (Hover events for the trigger) |
---|
19 | }).hover(function() { |
---|
20 | $(this).addClass("subhover"); //On hover over, add class "subhover" |
---|
21 | }, function(){ //On Hover Out |
---|
22 | $(this).removeClass("subhover"); //On hover out, remove class "subhover" |
---|
23 | }); |
---|
24 | |
---|
25 | }); |
---|
26 | </script> |
---|
27 | |
---|
28 | {{ super() }} |
---|
29 | {% endblock %} |
---|
30 | |
---|
31 | {% block header %} |
---|
32 | <img src="_static/images/header-logo.jpg"> |
---|
33 | |
---|
34 | <ul class="topnav"> |
---|
35 | <li><a href="/site/">Home</a></li> |
---|
36 | <li><a href="#">ZOO Project</a> |
---|
37 | <ul class="subnav"> |
---|
38 | |
---|
39 | <li><a href="/site/ZooWebSite/ZooProject/About">About</a></li> |
---|
40 | <li><a href="/site/ZooWebSite/ZooProject/Tribe">ZOO Tribe</a></li> |
---|
41 | <li><a href="/site/ZooWebSite/ZooProject/Events">Events</a></li> |
---|
42 | <li><a href="/site/ZooWebSite/ZooProject/Photos">Photos</a></li> |
---|
43 | <li><a href="/site/ZooWebSite/ZooProject/Contact">Contacts</a></li> |
---|
44 | </ul> |
---|
45 | |
---|
46 | </li> |
---|
47 | <li> |
---|
48 | <a href="#">Components</a> |
---|
49 | <ul class="subnav"> |
---|
50 | <li><a href="/site/ZooWebSite/ZooKernel">ZOO Kernel</a></li> |
---|
51 | <li><a href="/site/ZooWebSite/ZooServices">ZOO Services</a></li> |
---|
52 | <li><a href="/site/ZooWebsite/ZooApi">ZOO API</a></li> |
---|
53 | |
---|
54 | </ul> |
---|
55 | </li> |
---|
56 | <li><a href="download.html">Download</a></li> |
---|
57 | <li><a href="/site/ZooDocumentation">Docs</a></li> |
---|
58 | <li><a href="#">Demos</a> |
---|
59 | <ul class="subnav"> |
---|
60 | <li><a href="/site/ZooWebSite/Demo/SpatialTools">ZOO Spatial Tools</a></li> |
---|
61 | |
---|
62 | <li><a href="/site/ZooWebSite/Demo/CGAL">ZOO CGAL Vor</a></li> |
---|
63 | <li><a href="/site/ZooWebSite/Demo/WFS-T">ZOO Mapserver WFS-T</a></li> |
---|
64 | <li><a href="/site/ZooWebSite/Demo/GdalProfile">ZOO Elevation Profile</a></li> |
---|
65 | <li><a href="/site/ZooWebSite/Demo/FormTools">ZOO Form tools</a></li> |
---|
66 | </ul> |
---|
67 | </li> |
---|
68 | <li><a href="/trac">Trac</a></li> |
---|
69 | |
---|
70 | </ul> |
---|
71 | |
---|
72 | |
---|
73 | {{ super() }} |
---|
74 | {% endblock %} |
---|
75 | |
---|
76 | {# put the sidebar before the body #} |
---|
77 | {% block sidebar1 %}{% endblock %} |
---|
78 | {% block sidebar2 %}{{ sidebar() }}{% endblock %} |
---|
79 | |
---|
80 | {# remove first relbar #} |
---|
81 | {% block relbar1 %}{% endblock %} |
---|