|
Post by Jerry Muelver on Jun 27, 2008 5:54:25 GMT -5
Coming soon, to a website near you -- Whizzarbee, the online Run BASIC WYSIWYG doc system! Online realtime web page creation. What You See Is What Goes On The Web -- instantly! (This is a Microsoft-style pre-delivery pre-announcement intended to crush the dreams and aspirations of those who cling to old technologies and have not yet embraced Run BASIC! )
|
|
|
Post by Alyce on Jun 27, 2008 8:08:46 GMT -5
Whoa! When can we see a preview? This sounds like a perfect use for RB.
(And did you know that Bill Gates is retiring today? Is there a connection, I wonder?)
|
|
|
Post by Carl Gundel - admin on Jun 27, 2008 10:59:40 GMT -5
Sounds great!
-Carl
|
|
|
Post by Jerry Muelver on Jun 29, 2008 10:32:13 GMT -5
Making progress.... Here's a couple of screen captures:
|
|
|
Post by Jerry Muelver on Jun 29, 2008 10:44:59 GMT -5
Um.... Oh yeah.... a little enhancement:
|
|
|
Post by Janet on Jun 29, 2008 11:19:36 GMT -5
This looks great, Jerry. Now Run BASIC really IS "Web programming from your desktop."
|
|
|
Post by Carl Gundel - admin on Jun 29, 2008 19:19:22 GMT -5
This looks great, Jerry. Now Run BASIC really IS "Web programming from your desktop." Ahem. It already was. Whizzarbee is web authoring, not web programming. Very cool BTW Jerry! -Carl
|
|
|
Post by Jerry Muelver on Jun 29, 2008 20:15:58 GMT -5
Well, that's just the front end. I worked out a way to embed and call a JavaScript file to use the WhizzyWig system from www.unverse.net/whizzywig-cross-browser-html-editor.htmlNow I have to figure out how to grab the contents of the rich-text control for file saving and loading. The relevant section of the code (the last few of about 500 lines in a single "html" command) looks like this: <form><textarea id=""edited"" style=""width:95%; height:300px""> </textarea> <script type=""text/javascript""> buttonPath = ""/btn/""; makeWhizzyWig(""edited"", ""all""); </script> <input type=""submit"" value=""Submit""></form>"
Hitting "Submit" clears the browser and reloads the RB login screen. Not what I want. I'm trying to create a parallel hidden textarea in native RB, and copy the contents of the "edited" textarea as shown in the JavaScript to RB threads here, but am not having much success.
|
|
|
Post by Jerry Muelver on Jul 2, 2008 20:24:04 GMT -5
Okay, I give up. There will be no Whizzarbee. I can't get RB to read the rich text control, so the system is write-only, with no file save or load. Source is at runbasicnet.com/demo/whizzarbee.zip if anyone else wants to take a crack at it.
|
|
|
Post by Carl Gundel - admin on Jul 3, 2008 9:52:44 GMT -5
Well, the following works. Does it have to be a textarea specified in an HTML statement?
TITLEBAR "Move Over" html " <script type='text/javascript'> <!-- function ClickHandler ( ) { document.getElementById('b').value = document.getElementById('a').value; } //--></script> " textarea #a, "", 20, 3 #a setid("a") html"<input type='button' name='btn' id='btn' value='Xfer' onclick='ClickHandler()'/>" print textarea #b,"",20,3 #b setid("b") print link #xyz, "Show it", [showit] wait
[showit] string$ = #b contents$() print print string$
|
|
|
Post by Jerry Muelver on Jul 3, 2008 17:12:51 GMT -5
Yeah, I know that works. Kokenge set up a real nice test app that shows all the in-HTML and in-RB options are qorkable. Problem is, John Goodman's WhizzyWig reconfigures a textarea into a richtext field, and that configuration is not recognized by RB for reading, though it can write to it. Run the offered code, and you'll see the problem. I've spent days working various alternatives on it, and can't get it to click so I can read and write from outside to the richtext field.
|
|
|
Post by carlgundel on Jul 3, 2008 23:39:06 GMT -5
Well this may prove to be an excellent use case for some new extension to RB. I'll see what I can do.
-Carl
|
|
|
Post by Jerry Muelver on Jul 4, 2008 7:05:26 GMT -5
Thanks, Carl. I was hoping that would be the case. It's very frustrating to be close enough to touch the ring, but still not able to grab it. I"ll put this one of the shelf for a while, and focus on polishing rbCMS.
|
|