Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
e8db1239
Commit
e8db1239
authored
Oct 23, 2013
by
fred
Browse files
turn top logo into a link to homepage
parent
49d1d6be
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/js/specifics.js
View file @
e8db1239
...
...
@@ -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
;
...
...
panikweb_templates/templates/base.html
View file @
e8db1239
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment