Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Pagination | How add custom data to links ?
#8

[eluser]Aken[/eluser]
There is no way to add attributes to a link like that without extending the Pagination class, so you were correct in doing that. The only extra thing you can add is a class name (or names) to each anchor.

I'm curious why you need a data-html attribute that just duplicates the normal href? It's already in that attribute, so you should be able to access it via Javascript no problem.


Messages In This Thread
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 11:29 AM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 11:48 AM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 12:39 PM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 12:48 PM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 12:51 PM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 12:55 PM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 01:17 PM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 03:38 PM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 04:00 PM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 04:12 PM
[SOLVED] Pagination | How add custom data to links ? - by El Forum - 02-13-2012, 04:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB