I require a simple java script that needs to function within a WYSIWYG HTMLArea editor installed on oscommerce.
The script will have two input fields of Height x Width and when they are submited it will return a result of the calculation advising which corresponding "category" of product the resulted size fits into.
Eg: If total size is 5cm but < 10cm sq it is category2
There are six categories.