I'm trying to initiate the iScroll function as a universal function so that way, what ever element that has the class of .scroll, the element will be effected by the iscroll plugin. Here's the script that I use to declare the iScroll
Now this works the first time I load a page with that element, but when I try to load the second page, which also has an id of #home, I get nothing. Now is this a problem with my naming convention or am I calling the function incorrectly? Any help is appreciated
I understand the limitations and why you're only allowed to have 5 navbar items, but it would a good addition to add the ability to swipe to to show more items in a navbar. I know that theres the plugins like iScroll and Swipe.js that add on to the touch capabilities in Jquery Mobile, you're unable to target the navbar and create this effect. I know iPad allows users to have a scrollable navbar and its a great feature to add in the next release
Also, the ability to automatically add a scrollable attrabutes on an item like in iScroll. So if you have a div that is a fixed height and width, adding something such as "data-scroll="true".
So I have a web page that when i got the math out, including the header, footer, and content, is about 680px in height. Now considering that when on an ipad, the workable area is 746px landscape, everything should fit with out having to scroll. Yet for some reason, it shows that there more area to scroll to.
Now this even happens when in portrait mode as well, even though the working are is about 1004px.
So I have a webpage I made using jquery mobile with some graphics that are about 700x650 pixels in size. Its target is for iPad so I know that at that size, they should fit fine on the screen without having the scroll or anything. Now the footers have a data-position="fixed" but I've noticed that they show a little bit of the page background when they are first loaded but when you tap the screen, they then sit at the bottom of the page, as a fixed footer should. Any ideas on why this is happening? Could it be my graphics are too big?