Commit e8db1239 authored by fred's avatar fred

turn top logo into a link to homepage

parent 49d1d6be
......@@ -228,7 +228,7 @@ $(function() {
});
if($('#player-container').offset()){
var topPosition = 0;
topPosition = $('#mainHeader').offset().top + $('#mainHeader').height();
topPosition = $('#mainHeader > div').offset().top + $('#mainHeader > div').height();
$(window).bind('scroll load',function (event) {
//$('#player-container').removeClass('fixed');
var y = $(this).scrollTop() + 40;
......
......@@ -34,10 +34,10 @@
<div id="Commons" class="cf" >
<div class="wrapper sided" >
<div id="backgroundBox" class="cf">
<div id="mainHeader">
<a href="{% url 'home' %}" id="mainHeader"><div>
<h1 class="top" id="frequence" class="inBlock">105.4 FM</h1>
<h1 class="top" id="radiopanik">Radio Panik</h1>
</div>
</div></a>
<div id="Player" class="withoutPlaylist">
{% block listen %}{% player %}{% endblock %}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment