-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
35 lines (32 loc) · 1.05 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#nav-dropdown').click(function(){
console.log("CLicked");
$('#sidebar').hide();
$('#mobile-nav .nav').toggle();
});
$('#sidebar-dropdown').click(function(){
$('#mobile-nav .nav').hide();
$('#sidebar').toggle();
});
//An idea on how to always show sidebar when widnow gwts resided to its original width
$( window ).resize(function() {
if ($('#mobile-nav').css('display') == 'none') {
$('#sidebar').show();
} else {
$('#sidebar').hide();
}
});
});
</script>
<footer>
<span>Credits:</span>
<ul>
<li>Color selection from <a href="http://www.colourlovers.com/palette/1122576/Honey_Bee" target="_blank">"HoneyBEE"</a> by <a href="http://www.colourlovers.com/lover/LJK" target="_blank">LJK</a> from COLOURlovers licenced under CC-BY-NC-SA</li>
<li>Wordpress theme provided by <a href="www.linkedin.com/in/ddesillas" target="__blank" >pc-magas</a></li>
</ul>
</footer>
</body>
</html>