- This topic has 3 replies, 4 voices, and was last updated 13 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Tips’ is closed to new topics and replies.
Events Made Easy › Forums › Tips › Odd / Even Rows
Tagged: #List #oddeven #odd #even #rows
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!
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.
yay franky for adding descriptive classnames!
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?