scrollTo behaviour
This commit is contained in:
parent
513103169e
commit
1794d95315
|
@ -65,7 +65,7 @@ function postLoadQuery() {
|
|||
if (queryData.hasOwnProperty("goto")) {
|
||||
var locationHash = queryData['goto'];
|
||||
var scrollTop = $('a[name=' + locationHash + ']').position().top;
|
||||
$(document).scrollTop(scrollTop + 400); //FIXME!!
|
||||
$(window).scrollTop(scrollTop); //FIXME!!
|
||||
delete queryData['goto'];
|
||||
}
|
||||
/*
|
||||
|
|
|
@ -111,7 +111,7 @@ association of theatre people coming together in the larger interests of theatre
|
|||
<div id="commentWrapper">
|
||||
{% load comments %}
|
||||
<h3>Comments and Feedback</h3>
|
||||
<a name="comments"></a>
|
||||
|
||||
{% get_comment_list for issue as comment_list %}
|
||||
|
||||
{% ifnotequal comment_list|length 0 %}
|
||||
|
@ -133,6 +133,7 @@ association of theatre people coming together in the larger interests of theatre
|
|||
{% get_comment_form for issue as form %}
|
||||
|
||||
<div id="comment_form">
|
||||
<a name="comments"></a>
|
||||
<h4 class="formHeader">
|
||||
Leave a Response:
|
||||
</h4>
|
||||
|
|
Loading…
Reference in New Issue
Block a user