Pagination text instead of images

Pagination text instead of images

flolflol Posts: 4Questions: 0Answers: 0
edited August 2010 in General
Hi,
I'd like to use text in the pagination instead of the images. Is there an easy way to do this?

Thanks!

Replies

  • flolflol Posts: 4Questions: 0Answers: 0
    I figured out the trick with using the "full_numbers" - now the next question related to this -
    how do I trigger an event as soon as the pagination has been hit? I.e. I'm doing a transformation of all the visible text, such as adding images via ajax depending on the text and i'd have to trigger that each time pagination is done... any clues for this?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    You can add an event handler to the buttons in the pagination element. Make sure you use a 'live' event handler though, since the numbers in 'full_numbers' are recreated on each draw.

    Allan
  • flolflol Posts: 4Questions: 0Answers: 0
    Could you give me an example for this? I don't know how to "find" the buttons using jquery since they don't appear until the table has loaded... also how can i modify their layout?

    Thanks!
This discussion has been closed.