|
Citanu541 posted:but the part that I just can't figure out is that he wants us to display each roll separated by a comma and stick "and" between the second to last and last numbers. (example: 4, 6, 3, 6, and 4) Which stills sounds simple until he tells us we can't use arrays to complete the task! I have to be honest with the fact that I don't know how to do this with out arrays! I'm too used to using them at this point in my life. Really we're limited to loops and if statements. If anybody has any insight on how I can go about doing this I'd appreciate it. Just change the last line of that for loop to something like this: code:
|
# ¿ Feb 8, 2009 07:25 |
|
|
# ¿ Apr 26, 2024 23:29 |
|
Ether Frenzy posted:I'm having trouble amending this javascript form submission to also allow the "Enter" key to submit the form. I'm not that experienced with javascript, so my googling has not been resulting in any successes at inserting the additional elements. Shouldn't it work just to make your input button type="submit"?
|
# ¿ Jul 7, 2009 21:52 |
|
Jose Cuervo posted:I downloaded the four js files and placed them in my www folder and things work just fine now. One quick question though. In the byzoomer_demo.js file it looks like all I need from there is the initialization of the object (new ByZoomer(). Is there any way for me to make this initialization happen by writing the code in my webpage (say in the <head> section? You can just put something similar to this: code:
|
# ¿ Sep 7, 2009 03:48 |