It is currently Thu Mar 28, 2024 11:50 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post Post subject: Nutrition calculator with unique food health rating!
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
Hey guys

Just finished creating this masterpiece.

http://www.webtagr.com/projects/nutrition/

Check it against the nutrition labels on your food products to determine just how healthy your food really is... you might be surprised!

_________________
Follow your heart and live the dream <3


Wed Jun 29, 2011 2:15 pm 
 Profile E-mail  
 
 Post Post subject: Re: Nutrition calculator with unique food health rating!
 
Offline
Malevolent Artificial Intelligence
Malevolent Artificial Intelligence
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Wed Sep 14, 2005 3:37 pm
Posts: 6434
Karma: 4
I'd be really interested in seeing the code you used to calculate the result. It must be pretty complex.

_________________
In which the unthinkable happened.
Image
Signature created by schlürbi. :D


Wed Jun 29, 2011 6:11 pm 
 Profile E-mail  
 
 Post Post subject: Re: Nutrition calculator with unique food health rating!
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
Here it is:

Code:
function rating(){
    _rating.innerHTML="Health Rating... Calculating...";
    clearTimeout(ratingTimer);
    ratingTimer=setTimeout(function(){
        _rating.innerHTML="Health Rating... <div class=\"green\">SUPER HEALTHY!</div>";
    },Math.round(1000+(Math.random()*3000)));
    return false;
}


lol

_________________
Follow your heart and live the dream <3


Wed Jun 29, 2011 6:47 pm 
 Profile E-mail  
 
 Post Post subject: Re: Nutrition calculator with unique food health rating!
 
Offline
Malevolent Artificial Intelligence
Malevolent Artificial Intelligence
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Wed Sep 14, 2005 3:37 pm
Posts: 6434
Karma: 4
You know I was joking, I already knew what it did. :P

_________________
In which the unthinkable happened.
Image
Signature created by schlürbi. :D


Wed Jun 29, 2011 6:51 pm 
 Profile E-mail  
 
 Post Post subject: Re: Nutrition calculator with unique food health rating!
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
:D

_________________
Follow your heart and live the dream <3


Wed Jun 29, 2011 7:07 pm 
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Karma functions powered by Karma MOD © 2007, 2009 m157y