tags:

views:

43

answers:

2

Is there any opensource project for html pagination? I am developing an app for iPhone. I want to display an HTML file on UIWebView and I dont want user to scroll down for seeing the remaining content not being displayed on screen. I want to display the remaining content on the second UIWebView. How can I accomplish this.

Any suggestion?

+2  A: 

You could check out the available jQuery plugins:

http://plugins.jquery.com/project/pagination

Here's a demo:

http://d-scribe.de/webtools/jquery-pagination/demo/demo_options.htm

And this is how you use it:

http://d-scribe.de/webtools/jquery-pagination/lib/jquery_pagination/README

EDIT: Okay, I posted this before the question was specifically about iPhones and UIWebViews... please don't vote me down :)

André Laszlo
Will this thing work in objective c?
Ideveloper
I don't know how the UIWebViews work, I'm not an iPhone developer. But if it has support for standard javascript it should work. However, when you first asked the question you didn't mention anything about having two UIWebViews, why not just make one big so that your content will fit?
André Laszlo
A: 

use jquery for pagination ,,, it will really made ur work simple...

kamlesh