I’m trying to re-position a fixed footer in jQuery Mobile after I hide an element.
I’ve done quite a bit of searching and it would seem that if I use
$.mobile.fixedToolbars.show()
then it should try to re- position everything (according to this anyway).
I’ve tried numerous approaches, including $(window).resize and $.updateLayout but still the footer does not re-position.
Anybody have a solution? Fiddle available here: http://jsfiddle.net/YZRj2/2/
First jQM doesn’t need document.ready() so remove it.
Docs on Layout events (updatelayout)
Live Example:
JS:
HTML: