[Proto-Scripty] Re: Appending a template evaluation to an HTML element.

2010-08-20 Thread ChrisH
As it turns out, I had to revise the program flow and, since the data is available at the time I write the data for the innerHTML, I simply incorporated it into the data with javascript as it is written. So the result is nice and efficient, all html and no DOM. I'm sure I'll wind up needing your t

Re: [Proto-Scripty] Re: how to modify a part of an

2010-08-20 Thread Walter Lee Davis
I found one called Reggy quite a while ago. It's written by Sam Souder, but I don't have a URL for it. Walter On Aug 20, 2010, at 2:26 AM, Erwin wrote: thanks I'll look at that... and maybe try to find a RegExp app for Mac... On 19 août, 21:01, Dave Kibble wrote: depends entirely on what

[Proto-Scripty] Would like to convert my little checkbox grid into a component of some sort.

2010-08-20 Thread Richard Quadling
Hi. I have some code, developed using Prototye (code works in IE8, Firefox and Chrome) which displays a list of checkboxes in an order that is alphabetically sorted and displayed top to bottom, left to right in auto-sized columns and padded to fit the width of the container. So, if the list of it

[Proto-Scripty] Re: video element not playing on IE

2010-08-20 Thread T.J. Crowder
Hi, > I know IE does not support , but mine does thanks to kaltura > library. Probably a question best addressed to Kaltura, then. My suspicion is that they can't add the video functions to the element instance automagically for the same reason Prototype can't, and so I bet they have an equivalen

[Proto-Scripty] Re: IE "Object doesn't support the property or method"

2010-08-20 Thread T.J. Crowder
All: The OP figured this out himself while this message was pending moderation, no need to answer this one. (There's a separate follow-up to answer instead, though.) -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Aug 20, 10:25 am, Alberto G

[Proto-Scripty] video element not playing on IE

2010-08-20 Thread Alberto Gil Fernández
To moderators: i just posted this problem but im now an step ahead. Wanted to edit/delete previous entry but couldn't fin how. I have got the following function: function tts() { var videoElement = $(document.createElement('video')); videoElement.setAttribute('src','anim1.ogg');

[Proto-Scripty] IE "Object doesn't support the property or method"

2010-08-20 Thread Alberto Gil Fernández
I have got the following code function tts() { var videoElement = document.createElement('video'); videoElement.setAttribute('src','anim1.ogg'); videoElement.observe("loadeddata", function() { $('response').innerHTML="";

[Proto-Scripty] Re: Really Simple History + Prototype

2010-08-20 Thread T.J. Crowder
Hi, I know of three gotchas with RSH (none of them specific to Prototype): 1. You _have_ to call `window.dhtmlHistory.create` from a script tag in the `body` element of your page, because it uses `document.write` (sadly) to write elements during the course of that call. I have it right at the end