HTML - Special Calculator Code
Hi, as you have probably realised i'm new to this forum and i was wondering does any one have a code for a calculator. i have found many basic calculators but they won't do what i want them to do, i need a calculator where a visitor types in a number in a box and it automatically subtracts it from a hidden number and displays in another box, many thanks DanielM8214
Similar TutorialsHello, I am updating an old website with no media player. They had one but it became damaged. $25,000 right down the tube, (not my money!). Anyway, if you look at the page I’m talking about... http://rockwindow.com/video_pages/viedo_01.htm you will understand what I'm talking about. I used an image of the old player. I was wondering if I was to use <map> attribute around the control buttons what the code would be for a link to do: play, pause & stop. If you right click the video, those options are in the menu. How do I link to a code for a control like that. Any help, I will appreciate very very much. Thank you! Hi guys, I am looking to do something specific. I really have no idea on how to do it. I have seen something on a site and I said to myself: "Ohh my gosh, I want this on my site!" It is like a html page that goes over another html page (such as a popup but for the whole page). I assume that the background is a png transparent image but huhhh.. How can I do such things? I want this popup to act as a "Error message displayer" kinda. Let's say a user try to login and enter an inccorect password. I want this popup to show up. Thanks, PS: Sorry if I am not clear but I think you get it with the picture. Thanks guys, I have a problem with IE6 and 7 not rendering a special character, the double up arrow, "& u A r r ;" <a rel="nofollow" href="#top">⇑</a> content="text/html; charset=iso-8859-1"> I am using the special character as link text to get the user to the top of a very, very long page with a single click. The character renders properly in FF, OP and SA. To my dismay, I just discovered that IE renders it as a box on top of the link underline. Is there any simple way, css, magic, etc., that I can get this character to render properly? The single up arrow renders, but looks anemic, and I don't want to have "Top" appearing at the end of every paragraph. (I don't want the search engines to think I am stuffing the keyword "Top".) Two single up arrows looks strange. I'm afraid to use an image since I could encounter position problems with different browsers. While suggestions for alternative design solutions are welcome, I am really after a technical a way to use the double up arrow in IE. The page: http://www.iaps.com/list-of-internet...ns-199010.html Thanks Hi i feel quite cheeky asking this but here goes anyway Im new to html and im trying to make primitive calculator such that the user will enter in a room width and room length and i can work out the area with a 5% increase. I then want to divide this number by a number that can be chosen by the user in a dropdown box or something. I want to display the area and the number of times the area was divided I have attached a really rubbish image of what i hope to achieve in case my description here is not very good If anyone can help me, i would really appreciate it Thanks David Hi I tried to copy this script into my html site http://www.poker-business.net/calculator.html i took it from http://www.rakebrain.com/rakeback-calculator.php and it doesnt work when i click on GO button. If there is anyone that can fix this issue, please help thanks Hi, I am currently doing some work on our companies website. As part of this we want to add product codes to keywords to improve rankings in Google, however most of our codes include a forward slash (/), e.g. CC/250S. Does anyone know if the forward slash is a valid symbol in the keywords field, or would this make cause problems in the code? Hey sorry to bother you PROS out there but I need a developer's help with this form I want to create. I want to create a text form that will take the text input and relate it to a URL after a submission. So it'd be like this: Please input your ID number: [_______] this becomes {value1} (Submit.) After SUBMIT is clicked, user is directed to http://www.url.com/value1 how do I code an HTML form that will do this? There would be a couple different IDs so the form couldn't just link to the one example url. All I want is one simple text box that the user can type into with that scripting behavior. and then a submit button. (I do have a basic understanding of HTML.) Is this possible to do in HTML? Thanks! Andrew Hi there, I have desinged this page and I want to use this special font I have on my computer. When the page loads on my computer the font loads, but when it is viewed on someone elses computer the font isnt there. How do I get the font to work on all computers that view the page? Do I load up the font file to the server or something like that? Thanks hello im designing my first site, there are a number of pages in my site(i have used frames) overall structure n design n content remains same everywhere except in one frame(whose content is decided by the choices made from else where) i am using special fonts completely in my site so need to put them somewhere so that when a user opens my site it sees everything in my special fonts. so how do i get this thing resolved?? also how do i remove underline from a hyperlink? I am reading this: Quote: Another important special character you should know about is the & character. If you'd like to have an & in your html content, use the character entity & instead of the & character itself. I don't understand the entire paragraph above, can any give an example of the above or explain in another way please? Hi Folks, I need some help please as I do not know were else to turn. I am a newly self employed electrician, and I am building myself a website and I would like to put a " House Rewire Estimator" page on it. So what I need is someone who could write me the script for it. I need something with 4 columns The first column to say "Number of Items", the second to say "Item Description" the third to say " Cost " and the last to say "total" I want the user to enter there own amount in the first column, I want to have a fixed description in the second column, a fixed price in the third column and it to automaticly add them up in the last column with a "total cost" at the bottom of the 4th column. The only way I can describe it is just like a Microsoft Excel invoice sort of thing. I don't know if it's something someone can help me with or were to find a ready made one on the net. I just don't know how to get it. My website is just one of them free-css things, so you will have to tell me how to get it on there too. lol Eliminator Guy I have no idea where to post this question. I want to create a calculator for my website, similar in function to an excel spreadsheet although it doesn't have to look like one. Anyone have any idea how I can go about doing this? I have having a problem getting my answer in the calculator limit to 5 , It works in a few browsers but not in Firefox or IE - everything else works great but i get a answer that is to long. Help please... Thank you to all. <HTML> <HEAD> <TITLE>900 Number Profit Calculator</TITLE> <SCRIPT LANGUAGE="JavaScript"> function CalculateSum(Atext, Btext, Ctext, Dtext, Etext, Ftext, form) { var A = parseFloat(Atext); var B = parseFloat(Btext); var C = parseFloat(Ctext); var D = parseFloat(Dtext); var E = parseFloat(Etext); var F = parseFloat(Ftext); form.Answer.value = A * B * C * D - E - F ; } function ClearForm(form) { form.input_A.value = ""; form.Answer.value = ""; } </SCRIPT> </HEAD> <BODY> <tr> <P><FONT SIZE="+2">900 Number Profit Calculator</FONT></P> <html><div style="width:220px;height:390px;border:4px double blue;"> <FORM NAME="Calculator" METHOD="post"> <P><center>Price Per Minute: <INPUT TYPE=TEXT NAME="input_A" SIZE=5 MAXlength="5"></center></P> <P><center>- Bill Fee <INPUT TYPE=HIDDEN NAME="input_B" value=.85% SIZE=5</center></P> <P><center>- Tax Recovery Fee <INPUT TYPE=HIDDEN NAME="input_C"value=.97% SIZE="5"</center></P> <P><center>- License Fee <INPUT TYPE=HIDDEN NAME="input_D" Value=.97% SIZE="5"</center></P> <P><center>- Transport <INPUT TYPE=HIDDEN NAME="input_E" value=.31 Size="5"</center></P> <P><center>- Termination Fee <INPUT TYPE=HIDDEN NAME="input_F" Value=.25 SIZE="5"</center></P> <P><center <P><center><INPUT TYPE="button" VALUE="Calculate" name="AddButton" onClick="CalculateSum(this.form.input_A.value,this.form.input_B.value, this.form.input_C.value, this.form.input_D.value, this.form.input_E.value, this.form.input_F.value, this.form)"></center></P> <P><center><INPUT TYPE="button" VALUE="Clear Fields" name="ClearButton" onClick="ClearForm(this.form)"></center></P> <P><center>Profit Per Minute! = <INPUT TYPE=TEXT NAME="Answer" maxlength="5" size="5") ></br></center></P> </FORM> </tr> </BODY> </HTML> </table> </div> Hello all, New member here im trying to make an HTML calculator with 2 boxes 1 box is for Kills i get in a video game 2nd box for deaths i have a video game where my leaderboard kills a 90488 kills, and i have 54933 deaths, so my kill to death ratio is 1.647243 which is basically 1.65 and in order to get to 1.66 kill to death ratio i need 476 kills how can i write this script? im new to html Are there special characters like hearts or...whatever that can be done in html. I recently transferred my blog from 1and1 to hostgator, and all my apostrophes have been replaced with � How can this be fixed? Ok so I have a filetransfer server running in https. Now I want to embed a sound, thing is, it must: not require quicktime, must auto start, must be invisible. My sound file is a mp3, which I am happy to convert to a different file type, I don't think I can use the embed tags because I think that requires quicktime. So what should I do? I mean I see google's mp3 player and yahoos, except I don't see an autostart paramater, and they are all visible. So does anybody have any ideas? |