Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Feature Request: Transition override by Web Server #1590

@tenor

Description

@tenor

Currently when navigating from one page to another, you can specify the kind of transition you want on the markup as documented at http://jquerymobile.com/demos/1.0a4/docs/pages/docs-transitions.html

I think it would be useful if the web server/app can override the transition settings.

Let me describe a a typical scenario: User fills out and submits a form. If everything goes well, he is directed to the desired page, if he filled out the form incorrectly, he is presented the form again with the invalid fields highlighted.

If everything goes well and there is a transition to the desired page, then there is no problem but it would be a bit irritating if there is a transition to the error page which is exactly the same page he was on previously (albeit with invalid fields highlighted).

I propose a new X-JQM-Transition HTTP header which JQM would look out for and not perform transitions if set by the web server in the response.

This feature should also work properly in the case of redirected pages.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions