Rev 347 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 347 | Rev 349 | ||
|---|---|---|---|
| Line 602... | Line 602... | ||
| 602 | if(callback!=null){callback(sframe)} |
602 | if(callback!=null){callback(sframe)} |
| 603 | } |
603 | } |
| 604 | 604 | ||
| 605 | function generateHTMLcode(sframe){ |
605 | function generateHTMLcode(sframe){ |
| 606 | 606 | ||
| 607 | mform = '<button type="button" onclick="calculate('+ "'" + sframe + "'"+')">Draw Function</button>'; |
607 | mform = '<button type="button" onclick="calculate('+ "'" + sframe + "'"+')" style="display:none" >Draw Function</button>'; |
| 608 | mform += '<button type="button" onclick="autoFit('+ "'" + sframe + "'"+')">Click to fit</button>'; |
608 | mform += '<button type="button" onclick="autoFit('+ "'" + sframe + "'"+')">Click to fit</button>'; |
| 609 | mform += '<div class="rangeSettings">'; |
609 | mform += '<div class="rangeSettings">'; |
| 610 | mform += 'Range: min = <input type="text" size="2" value="-5" name="min" id="minRange'+sframe+'" disabled=true>'; |
610 | mform += 'Range: min = <input type="text" size="2" value="-5" name="min" id="minRange'+sframe+'" disabled=true>'; |
| 611 | mform += 'max = <input type="text" size="2" value="5" name="max" id="maxRange'+sframe+'" disabled=true>'; |
611 | mform += 'max = <input type="text" size="2" value="5" name="max" id="maxRange'+sframe+'" disabled=true>'; |
| 612 | mform += '<div style="display: inline-block;">'; |
612 | mform += '<div style="display: inline-block;">'; |
| Line 647... | Line 647... | ||
| 647 | mform += ' <div id="gausFitPanel' + sframe + '" class="FitPanel">' |
647 | mform += ' <div id="gausFitPanel' + sframe + '" class="FitPanel">' |
| 648 | mform += ' <table class="inputParametersTable" id="inputParamTableGaus">' |
648 | mform += ' <table class="inputParametersTable" id="inputParamTableGaus">' |
| 649 | mform += ' <tbody>' |
649 | mform += ' <tbody>' |
| 650 | mform += ' <tr class="description">' |
650 | mform += ' <tr class="description">' |
| 651 | mform += ' <td>Name</td>' |
651 | mform += ' <td>Name</td>' |
| 652 | mform += ' <td>Fix</td>' |
652 | mform += ' <td class="hideFix-Bond">Fix</td>' |
| 653 | mform += ' <td>Bond</td>' |
653 | mform += ' <td class="hideFix-Bond">Bond</td>' |
| 654 | mform += ' <td>Value</td>' |
654 | mform += ' <td>Value</td>' |
| 655 | mform += ' <td>Min</td>' |
655 | mform += ' <td>Min</td>' |
| 656 | mform += ' <td>Set</td>' |
656 | mform += ' <td>Set</td>' |
| 657 | mform += ' <td>Max</td>' |
657 | mform += ' <td>Max</td>' |
| 658 | mform += ' <td>Step</td>' |
658 | mform += ' <td>Step</td>' |
| Line 696... | Line 696... | ||
| 696 | mform += ' <div style="width: 100px;display: inline-block;" id="slider-polOrder' + sframe + '"></div>' |
696 | mform += ' <div style="width: 100px;display: inline-block;" id="slider-polOrder' + sframe + '"></div>' |
| 697 | mform += ' <table class="inputParametersTable">' |
697 | mform += ' <table class="inputParametersTable">' |
| 698 | mform += ' <tbody>' |
698 | mform += ' <tbody>' |
| 699 | mform += ' <tr class="description">' |
699 | mform += ' <tr class="description">' |
| 700 | mform += ' <td>Name</td>' |
700 | mform += ' <td>Name</td>' |
| 701 | mform += ' <td>Fix</td>' |
701 | mform += ' <td class="hideFix-Bond">Fix</td>' |
| 702 | mform += ' <td>Bond</td>' |
702 | mform += ' <td class="hideFix-Bond">Bond</td>' |
| 703 | mform += ' <td>Value</td>' |
703 | mform += ' <td>Value</td>' |
| 704 | mform += ' <td>Min</td>' |
704 | mform += ' <td>Min</td>' |
| 705 | mform += ' <td>Set</td>' |
705 | mform += ' <td>Set</td>' |
| 706 | mform += ' <td>Max</td>' |
706 | mform += ' <td>Max</td>' |
| 707 | mform += ' <td>Step</td>' |
707 | mform += ' <td>Step</td>' |
| Line 766... | Line 766... | ||
| 766 | mform += ' <div id="BWFitPanel' + sframe + '" class="FitPanel">' |
766 | mform += ' <div id="BWFitPanel' + sframe + '" class="FitPanel">' |
| 767 | mform += ' <table class="inputParametersTable" id="inputParamTableBW">' |
767 | mform += ' <table class="inputParametersTable" id="inputParamTableBW">' |
| 768 | mform += ' <tbody>' |
768 | mform += ' <tbody>' |
| 769 | mform += ' <tr class="description">' |
769 | mform += ' <tr class="description">' |
| 770 | mform += ' <td>Name</td>' |
770 | mform += ' <td>Name</td>' |
| 771 | mform += ' <td>Fix</td>' |
771 | mform += ' <td class="hideFix-Bond">Fix</td>' |
| 772 | mform += ' <td>Bond</td>' |
772 | mform += ' <td class="hideFix-Bond">Bond</td>' |
| 773 | mform += ' <td>Value</td>' |
773 | mform += ' <td>Value</td>' |
| 774 | mform += ' <td>Min</td>' |
774 | mform += ' <td>Min</td>' |
| 775 | mform += ' <td>Set</td>' |
775 | mform += ' <td>Set</td>' |
| 776 | mform += ' <td>Max</td>' |
776 | mform += ' <td>Max</td>' |
| 777 | mform += ' <td>Step</td>' |
777 | mform += ' <td>Step</td>' |
| Line 813... | Line 813... | ||
| 813 | mform += ' <div id="expoFitPanel' + sframe + '" class="FitPanel">' |
813 | mform += ' <div id="expoFitPanel' + sframe + '" class="FitPanel">' |
| 814 | mform += ' <table class="inputParametersTable" id="inputParamTableExpo">' |
814 | mform += ' <table class="inputParametersTable" id="inputParamTableExpo">' |
| 815 | mform += ' <tbody>' |
815 | mform += ' <tbody>' |
| 816 | mform += ' <tr class="description">' |
816 | mform += ' <tr class="description">' |
| 817 | mform += ' <td>Name</td>' |
817 | mform += ' <td>Name</td>' |
| 818 | mform += ' <td>Fix</td>' |
818 | mform += ' <td class="hideFix-Bond">Fix</td>' |
| 819 | mform += ' <td>Bond</td>' |
819 | mform += ' <td class="hideFix-Bond">Bond</td>' |
| 820 | mform += ' <td>Value</td>' |
820 | mform += ' <td>Value</td>' |
| 821 | mform += ' <td>Min</td>' |
821 | mform += ' <td>Min</td>' |
| 822 | mform += ' <td>Set</td>' |
822 | mform += ' <td>Set</td>' |
| 823 | mform += ' <td>Max</td>' |
823 | mform += ' <td>Max</td>' |
| 824 | mform += ' <td>Step</td>' |
824 | mform += ' <td>Step</td>' |