Joseluis Laso - 2016-11-08 08:44:52 -
In reply to message 1 from Frankie P
Hello,
I think with CSS could be a little complex.
But I don't see the problem to detect the effective width of the window once the DOM is loaded and then calculate the number of chars you want to show (remember the matrix is composed by separate chars)
$(function(){
var width=$(window).width(); // look for the right syntax document/window/body, and width, getWidth, whatever
var chars = width/widthOfEachChar;
// then call the constructor of LedMatrix
});
I don't know if I made myself understood ?