Events Made Easy Forums Tips Odd / Even Rows

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42380
    Anonymous
    Inactive

    Is there a way to implement odd / even rows in the events manager list?

    What do I have to edit in the eme_events.php file for that to work.

    Thanx in advance!

    #45991
    Franky
    Keymaster

    Add this javascript somewhere (remark: untested yet, you might need to play with the jquery):

    <script type="text/javascript">
    $(document).ready(function() {
    $ ('ul.eme_events_list li:even').addClass ('even');
    $ ('ul.eme_events_list li:odd').addClass ('odd');
    });
    </script>

    Then the “even/odd classes are added to the elements of the list. I’ll try to add this to the code later on.

    #45992
    Anonymous
    Inactive

    yay franky for adding descriptive classnames!

    #45993
    Anonymous
    Inactive

    What would this do or allow me to do? Is this the way to go to format a list as 2 columns on the page?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Tips’ is closed to new topics and replies.
Scroll to Top