nl_tokens: / * Tricky code to work with hidden elements like tabs . Note : This code is based on jquery . actual plugin . https : // github . com / dreamerslab / jquery . actual
pl_tokens: function getRealWidth ( element ) { var width = 0 ; var $target = element ; var css_class = 'hidden_element' ; $target = $target . clone ( ) . attr ( 'class' , css_class ) . appendTo ( 'body' ) ; width = $target . <mask> ( true ) ; $target . remove ( ) ; return width ; }