How To Fix This Sticky Footer For Android Devices In Phone Gap?
I working in Phone Gap.I have fixed a footer,this works for few devices and does not work for few devices. HTML CODE for FOOTER
http://bradfrostweb.com/blog/mobile/fixed-position/
That page also includes solutions based on Javascript to get around this bug in these devices, by overriding the browsers' default scrolling behavior. For example, in jQuery Mobile, fixed elements fade out when the page is scrolled, then fade back in when scrolling ends.
The most direct solution to use for your problem, which also has the smallest footprint (compared to using a full-blown framework), is iScroll 4:
Here's a small overview, from the iScroll 4 page:
iScroll 4 is a complete rewrite of the original iScroll code. The script development began because mobile webkit (on iPhone, iPad, Android) does not provide a native way to scroll content inside a fixed width/height element. This unfortunate situation prevents any web-app to have a position:absolute header and/or footer and a scrolling central area for contents.
While latest Android revisions are supporting this functionality (although support is not optimal), Apple seems reluctant to add one finger scrolling to divs.
Post a Comment for "How To Fix This Sticky Footer For Android Devices In Phone Gap?"