asiergogortza_theme/footer.php

54 lines
1.2 KiB
PHP
Raw Permalink Normal View History

<div class="afooter">
<div class="container">
<div class="sidebar-box">
<!--widgets-->
<div class="row">
<div class="sidebar-footer1 span2">
<?php dynamic_sidebar( 'sidebar-footer1' ); ?>
</div>
<div class="sidebar-footer2 span2">
<?php dynamic_sidebar( 'sidebar-footer2' ); ?>
</div>
</div>
</div>
</div>
</div>
<div class="afooter2">
<div class="footer">
<div class="row">
<div class="sidebar-footer3 span2">
<?php dynamic_sidebar( 'sidebar-footer3' ); ?>
</div>
</div>
<div class="mlogo">
2017-01-27 23:17:33 +01:00
<div class="sidebar-user2 span2"></div>
</div>
</div>
</div>
2017-01-27 23:17:33 +01:00
<script>
jQuery(document).ready(function() {
jQuery('.head').bind('click',function() { window.location = '/'; });
});
jQuery(document).scroll(function() {
return;
winH = window.screen.height;
posS = window.scrollY;
menH = jQuery('.sidebar-right1').height()
if ( winH+posS < menH ) { jQuery('.sidebar-right1').css('position','relative'); }
else { jQuery('sidebar-right1').css('top',0); jQuery('.sidebar-right1').css('position','fixed');}
});
</script>
</div>
<?php wp_footer(); ?>
</body>
</html>