INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: A couple of problems with pagination  (Read 1298 times)

avid

  • Regular Member
  • World Citizen
  • ***
  • Posts: 180
  • MC user since 2003
A couple of problems with pagination
« on: July 16, 2010, 03:36:35 am »

Hi,

I see the need for pagination, but it needs more control to allow it to be used by other appearances/themes.

When I added it to my iPhone/iPod Touch interface, I get:



The links are too small to press reliably and I need some way of CSSing it into the correct look.

Also the links are <a> tags which break my app as iPhone Safari moves them into a regular browser (with address bar etc) which breaks the appearance of an integrated remote control:



Do you have plans to make this more flexible? Or should I live without pagination?

Thanks

Brian
Logged

avid

  • Regular Member
  • World Citizen
  • ***
  • Posts: 180
  • MC user since 2003
Re: A couple of problems with pagination
« Reply #1 on: July 31, 2010, 01:29:58 am »

I managed to get around the <a> tag issue by hijacking tags in JavaScript, and that works OK for my usage.

But there has been silence on the unusably (for touch) small rendering of the pagination links. Can I propose some simple additions to the generated pagination HTML:
  • The <ul> tag would have a class="Pagination"
  • Each pagination <li> tag would have a class which would be one of:
    • Previous - except when the current page is the first page
    • First - for the first page except when the current page is the first page
    • Before - for any page before the current page other than the first
    • Current - the current page , with no link
    • After - for any page after the current page other than the last
    • Last - for the last page except when the current page is the last page
    • Next - except when the current page is the last page

Would that work? It gives a lot of flexibility to WebRemote/WebPlay appearances.

Brian
Logged
Pages: [1]   Go Up