Beta

Slashdot: News for Nerds

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Suspension Dynamics Calculator - Code Review Requested

DG (989) writes | more than 5 years ago

User Journal 0

So in anticipation of my upcoming jaunt to South Central Asia, I got to work writing a web-based version of my Excel Suspension Dynamics Calculator.

http://farnorthracing.com/autocross_secrets16.html

It's all in Javascript, and it works.

It's also butt-ugly, both on the coding and layout sides, but the intent was very much "get it working before making it pretty".

So in anticipation of my upcoming jaunt to South Central Asia, I got to work writing a web-based version of my Excel Suspension Dynamics Calculator.

http://farnorthracing.com/autocross_secrets16.html

It's all in Javascript, and it works.

It's also butt-ugly, both on the coding and layout sides, but the intent was very much "get it working before making it pretty".

That, and I'm a perl guy. This Javascript stuff is new to me, so I took the brute force, copy-and-paste approach to coding it, rather than try and duplicate the elegant stuff I know how to do in perl.

But now that it is up, I'm interested in seeing what all y'all suggest for layout and code cleanup. And in particular, I'm interested in seeing a good way to do tooltips for the input fields.

So if you're a Javascript or CSS code monkey, have a look at my steaming pile of shite, and suggest ways to make it better. T'would be much appreciated.

And if you're a car guy (or girl)... you're going to want to see this.

DG

cancel ×

0 comments

Check for New Comments
Slashdot Account

Need an Account?

Forgot your password?

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>
Create a Slashdot Account

Loading...