Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

how to use CSS classes fields?
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: how to use CSS classes fields?
#11590
how to use CSS classes fields? 13 Years, 4 Months ago Karma: 0
Hi,

great module!

How can I use the fields "Rows CSS classes"in section html table settings?

Where can I define the class? Can you give me a short example vor font-size?

Thanks,
Christof
The administrator has disabled public write access.
 
#11592
Re:how to use CSS classes fields? 13 Years, 4 Months ago Karma: 748
Hello,

You can define row CSS classes in cyclic way with help "Rows CSS classes". For example if default HTML table looks like:

Code:


<table>
 <tr>
  <td>col 1</td>
  <td>col 2</td>
 </tr>
 <tr>
  <td>col 1</td>
  <td>col 2</td>
 </tr>
 <tr>
  <td>col 1</td>
  <td>col 2</td>
 </tr>
 <tr>
  <td>col 1</td>
  <td>col 2</td>
 </tr>
 <tr>
  <td>col 1</td>
  <td>col 2</td>
 </tr>
</table>



and you want to add "row_even" CSS class to each even row and "row_odd" to each odd row, enter "row_even;row_odd" in "Rows CSS classes" parameter. After this table will look like:


Code:


<table>
 <tr class="row_odd">
  <td>col 1</td>
  <td>col 2</td>
 </tr>
 <tr class="row_even">
  <td>col 1</td>
  <td>col 2</td>
 </tr>
 <tr class="row_odd">
  <td>col 1</td>
  <td>col 2</td>
 </tr>
 <tr class="row_even">
  <td>col 1</td>
  <td>col 2</td>
 </tr>
 <tr class="row_odd">
  <td>col 1</td>
  <td>col 2</td>
 </tr>
</table>



define of CSS classes can be place in "CSS Styles" parameter (it is useful if CSS classes are specific only for selected module instance) or into site template CSS file (this is useful if CSS classes are used for several module instances). For example, you can use the following CSS class definition:

Code:


TABLE TR.row_odd TD
{
  font-size: 16px;
}

TABLE TR.row_even TD
{
  font-size: 12px;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#11595
Re:how to use CSS classes fields? 13 Years, 4 Months ago Karma: 0
Thanks !!! There I can continue.

One more question, is there a chance to make the beautiful ARI Data Table multi-searchable?
The administrator has disabled public write access.
 
#11597
Re:how to use CSS classes fields? 13 Years, 4 Months ago Karma: 748
If you mean several search box, currently it is impossible.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#11599
Re:how to use CSS classes fields? 13 Years, 4 Months ago Karma: 0
sorry, I mean multi-sorting
The administrator has disabled public write access.
 
#11600
Re:how to use CSS classes fields? 13 Years, 4 Months ago Karma: 748
"ARI Data Table" and "ARI Table Sorter" support this ability. Press "Shift" button and click by sortable column in a table then click by another sortable column.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 123