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.
Multipage footer #3569
Closed
Description
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).