I need display different content when screen width less than 768px and normal.
I tried something like this, but it don't work:
<script>
if(screen.width <= '768')
{
document.write( '<table class="small-tbl"> ... </table>' );
}
else
{
document.write( '<table class="beeg-tbl"> ... </table>' );
}
</script>