2010-04-26 3 views
0

AppEngine에서 html 앵커 지점으로 자동 스크롤되는 html 페이지를 렌더링하고 싶습니다. 그 종류의 수업을 어디서 어떻게해야하는지 잘 모르겠습니다.django에서 페이지 앵커 사용

template_values = { 
    'foo' : 'foo', 
    'bar': 'bar', 
    'anchor' : '#MyPageAnchor' # ?? Something like this... 
    } 
    path = os.path.join(os.path.dirname(__file__), fileName) 
    self.response.out.write(template.render(path, template_values)) 

이게 가능합니까? 어떻게해야합니까?

답변

1

여기에는 특별한 App Engine이 없습니다. 사용자를 앵커가 포함 된 URL로 리디렉션하면됩니다 (예 : http://example.com/foo#anchor).

관련 문제