Personal tools

User:Hisa/tabletest: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 65: Line 65:
$('#top_motiftb').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="top_motiftb_cont"></table>' );
$('#top_motiftb').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="top_motiftb_cont"></table>' );
$('#top_motiftb_cont').dataTable( {
$('#top_motiftb_cont').dataTable( {
"sDom": '<"toolbar">frtip',
"sDom": '<"top_motif_toolbar">frtip',
         "sScrollY": "300px",
         "sScrollY": "300px",
         "bPaginate": false,
         "bPaginate": false,
Line 83: Line 83:
"aaSorting": [[ 1, "desc" ]]
"aaSorting": [[ 1, "desc" ]]
} );
} );
$("div.toolbar").html('<b>Top motif activities with MARA</b>');
$("div.top_motif_toolbar").html('<b>Top motif activities with MARA</b>');
$("div.toolbar").css('border-width', '0 0 2px 0');
$("div.top_motif_toolbar").css('border-width', '0 0 2px 0');
$("div.toolbar").css('border-color', '#6495ED');
$("div.top_motif_toolbar").css('border-color', '#6495ED');
$("div.toolbar").css('border-style', 'solid');
$("div.top_motif_toolbar").css('border-style', 'solid');
} );
} );
</script>
</script>

Revision as of 15:49, 8 May 2012