We have now decided that we are going to use an array within our organism to only store the last email that has been entered by a user, and this will be the food that annie ‘goes off’ to find and eat. Her happiness will go down because she has to go find the food but also up because she has got to eat so they both cancel each other out as she is surviving and wont get too emotional about it wither way.
What we have written is very simple to store the email:
emails = new Array();
emails[0] = food;
‘food’ is a variable we created very early on in the project and basically it is the value of whatever the user has entered i.e the Email when they use the onRelease function (Clicking the feed me button)
<script type=”text/javascript”>
var gaJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(“%3Cscript src=’” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
try {
var pageTracker = _gat._getTracker(“UA-11563787-1″);
pageTracker._trackPageview();
} catch(err) {}</script>