Transport calculator (web app)
13 posts
• Page 2 of 2 • 1, 2
Re: Transport calculator (web app)
Hmmm. Can you post the formula you used, and private message me how to make an app?
http://www.yodac.net
FOR SUPPORT: Ask me a Q.

Yodac wrote:People would be more interested in life, if life gave more interest in them
FOR SUPPORT: Ask me a Q.

Vayneglory wrote: Post count doesn't matter, quit bragging about it
Re: Transport calculator (web app)
If the b don’t work you can try this longer link.
I have simply multiplied the carry values from defined in the tutorial page.
This web app is a simple html form with a JavaScrip that auto update the other values "onchange".
It was developed with Dashcode and is just a test: I never used it, so I tried to do something for testing.
Yodac wrote:Hmmm. Can you post the formula you used, and private message me how to make an app?
I have simply multiplied the carry values from defined in the tutorial page.
This web app is a simple html form with a JavaScrip that auto update the other values "onchange".
- Code:
function updatethis(event)
{
document.getElementById('infantry_res').value = 80*document.getElementById('infantry').value;
document.getElementById('cavalry_res').value = 100*document.getElementById('cavalry').value;
document.getElementById('archer_res').value = 40*document.getElementById('archer').value;
document.getElementById('catapult_res').value = 40*document.getElementById('catapult').value;
document.getElementById('total').value = (document.getElementById('infantry_res').value*1)+(document.getElementById('cavalry_res').value*1)+(document.getElementById('archer_res').value*1)+(document.getElementById('catapult_res').value*1);
document.getElementById('total_per_res').value = (document.getElementById('total').value/4);
}
It was developed with Dashcode and is just a test: I never used it, so I tried to do something for testing.
I’m on server 102
A free web app to calculate Haypi resources: http://www.trendupgraphic.com/haypi/ (vist it with yours iOS device)
A free web app to calculate Haypi resources: http://www.trendupgraphic.com/haypi/ (vist it with yours iOS device)
13 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 2 guests