Welcome Guest, Not a member yet? Register   Sign In
attributes for anchor tag in pagination class
#1

[eluser]CocoMansur[/eluser]
Hi,

I would like to add an attributes on the "anchor tags" of my "pagination class", but it will be different from the previous and next pages of the current page.

example pagination

"first 1 2 3 4 5 last"

"3" is the current page.

i would like to add an anchor tag attributes on "first 1 2" and a different attributes on "4 5 last"

is this possible?
#2

[eluser]boltsabre[/eluser]
Not by default, you'll have to extend the pagination class and build in this functionality, I recently had to do something similar.
#3

[eluser]CocoMansur[/eluser]
Thanks boltsabre,

i took a look at the pagination class and i kinda figured it out.

Thank you.




Theme © iAndrew 2016 - Forum software by © MyBB