Difference between revisions of "Team:Cambridge-JIC/Make Your Own"
Line 182: | Line 182: | ||
window.location.href="#CC0"; | window.location.href="#CC0"; | ||
ret = '<h3>Thanks!</h3><br/><table><tr><th>Number</th><th>Part</th><th>Cost (GBP)</th><th>STL file</th><th>SCAD file</th></tr><tr><td>1</td><td>main stage</td></tr><tr><td>3</td><td>legs</td></tr><tr><td>2</td><td>side supports for z axis</td></tr><tr><td>1</td><td>z axis in 3 parts (vertical + horizontal + connector)</td></tr><tr><td>1</td><td>connecting ring bw z axes</td></tr><tr><td>1</td><td>3-legged camera holder</td></tr><tr><td>1</td><td>bright-field cube</td></tr><tr><td>2</td><td>slide clips</td></tr>' | ret = '<h3>Thanks!</h3><br/><table><tr><th>Number</th><th>Part</th><th>Cost (GBP)</th><th>STL file</th><th>SCAD file</th></tr><tr><td>1</td><td>main stage</td></tr><tr><td>3</td><td>legs</td></tr><tr><td>2</td><td>side supports for z axis</td></tr><tr><td>1</td><td>z axis in 3 parts (vertical + horizontal + connector)</td></tr><tr><td>1</td><td>connecting ring bw z axes</td></tr><tr><td>1</td><td>3-legged camera holder</td></tr><tr><td>1</td><td>bright-field cube</td></tr><tr><td>2</td><td>slide clips</td></tr>' | ||
− | if(options[2] == 0) { | + | if(options[2] == 0 && options[3] == 0 && options[4] == 0) { |
− | ret += '<tr><td> | + | ret += '<tr><td>3</td><td>epicubes</td></tr>' |
− | } | + | } |
+ | elseif((options[2] == 0 && options[3] == 0) || (options[2] == 0 && options[4] == 0) || (options[3] == 0 && options[4] == 0)) { | ||
+ | ret += '<tr><td>2</td><td>epicubes</td></tr>' | ||
+ | } elseif(options[2] == 0 || options[3] == 0 || options[4] == 0) { | ||
ret += '<tr><td>jsjdjd</td><td>2</td></tr>' | ret += '<tr><td>jsjdjd</td><td>2</td></tr>' | ||
} | } |
Revision as of 17:01, 14 September 2015