remotho
-
Posts
10 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by remotho
-
-
No, I want to put a label (value) over a jpg picture, for example: I want to put over the picture a value. In excel it's possible with the "Label"
-
Hi,
I want to put a value from a variable on a drawing. For Example, if we have " var age = 2014 - year;", and then "age" should be on a bilder.
How can I do that.
many thanks
Regards
-
<input type="button" id="taste" value="Berechnen">
<tr><td>LMB:</td><td><form> <input type="number" name="points" id="LMB" min="800" max="8500" step="1" size="8" value="800"></form></td><td>mm</td></tr><tr><td>AT:</td><td><form> <input type="number" name="AT" id="AT" min="2" max="12" step="1" size="8"value="5"></form></td><td>mm</td></tr><tr><td>A:</td><td><form> <input type="number" name="points" id="A" min="45" max="70" step="25" size="8" value="45"></form></td><td>mm</td></tr><tr><td>Z:</td><td><form> <input type="number" name="points" id="Z" min="6" max="10" step="1" size="8" value="8"></form></td><td>mm</td></tr><tr><td>WM:</td><td id="WM"></td><td>mm</td></tr>
Hi Davej, many thanks for the min and max attributes. Is implemented, but now my question is, the <form> need a name?.
Other questions; if I don't want use the <imput type="button" id="taste" value="Berechnen">, how I can do with the "Enter"
Thank you
-
Hi DaveJ,
Many thanks for your help, really perfect and nice. It work properly. I have added more parameter and work perfect. I need only the limits, for example not smaller than and bigger than, to give a message or a change color on the value.
Why we want to change from excel to JavaScript, it's because the complexity of the macros and the excel versions. The excel on this side I have done it myself and now I will try to change all as your Example.
How can I send you a private email
Regards
-
Hi, I made three pages, into one with Iframe, and my Idea is to view the data in a one frame. If I don´t need a submit Form, how I could made it? Please can someone send me an example, because my knowledge in javascript are very poor, and I need build this calculator to replace an excel sheet. Please see:http://application.hawa.ch/productfinder/Src/Productfinder/dsp_detail.aspx?artID=14968&languageID=Enand then: "Calculation aid"Many thanks for all your help.Regards
-
</head><body><p>Einbauhöhe:<script type="text/javascript">document.write(parent.EH );</script></p><p>Lichmassbreite<script type="text/javascript">document.write(parent.LMB);</script></p<p>TH<script type="text/javascript">document.write(parent.EH - parent.Q2 - parent.Z2 - parent.Z1);</script></p><p>TH<script type="text/javascript">document.write(parent.EH - parent.Q2 - parent.Z2 - parent.Z1);</script></p><p>TH<script type="text/javascript">document.write(parent.EH - parent.Q2 - parent.Z2 - parent.Z1);</script></p> </body></html>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Wertübergabe mittels Framestruktur - Sendendes Dokument </title><script type="text/javascript">function uebergabe () { parent.EH = document.forms.formular.elements.EH.value; parent.LMB = document.forms.formular.elements.LMB.value; parent.Z3 = document.forms.formular.elements.Z3.value; parent.Z1 = document.forms.formular.elements.Z1.value; parent.Z2 = document.forms.formular.elements.Z2.value; parent.S = document.forms.formular.elements.S.value; parent.Q2 = document.forms.formular.elements.Q2.value; parent.Z1 = document.forms.formular.elements.Z1.value; location.href = "daten_L_Bodenprofil.html"; return false;}</script></head><body><form name="formular" action="" onsubmit="return uebergabe();"> <p>Parameter</p> <p> <label for="EH">EH:</label> <input type="text" name="EH" id="EH" size="25"> </p> <p> <label for="LMB">LMB:</label> <input type="text" name="LMB" id="LMB" size="25"> </p> <p> <label for="Z3">Z3:</label> <input type="text" name="Z3" id="Z3" size="25"> </p> <p> <label for="Z2">Z2:</label> <input type="text" name="Z2" id="Z2" size="25"> </p> <p> <label for="Z1">Z1:</label> <input type="text" name="Z1" id="Z1" size="25"> </p <p> <label for="S">S:</label> <input type="text" name="S" id="S" size="25"> </p> <label for="Q2">Q2:</label> <input type="text" name="Q2" id="Q2" size="25"> </p> <p><input type="submit" value="Senden"></p></form></body></html>
I do that:
it's working, but I think that it's not the best way to do. The Problem is that I have a lot of parameter, variable and types. Please could I have an example, I meant a complete small example, then I can complete. Thanks
-
<script>Z = 8;AT = 4;LMB = 2500;WM = LMB - Z;STB = WM / AT;LS4 = STB - (23.775 * AT) - 426.93; console.log(LS4);console.log(STB);console.log (WM);</script
<form><br>LMB <input type="mm" id="LMB" /> </br><br>Z <input type="mm" id="Z" /></br><br>AT <input type="" id="AT" /></br> <input type="button" value="Calculate" onclick="Calculate()" /> </form>
my problem is, how can I connect the data from the Form to other page and view the calculation.
-
Hallo,
I want to to my first calculator. I Need to enter 3 or 4 data in a form and then doing a arithmetic Operation,
For Example:
all are variable
Data1 = xx
Data2 = xxx
Data3 = xxx
a button to do the calculation
then the Output:
example: LMB = Data1 / Data 2
STB = LMB - Data3
LS4 = STB - 10 * (25 * Data2) - 100
etc...
output Value on a Drawing
in JavaScript
Posted
Thank you for your answer, now I know that it's possible, but sorry I can't do that. Could you please send me an example.
Regards.