PDA

View Full Version : Correction for my "if ... else if ... else" statement !?



Yammaski
04-22-2010, 05:42 PM
I need a correction in my script/syntax, so that I can make calculations depending on the fontFamily (css : @fontface) that's selected. In the code of my testpage (http://www.frogstyling.be/X_Tests/Test_GetPxWiHe.asp), it's the : function getH() that start at 134.

The purpose of this is to get the px-width & -height of the text input. The height is for every font different and has to be adjust by a ...factor.

Fixed it !!! ... see testpage