[Proto-Scripty] Re: AJAX exception handling

2009-06-15 Thread T.J. Crowder
Hi, > I really think the core team at least should consider updating > the docs No harm in asking! https://prototype.lighthouseapp.com/projects/8886-prototype/overview > It will spare a significant portion of new prototype users from being > confused about this. I very much doubt that it's any

[Proto-Scripty] Re: Creating new lines and bypassing them through escapeHTML

2009-06-15 Thread T.J. Crowder
Heya, > I thought it wouldn't come as a surprise that using XHTML makes no > sense... Hey, HTML and CSS make no sense, let alone XHTML. But that's OT. :-) I'm just saying, the doctype that seems to be recommended is XHTML transitional, so that's what I use as I don't have a strong reason for do

[Proto-Scripty] Re: fireing events not working as expected

2009-06-15 Thread T.J. Crowder
Hi Todd, Certainly looks like it should work. With apologies, are you absolutely certain you're actually calling #fire? There are a couple of conditions around that (not having exactly two # links, or jsonMessage.Received being falsey) that would mean the code wouldn't call #fire. Have you ste

[Proto-Scripty] Encoding problem Ajax.Updater

2009-06-15 Thread virchete
I have a problem with Ajax.Updater with the encoding, only in Internet Explorer browser, and only in some cases. This problem appears only in some computers, and is so strange. The javascript error is: System does not support the specified encoding. I don't know why in Firefox runs always and in

[Proto-Scripty] Re: AJAX request - select element

2009-06-15 Thread ColinFine
On Jun 13, 10:04 pm, fufolewe wrote: > Hi, > > I have a simple problem which is driving me nuts: > > I would like to make an AJAX req which returns the whole page - select > an element by its ID from the response text and update "targetDiv" > with this element (myDivID). > > But it doenst work

[Proto-Scripty] Re: Encoding problem Ajax.Updater

2009-06-15 Thread virchete
For more information, the error is produced always in IE 7, and is the following: Could no complete the operation due to error c00ce56e. I have investigated and this is a typical error. I have put in the Ajax. Updater call: encoding : 'UTF-8',

[Proto-Scripty] Draggables/Droppables grid problem

2009-06-15 Thread adamski
I'm working on a 3 column grid of draggable objects. Draggables are Droppable on any other Draggable, where they are placed just above after a successful ajax call. I have all logic and ajax stuff in place. Its kinda working, but - the interface is quite jumpy, and seems to have a problem moving

[Proto-Scripty] Re: AJAX request - select element

2009-06-15 Thread T.J. Crowder
Hi, As Colin points out, you're trying to treat a String object like a Document (by calling getElementById), which isn't going to work. You have a couple of options. 1. Use string parsing to isolate the markup in that string for the element you want. Once you have just that markup, you can use

[Proto-Scripty] Re: Creating new lines and bypassing them through escapeHTML

2009-06-15 Thread kangax
On Jun 15, 3:48 am, "T.J. Crowder" wrote: > Heya, > > > I thought it wouldn't come as a surprise that using XHTML makes no > > sense... > > Hey, HTML and CSS make no sense, let alone XHTML.  But that's OT. :-) > I'm just saying, the doctype that seems to be recommended is XHTML > transitional,

[Proto-Scripty] Re: z-index sortable list

2009-06-15 Thread david
Hi here is something that could help: http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en"> test test1 test2 test3 test4 test5 function applyZIndex(){ var ZINDEX=0; $$('#mySortable li').each(function(_element){_element.setStyle('z- index:'+(ZINDEX+=10

[Proto-Scripty] Re: setOpacity issue

2009-06-15 Thread david
Hi All, I think this info about genevaJS should have had its own thread in this group, and an entry to scripteka ! Is it working for jQuery plug-in ?? -- david On 13 juin, 09:34, "T.J. Crowder" wrote: > Very very cool, Rick! > > -- T.J. :-) > > On Jun 12, 11:33 pm, Rick Waldron wrote: > > > Ge

[Proto-Scripty] Re: setOpacity issue

2009-06-15 Thread david
Hi All, I think this info about genevaJS should have had its own thread in this group, and an entry to scripteka ! Is it working for jQuery plug-in ?? -- david On 13 juin, 09:34, "T.J. Crowder" wrote: > Very very cool, Rick! > > -- T.J. :-) > > On Jun 12, 11:33 pm, Rick Waldron wrote: > > > Ge

[Proto-Scripty] Re: Dynamic display of movie title

2009-06-15 Thread david
Hi piers, Prototype has nothing to do with quicktime, even if you use it on the page. You should try the quicktime js API. I just googled "quicktime API in javascript" and find in the first result page "http://lists.apple.com/archives/QuickTime-API/2008/Mar// threads.html" this is the apple mail

[Proto-Scripty] Re: how use fire + bind/curry?

2009-06-15 Thread Miguel Beltran R.
> > > > There are too many permutations here to find correct way by trial and > error ; ) > > You haven't really said what it is you're trying to do, or at least > what you expect event handler to be - its `this`, its `arguments`, > etc. > > Perhaps, you want something like this: > > $('element1').