Re: on-rev example: dynamic table (was: 'globals.cgi' conversion)
Oops. ;-) OK, now we have version 2, with some error-checking added... http://ijw.on-rev.com/form2.irev Ian On 20 Apr 2009, at 01:45, Kay C Lan wrote: I didn't read this bit, just went to your link first, saw the two LARGE fields so entered two REALLY LARGE numbers. I'm sorry but I may have used your lifetime's worth of bandwidth as it created the world's largest times table ;-(( Maybe you want to include a line "Enter two numbers less than 100" above those fields so others don't waste your next lifetime of bandwidth ;-) Really sorry about the bandwidth but I did learn from your example ;-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: on-rev example: dynamic table (was: 'globals.cgi' conversion)
Le 20 avr. 09 à 00:03, Ian Wood a écrit : On 18 Apr 2009, at 09:33, Andre.Bisseret wrote: I was expecting something like a beautiful web page ;--)) This isn't much more beautiful, but it's less like a system readout. ;-) http://ijw.on-rev.com/form1.irev Put in two numbers and hit 'Submit' to see a 'times table'-like table appear. Nothing all that special and I'm sure it could also be done in PHP, but it would have taken me longer to remember how to do a repeat in PHP than the whole thing did via rev/transcript. The Rev code looks like this: " repeat with x = 1 to $_POST["x"] put "" repeat with y= 1 to $_POST["y"] put "" & (x * y) & "" end repeat put "" end repeat put "" ?> Which is nice and familiar. Given the power of Transcript/Rev, it would be easy to add in some sophisticated error-checking code for letters instead of numbers, and instead put a sensible error message if someone puts in garbage. Ian Bonjour, Very nice indeed (though not exactly the part of rev code I am used to ;-)) Thank you much, Ian, for this illustration Best regards from Grenoble André ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: on-rev example: dynamic table (was: 'globals.cgi' conversion)
On Mon, Apr 20, 2009 at 6:03 AM, Ian Wood wrote: > > Put in two numbers and hit 'Submit' to see a 'times table'-like table > appear. I didn't read this bit, just went to your link first, saw the two LARGE fields so entered two REALLY LARGE numbers. I'm sorry but I may have used your lifetime's worth of bandwidth as it created the world's largest times table ;-(( Maybe you want to include a line "Enter two numbers less than 100" above those fields so others don't waste your next lifetime of bandwidth ;-) Really sorry about the bandwidth but I did learn from your example ;-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: on-rev example: dynamic table (was: 'globals.cgi' conversion)
I've finally taken the plunge and worked up a little css and javascript to do a bit of ajax stuff. It's fairly poor, but it's here: http://marksmith.on-rev.com/mashash/mashash.html css is great! javascript so far is ok but a bit hard to love - maybe I'll warm to it as I progress... Best, Mark On 19 Apr 2009, at 23:03, Ian Wood wrote: On 18 Apr 2009, at 09:33, Andre.Bisseret wrote: I was expecting something like a beautiful web page ;--)) This isn't much more beautiful, but it's less like a system readout. ;-) http://ijw.on-rev.com/form1.irev Put in two numbers and hit 'Submit' to see a 'times table'-like table appear. Nothing all that special and I'm sure it could also be done in PHP, but it would have taken me longer to remember how to do a repeat in PHP than the whole thing did via rev/transcript. The Rev code looks like this: " repeat with x = 1 to $_POST["x"] put "" repeat with y= 1 to $_POST["y"] put "" & (x * y) & "" end repeat put "" end repeat put "" ?> Which is nice and familiar. Given the power of Transcript/Rev, it would be easy to add in some sophisticated error-checking code for letters instead of numbers, and instead put a sensible error message if someone puts in garbage. Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
on-rev example: dynamic table (was: 'globals.cgi' conversion)
On 18 Apr 2009, at 09:33, Andre.Bisseret wrote: I was expecting something like a beautiful web page ;--)) This isn't much more beautiful, but it's less like a system readout. ;-) http://ijw.on-rev.com/form1.irev Put in two numbers and hit 'Submit' to see a 'times table'-like table appear. Nothing all that special and I'm sure it could also be done in PHP, but it would have taken me longer to remember how to do a repeat in PHP than the whole thing did via rev/transcript. The Rev code looks like this: " repeat with x = 1 to $_POST["x"] put "" repeat with y= 1 to $_POST["y"] put "" & (x * y) & "" end repeat put "" end repeat put "" ?> Which is nice and familiar. Given the power of Transcript/Rev, it would be easy to add in some sophisticated error-checking code for letters instead of numbers, and instead put a sensible error message if someone puts in garbage. Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution