Hi,
I would like to add persistent header und footer - like persistent toolbars on jQuery Mobile - on my game using newest SugarCube story format.
I know PageHeader and PageFooter passages to show a header and footer on every passage, but this will add this on the normal scrolling text. Now I would like to show header and footer persistent on top and bottom of the window. I have add a new class (@@.persistentHeader; ... @@) on PageHeader passage and add some css (position: fixed) to pin the content of PageHeader on top of the window. But this feels a little bit of "cumbersome". So I was wondering if there is a better solution.
Kind regards,
Purzelkater
I would like to add persistent header und footer - like persistent toolbars on jQuery Mobile - on my game using newest SugarCube story format.
I know PageHeader and PageFooter passages to show a header and footer on every passage, but this will add this on the normal scrolling text. Now I would like to show header and footer persistent on top and bottom of the window. I have add a new class (@@.persistentHeader; ... @@) on PageHeader passage and add some css (position: fixed) to pin the content of PageHeader on top of the window. But this feels a little bit of "cumbersome". So I was wondering if there is a better solution.
Kind regards,
Purzelkater