Unclassified NewsBoard Code Reference

UnbUpdateLength function [JavaScript]

Update the length counter in the post editor

function UnbUpdateLength (len, max);

Parameters:

len
(int) current text length
max
(int) maximum allowed length

Remarks:

The counter will be highlighted when more than 95% of the allowed text
length is used.

Implementation file: unb_lib/designs/native/js/posteditor.js.php, line 272

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.