On Fri, 2007-05-04 at 00:40 -0700, babis wrote: > hey everyone, > > i have a question/problem.. > > in my template i have defined some anchors like this > <a name='first-anchor' /> > <h1>Header</h1> > > so, how can one jump to those anchor positions frow within a view. > > my view looks like this > > def theview(request): > template = 'thetemplate.html' > > form = TheForm()
Generally, you would have to use an HTTP redirect. Anchors are not processed on the server side. It is the browser that is responsible for moving to the anchor position specified in the URL, so you need to ask the browser to load the URL with the anchor in it. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---