["tilescript", ["html", "
\n | \n |
Gabriel Fahrenheit (1686-1736) | \nAnders Celsius (1701-1744) | \n
\nThe relationship of Fahrenheit (F) and Centigrade (C)\nis represented as this formula.\n
\n\nC = (F - 32) / 1.8\n
\n"], ["html", "Drop here watchers by \nof C,F to edit these values.\nThen, try next formulas
"], ["tile", "C=((F-32)/1.8)"], ["tile", "F=((C*1.8)+32)"], ["html", "A HTML element can be referred a Javascript\nprogram with id attribute and $() function.
\n\nPlease push the \nbutton bellow.\nAnd edit above numbers.\n
\n"], ["source", "$('f').onblur = function () {\n $(\"c\").value = ($(\"f\").value - 32) / 1.8\n};\n$('c').onblur = function () {\n $(\"f\").value = ($(\"c\").value * 1.8) + 32\n};\n"] ]