![]() |
'print_cells_row' function, override css
Ok, so i know that setting the third parameter of function 'print_cells_row' will override the alternating css class for the row, however what I want to do is return multiple results, ald alternate as normal, but every other row will alternate, for instance...
Row 1 would be class "alt1" Row 2 would be class "alt1" Row 3 would be class "alt2" Row 4 would be class "alt2" Row 5 would be class "alt1" Row 6 would be class "alt1" and so on... I have been trying to place the following within my while() loop however it's not alternating as i need, since my data for each result must be contained on more than 1 row... PHP Code:
Any ideas? Okie, it took a couple hours, but i figured it out... I had to override the CSS class in the 'print_cells_row' function and redeclare it in my custom function using 'fetch_row_bgclass'. Here's the working one which alternates background colow every TWO rows, as opposed to every row... PHP Code:
|
All times are GMT. The time now is 10:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|