Using Page anchors on Google AppEngine?

Posted by codingJoe on Stack Overflow See other posts from Stack Overflow or by codingJoe
Published on 2010-04-26T14:50:01Z Indexed on 2010/04/26 14:53 UTC
Read the original article Hit count: 254

Filed under:
|

I would like to have AppEngine render an html page that auto scrolls to an html anchor point. I'm not how and where to put the that type of instruction.

    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))

Is this possible? How do I accomplish this?

© Stack Overflow or respective owner

Related posts about appengine

Related posts about django-templates