Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-17-2003, 11:24 PM   #1
Member (9 bit)
 
pc_noob's Avatar
 
Join Date: Dec 2002
Location: FL
Posts: 357
Exclamation JavaScript Help

Whoa this is quite irritating even if im just doing it for fun. Anyways, I downloaded a javascript off of some website which I attached.

It is a simple horsepower calculator script. I wanted to customize it by taking away the first input field (vehicle name)

But gives me an error eventhough I spent a good 2 hours to fix it (attached customized version).

Can anyone help?

Thanks lots.

Last edited by pc_noob; 01-17-2003 at 11:32 PM.
pc_noob is offline   Reply With Quote
Old 01-17-2003, 11:36 PM   #2
Member (9 bit)
 
pc_noob's Avatar
 
Join Date: Dec 2002
Location: FL
Posts: 357
original
Attached Files
File Type: zip hp calculator (original).zip (1.7 KB, 65 views)
pc_noob is offline   Reply With Quote
Old 01-17-2003, 11:37 PM   #3
Member (9 bit)
 
pc_noob's Avatar
 
Join Date: Dec 2002
Location: FL
Posts: 357
customized
Attached Files
File Type: zip hp calculator.zip (1.7 KB, 61 views)
pc_noob is offline   Reply With Quote
Old 02-01-2003, 01:21 PM   #4
Member (7 bit)
 
Join Date: Feb 2001
Location: Maine
Posts: 69
Send a message via ICQ to Rooster
You just needed to take out anything referring to the 'Car Model'. This included the input1 function, the html prompting for the car model, and the text referring to the value in the carModel text control (which was used for display in the little black box after the submit button was clicked). Unfortunately, I don't know what you tried because I only d/l'ed the original and worked from it. But, you can still compare this one and the original to see what I did to take out the car model stuff.

You will need to rename the file back to .htm rather than .txt, though.
Attached Files
File Type: txt hp calculator .txt (3.7 KB, 79 views)
Rooster is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:28 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2