HTML - Html Calculator Question
Im setting up a website that needs to have a calculator similiar to this link:
https://www.101incorporate.com/incorporation-order.htm The user need to be able to click on things and the calculator need to change according to the different packages and items they select. And the calculator will total it out. Can anyone help me? Please. Thanks! Similar TutorialsHello 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 I need to make a calculator for a website. The user would have a couple of inputs, which would run through a formula, and have an output. I don't know where to start. You'd think there would be tutorials for something as simple as this sounds. Your help is appreciated. Hi, I'm rather new to website building and this site so my apologies if I'm posting in the wrong area. I've built my first website and have obtained html code for a simple quantity X price calculator to put on my website. The problem is with some quantities entered the prices shows out to 7 or so decimal places. This should be a dollar amount so only 2 decimal places are needed. The website link is http://www.essaycorrect.com/index.php/prices/ and for example 789 words entered in top box comes back with price of 23.6699999. The coding is below. Any help would be very, very appreciated. Thanks, Tim. <script language="JavaScript"> <!-- function CalculateTotals(){ f=document.orderform; f.total1.value=parseInt(f.qty1.value)*.03; f.total2.value=parseInt(f.qty2.value)*.05; f.total3.value=parseInt(f.qty3.value)*.03; f.total4.value=parseInt(f.qty4.value)*.05; f.grandtotal.value=parseInt(f.total1.value) +parseInt(f.total2.value) +parseInt(f.total3.value) +parseInt(f.total4.value) +parseInt(f.sh.value);} //--> </script></head> <body> <form name="orderform" method="post" action="formprocessor"> <table border="3"><tr> <th>Word count</th><th>Service</th><th>Time</th> <th>Price per word</th><th>Price(A$)</th></tr> <tr><td> <input name="qty1" size="10" OnBlur="CalculateTotals()" /></td> <td>Standard</td><td>Below 5000 words=3days / Above 5000 words=7days </td> <td align="right">3 cents </td> <td><input name="total1" size="6" OnFocus="document.orderform.qty2.select(); document.orderform.qty2.focus();" /></td></tr> <tr><td> <input name="qty2" size="10" OnBlur="CalculateTotals()" /></td> <td>Express</td><td>Below 5000 words=1day / Above 5000 words=3days </td> <td align="right">5 cents </td> <td><input name="total2" size="6" OnFocus="document.orderform.qty3.select(); document.orderform.qty3.focus();" /></td></tr> </table> <input type="hidden" value="0" name="sh" /> </form> <script language="JavaScript"> <!-- f=document.orderform; f.qty1.value=0; f.qty2.value=0; f.qty3.value=0; f.qty4.value=0; f.total1.value=0; f.total2.value=0; f.total3.value=0; f.total4.value=0; f.sh.value=0; f.grandtotal.value=0; f.grandtotal.value=0; //--> </script> </body></html> All, I'm having some serious issues using a tag to a website for one of my clients. I'm using the Code: <sarcasm></sarcasm> tag in some of my code, but it does not appear to be displaying properly in certain web browsers. Firefox and Opera seem to work OK, but IE and Safari ignore the tag completely. I have over 5 years of coding in experience in HTML5, CSS, and HTML, but none in MSHTML, which is what I currently must use. Has anyone else run into this problem in the past? Regards, -Dave Lawrence Microsoft A+ Certification Dell Certifiied Systems Expert Citrix Certified Administrator Hello! I have the following table of navigation links with a small image; here is the html: <table><tr><td bgcolor="#FFCCFF" width="830" height="15" align="center"><font face="Arial, Helvetica, sans-serif"><a href="index.html">Home</a> <a href="oneofakind.html">One of a Kind</a> <a href="gallery.html">Gallery</a> <a href="custom.html">Custom</a> <a href="about.html">About</a> <a href="customerservice.html">Customer Service</a> <a href="contact.html">Contact</a> <img border="0" src="images/pheart1.jpg" alt="pink heart"/>Shopping Bag</font></td></tr></table> My question is: I need to know how to incorporate the paypal button in the above image (the pheart1.jpg image). Here is the paypal button code: <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIG1QYJKoZIhvcNAQcEoIIGxjCCBsICAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD VQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIb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KYrGFAFZoAXcvheO61a98zmuar/U08YFBQ==-----END PKCS7----- "> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_viewcart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> If anyone can offer any suggestions, I would be eternally grateful!!!!! Hi , how to add thick border for html table only for one side of the cell? Please let me know . Thanks hello guys! i have a question for you. i use this code to my blog (this is a media player made by photobucket) Code: <embed width="448" src="http://i171.photobucket.com/player.swf?file=http://vid171.photobucket.com/albums/u285/VBMAN/videaki.flv" height="361" wmode="transparent" type="application/x-shockwave-flash"></embed> and i want make this autoplay when i enter to my blog. Is there any code to help thank u Hey new to this thread a lot of useful help.. but i have a problem.. I am wondering if i can get some kind of code lets say from youtube of there top music vids... and make it post automatically into my website each time its the top? some kind of rss feed.but a link or video that updates with it? thanks in advance I have a small question about putting an image on my page, when i use the code
HTML Code: <img src ="ad1.jpg"> the image doesn't work, it just makes a weird icon with three colours. can sombody please help me? Hi, there I have a strange question about html site https://www.molten-wow.com/ I have created an account for you to try : Username - daozealot Password - gogogo so... the question. When you log in, you have "Vote Points : 13" when you go to "vote for molten wow" there are 5 Triggers (links to visit) which increment the Vote Points. Isn't there a way to make an html, which can connect to the site... and connect to the account... and increment the points ? Or I should find a way to make it with javascript ? Hi Gang. I'm new to html programing and have what will more than likely be seen as a couple of dumb questions but here goes. What do I have to do to eliminate the need to include .html on links to new pages. What I am finding is that http://mydomain/list.html for example will not work if I type http://mydomain/list Also the links to html pages that I create will only work if I use lower case letters. What do I have to do to make this work with either upper or lower case. Thanks a bunch for any help you can supply. Code: <hx:outputLinkEx styleClass="outputLinkEx" id="formPdfLink" onclick="return openPDFWord(this, '#{varsearchResults.targetURLForPDF}');" value="#{varsearchResults.pdfURL}"> <h:outputText style="color:red;" styleClass="outputText"styleClass="outputText" id="text7" value="#{varsearchResults.formIdAndEditionDate}" escape="false"> </h:outputText> </hx:outputLinkEx> Here i threw in the tag style = "color:red;" into my dynamic print code in my jsp file. I'm trying to get just these links to change color when clicked. Is there a way to use vlink? I tried style = "vlink:red" which didn't work. Any help on how to make that happen would be greatly appriciated. Regards, Will Hello, I run a videogame server along with a website for content management. Right now im trying to find a way to display a page with a box inside it that transitions pdf files located in a file on the server. The file would follow as so http://www.voidcraft.net/other/rand/...3681823623.pdf It would also have 4 buttons at the bottom one with a arrow pointing right that would transition to the next. one the the left which would make it go back to the one before. There would also be a approve and decline. The approve would email the email on the pdf or have a box pop up that asks for the email and then send the pdf to a approved folder. The decline would do the same except send a different email and send to a different folder. I have no idea what so ever how to do this. I am only partially experienced in Html and this just goes over my head. Is there a chance that anyone could help me out here? I would like to prompt for name & email address without using php. Possible and if so, how? Hi. In a table data I have four lines of text each line separated by a <br> The text are different font sizes. The issue I am having is that the lines have space between them above and below. How do I get the lines of text closer together using simple html? text line 1 | (this space) | text line 2 Regards Hi there, I am currently working on a XHTML and HTML computer assignment. The problem I have is I ve written the codes on notepad saved it, and when I refresh on Browser view there is no change. I am sure that the codes are right and im sure i am refreshing it from the right view. Any suggestions?! Thank you! Hi. In a table data I have four lines of text each line separated by a <br> The text are different font sizes. The issue I am having is that the lines have space between them above and below. How do I get the lines of text closer together using simple html? text line 1 | (this space) | text line 2 Regards i'm creating a directory page with over 200 links on it and need to comment each link. i've read that this can slow down page loading. is that true? is there a better way to leave myself notes about each link. i will need to refer to those notes regularly. i'm not a coder so keep that in mind when responding. TIA, and happy new year. Hey, I am relatively new to html and had a quesiton concerning html forms. I am familiar with how to display the form on the site and have the user submit it, but how can i retrieve that data automatically (real time preferred) and post it on the page without doing anything else myself. specifically, how can i have a user input a link and have the html code automatically add it to a page? Any help would be appreciated. Hello.I want to make a HTML comment box, with submit button. How to add comments to my web-site? if you know, can you give me the code for box and the code, which will be displayed after adding comments........? Thanks beforehand |