Lines 263-286
$.fn.dataTableExt.oPagination.four_button = {
Link Here
|
263 |
var buttons = an[i].getElementsByTagName('span'); |
263 |
var buttons = an[i].getElementsByTagName('span'); |
264 |
if ( oSettings._iDisplayStart === 0 ) |
264 |
if ( oSettings._iDisplayStart === 0 ) |
265 |
{ |
265 |
{ |
266 |
buttons[0].className = "paginate_disabled_previous"; |
266 |
buttons[0].className = "paginate_disabled_first"; |
267 |
buttons[1].className = "paginate_disabled_previous"; |
267 |
buttons[1].className = "paginate_disabled_previous"; |
268 |
} |
268 |
} |
269 |
else |
269 |
else |
270 |
{ |
270 |
{ |
271 |
buttons[0].className = "paginate_enabled_previous"; |
271 |
buttons[0].className = "paginate_enabled_first"; |
272 |
buttons[1].className = "paginate_enabled_previous"; |
272 |
buttons[1].className = "paginate_enabled_previous"; |
273 |
} |
273 |
} |
274 |
|
274 |
|
275 |
if ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() ) |
275 |
if ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() ) |
276 |
{ |
276 |
{ |
277 |
buttons[2].className = "paginate_disabled_next"; |
277 |
buttons[2].className = "paginate_disabled_next"; |
278 |
buttons[3].className = "paginate_disabled_next"; |
278 |
buttons[3].className = "paginate_disabled_last"; |
279 |
} |
279 |
} |
280 |
else |
280 |
else |
281 |
{ |
281 |
{ |
282 |
buttons[2].className = "paginate_enabled_next"; |
282 |
buttons[2].className = "paginate_enabled_next"; |
283 |
buttons[3].className = "paginate_enabled_next"; |
283 |
buttons[3].className = "paginate_enabled_last"; |
284 |
} |
284 |
} |
285 |
} |
285 |
} |
286 |
} |
286 |
} |
287 |
- |
|
|