[Flask] redirect and keep position on page

Kyle Lawlor klawlor419 at gmail.com
Sat Dec 26 21:59:44 EST 2015


Thanks, Dorian. That's what I was looking for.

On Thu, Dec 24, 2015 at 4:49 AM, Dorian Hoxha <dorian.hoxha at gmail.com>
wrote:

> Here it's explained how anchor tags work on html:
> http://help.typepad.com/anchor-tags.html
>
> On Wed, Dec 23, 2015 at 7:02 PM, Kyle Lawlor <klawlor419 at gmail.com> wrote:
>
>> Hi, all.
>>
>> So I have a menu page, where items are listed and customers choose to add
>> items to a floating div (shopping cart). After a menu item is added, I
>> issue a redirect to the menu page after adding the selected item to the
>> cart. But the page re-loads at the top.
>>
>> What are some ways I could re-load the page at the current position? A
>> lot of the Flask extensions use # "hashtags" as place holders, I can see
>> using that type of system to solve this, by re-directing to the current
>> items hashtag.
>>
>> Thanks for any input,
>> Kyle
>>
>> _______________________________________________
>> Flask mailing list
>> Flask at python.org
>> https://mail.python.org/mailman/listinfo/flask
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20151226/75327990/attachment.html>


More information about the Flask mailing list