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

Multipage footer #3569

Closed
Eccenux opened this issue Feb 13, 2012 · 1 comment
Closed

Multipage footer #3569

Eccenux opened this issue Feb 13, 2012 · 1 comment

Comments

@Eccenux
Copy link

Eccenux commented Feb 13, 2012

Hi. I think current use cases for the footer are very limited for HTML5 apps with no server backend (i.e. not get generated by e.g. PHP).

I think you should a multi-page footer (maybe with a special data-role) that would allow one to have (without the need of duplicating code):

  • one footer on each page
  • one footer on many pages
  • one footer on each page except some pages

An example implementation (working, but not really a ready to deploy patch):
http://pastebin.com/VLbn6YU6

Example usage (only footer):
http://pastebin.com/it3mH9V1

Note that this will work great if you have all-in-one HTML app, not if you use multiple HTML pages, but I find this expected as other HTML pages are probably different in terms of what they do. Also loading other HTML pages doesn't work too good e.g. in PhoneGap (at least back button doesn't work).

@toddparker
Copy link
Contributor

Thanks, please add a link to this to the feature request wiki page here on github. We'll re-open when we decide to work on this in a milestone.
https://github.com/jquery/jquery-mobile/wiki/Feature-Requests

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants