Hi everybody! I'm trying to paste in a javascript bowling handicap calculator into my BANS site on a content page. The calculator I have uploaded to this page:- http://ultrabowling.info/calculator.htm Anyway, you can see, it works. When I create a new content page, and switch to HTML source code and paste the code in, it seems to work, except it adds on a <<[CDATA before and after the code, which seems to squiffs it up. You can see it here:- http://www.ultrabowling.info/bowling-handicap-calculator Has anybody manage to implement a calculator onto a site, and if so, how?
Figured it out. If you wish to install a javascript on your site, do the following. 1. Copy the Javascript code to a separate file (call it - for example - "calc.js"). 2. Put the following line in the content page for your site: <script src="http://www.yourdomain.com/calc.js" type="text/JavaScript"> </script> Code (markup): You can then call the javascript functions from your forms. You can see the results here:- Bowling Handicap Calculator