zebra_table_javascript

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
999
1000
1001
1002
1003
1004
1005
1006
1007
<macro name="zebra_table_javascript" parameters="table_selector">
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <script type="text/javascript">
            $(document).ready(function() {
                $('<n.table_selector/> > tbody > tr:even').filter(':gt(0)').addClass('light-bg-color');
            });
        </script>
    </n.put_in_head.>
</macro>