View Single Post
Old 01-03-2013, 08:34 PM   PM User | #11
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,549
Thanks: 62
Thanked 4,054 Times in 4,023 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Quote:
Originally Posted by jmill23 View Post
Could you simplify it so it is shorter as there are scrpits passing through scripts....
Ummm...I *THOUGHT* that was what I did in my post #3.

Did you actually *TRY* that code???

The HTML isn't as pretty as yours, but it works. I really did test it, you know.

Oh...what the heck. Here. I've add the ability to choose to use hours or minutes. And I've put it online to prove it works.
http://mywhizbang.com/calories.html

You can VIEW-->>SOURCE that page to see the updated code.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is online now   Reply With Quote