The Firebug console gives the following:
TypeError: $(...).on is not a function
means jQuery on() not an accessible function. . on () was added in version 1.7, but in your source you are using jQuery v1.4.4. If you are allowed, try upgrading to a newer version> = 1.7 and see if this resolves the problem. The error is generated by calling on() in jquery.fittext.js .
If you cannot update jQuery, perhaps you can modify jquery.fittext.js to use a different way of attaching event handlers to elements instead of on (), like bind() .
- UPDATE
You can also try to configure / disable the configuration of the FitText.js compressor. By setting its value to 3.0 , fixed the problem for me locally, experiment. Now scripts.js looks like this:
... other js code ... //jQuery('.view-display-id-page p').fitText(); jQuery('.view-display-id-page p').fitText(3.0); ... other js code ...
The font size also changes when the browser window is resized. Finer tuning should be possible with the minFontSize and maxFontSize settings .
Paolo source share