[Proto-Scripty] Re: can combine bind and defer?

2008-11-12 Thread T.J. Crowder
Yes, you can, and frequently you'll want to. Matt's example is quite thorough, but it boils down to: bind() returns a function that, when called, will call the original function with the specified value for 'this'. Since bind() returns a function, you can of course use that (new) function's def

[Proto-Scripty] Re: IE7 and ajax.updater NOT WORKING

2008-11-12 Thread T.J. Crowder
Hi, This thread may help: http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/11e98f0ba6acffd0/831c903a9f4b5ec2?lnk=gst&q=form#831c903a9f4b5ec2 HTH, -- T.J. Crowder tj / crowder software / com On Nov 12, 9:56 pm, ameshkin <[EMAIL PROTECTED]> wrote: > If you go herehttp:/

[Proto-Scripty] IE7 and ajax.updater NOT WORKING

2008-11-12 Thread ameshkin
If you go here http://www.promoventures.com/quotes2/ Click on any item...and then click on submit on the next page, then you will be taken here http://www.promoventures.com/quotes2/step-3.php On this page, clicking on the YES in IE7 will not work. in firefox, it calls a simple ajax function and

[Proto-Scripty] Draggable Revert returns to a different location

2008-11-12 Thread Damion B
Good afternoon: I have an anchor tag that is draggable and set to revert. In IE7 it reverts to the left of where it was originally. I would say by about 50px. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[Proto-Scripty] Re: using eval inside Ajax Request

2008-11-12 Thread kangax
On Nov 12, 4:37 pm, Namotco <[EMAIL PROTECTED]> wrote: > Maybe this evals, but the functions do not get exposed.  How should I > be doing this? > > function reCalc() { >         var sendSymsN = new Ajax.Request(url, {method:'post', onSuccess: > function() { >                                 var ev

[Proto-Scripty] Re: can combine bind and defer?

2008-11-12 Thread kangax
On Nov 12, 4:27 pm, Matt Foster <[EMAIL PROTECTED]> wrote: > A little lost on what the question is, but I took an assumption and > ran with it.  The idea of stacking these methods was intriguing. > Check out this code, its pretty useless really but an interesting > example of object ownership and

[Proto-Scripty] using eval inside Ajax Request

2008-11-12 Thread Namotco
Maybe this evals, but the functions do not get exposed. How should I be doing this? function reCalc() { var sendSymsN = new Ajax.Request(url, {method:'post', onSuccess: function() { var evalMe=decode(transport.responseText); // returns ( fname = function(

[Proto-Scripty] Re: help me with this simple one!

2008-11-12 Thread Matt Foster
$("main_content").fade({ duration : 1.6, afterFinish : function(fx){ fx.element.update(""); fx.element.appear({ duration : 1.0 }); } On Nov 12, 10:32 am, Walter Lee Davis <[EMAIL PROTECTED]> wrote: > Use a queue, or create a new hidden image over top of the old and   > fade that one up. (T

[Proto-Scripty] Re: help me with this simple one!

2008-11-12 Thread Matt Foster
$("main_content").fade({ duration : 1.6, afterFinish : function(fx){ fx.element.update(""); fx.element.appear({ duration : 1.0 }); }); On Nov 12, 9:19 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, currently i have this statement: > > $('main_content').fade({duration: 1.5}).update

[Proto-Scripty] Re: can combine bind and defer?

2008-11-12 Thread Matt Foster
A little lost on what the question is, but I took an assumption and ran with it. The idea of stacking these methods was intriguing. Check out this code, its pretty useless really but an interesting example of object ownership and function delegation. var MyClass = function(){ this.name =

[Proto-Scripty] Re: can combine bind and defer?

2008-11-12 Thread Matt Foster
A little lost on what the question is, but I took an assumption and ran with it. The idea of stacking these methods was intriguing. Check out this code, its pretty useless really but an interesting example of object ownership and function delegation. var MyClass = function(){ this.name =

[Proto-Scripty] can combine bind and defer?

2008-11-12 Thread Miguel Beltran R.
Checking http://proto-scripty.wikidot.com/prototype:how-to-using-unobtrusive-javascriptand http://proto-scripty.wikidot.com/prototype:how-to-hooking-events not say if is possible combine bind and defer. -- Lo bueno de vivir un dia mas es saber que nos que

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Alex Mcauley
Classing it would be a good idea but i have never written a Javascript class before !!, i have only just started to use object notaion for my functions !! so i suppose the next logical step is a class ... I wrote it all to use CSS classnames so people could have full flexability over how the w

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Alex Mcauley
yes its untested in IE6 and will not be supported i dont think for demo purposes i aggree it maybe should open smaller MIT liscence it is then !! - Original Message - From: "Chris Brody" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 12, 2008 4:32 PM Subject: [Proto-Scripty] Re: W

[Proto-Scripty] Re: Scriptaculous Draggables on anchor tags only setting last declared as draggable.

2008-11-12 Thread Damion B
[SOLVED] You can't use Prototype and JQuery (for GreyBox Redux) on the same page. It was causing conflicts. Well, I suppose I shouldn't say you can't use it. To debug the conflict is beyond my skills; maybe not yours. Thanks for everyone's help. On Nov 10, 12:51 pm, "Damion M Broadaway" <[EM

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Chris Brody
On Wed, Nov 12, 2008 at 5:46 PM, Alex Mcauley <[EMAIL PROTECTED]> wrote: > > yes its untested in IE6 and will not be supported i dont think > > for demo purposes i aggree it maybe should open smaller > > MIT liscence it is then !! Cool! I took a quick look at the source. My one suggestion right

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Chris Brody
I didn't even look at the source code yet. My first suggestion is that when someone opens a new window, it should be "normal" and not "maximized" to give a better demonstration. Also, in IE6 when I open the start menu the text was completely overlapped. In addition, if I click anywhere outside th

[Proto-Scripty] slide up effect

2008-11-12 Thread shawnl
Hello scriptaculous people. I am looking for an effect that will slide a div up from a fixed location on the page. For example, I will have a navigation bar that runs across the page and would like for a div to slide up. Everything I have seen and tested is based on either down or to the right fr

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Alex Mcauley
Thanks Chris .. This release only took me abut 12 hours to write !! Could you point out the stuff that needs cleaning up (aside the indentation!!) As for the liscence ... i know nting about liscencing ... i just want people to be able to use the code as they want to and modify it to suit thie

[Proto-Scripty] Re: Error: $A is not defined

2008-11-12 Thread Tobie Langel
Hi keemor, The proposed fix doesn't address the correct problem it also prevents events from being fired during page load/unload in Firefox. Furthermore, this should be fixed in 1.6 Best, Tobie On Nov 12, 4:42 pm, "T.J. Crowder" <[EMAIL PROTECTED]> wrote: > > I had an error: $A is not defin

[Proto-Scripty] Re: Error: $A is not defined

2008-11-12 Thread keemor
On 12 Lis, 16:42, "T.J. Crowder" <[EMAIL PROTECTED]> wrote: > > I had an error: $A is not defined > > Where are you calling it from that it's not yet defined when you call > it? Can you post a small, self-contained page demonstrating the > problem to Pastie[1]? It doesn't happen on localhost, but

[Proto-Scripty] Re: Error: $A is not defined

2008-11-12 Thread T.J. Crowder
> I had an error: $A is not defined Where are you calling it from that it's not yet defined when you call it? Can you post a small, self-contained page demonstrating the problem to Pastie[1]? [1] http://pastie.org -- T.J. Crowder tj / crowder software / com On Nov 12, 3:34 pm, keemor <[EMAIL P

[Proto-Scripty] Re: Window System - WebOs / Web Desktop

2008-11-12 Thread Chris Brody
On Wed, Nov 12, 2008 at 4:00 PM, Jeztah <[EMAIL PROTECTED]> wrote: > > Hi Guys / Gals > > After a few days frantic coding i have came up with a window system > based on prototypejs/scriptaculous that can be used in a multi > windowed environment. [...] I really like the concept. (I have seen some

[Proto-Scripty] Re: help me with this simple one!

2008-11-12 Thread Walter Lee Davis
Use a queue, or create a new hidden image over top of the old and fade that one up. (The latter looks exactly like a cross-fade, if that's the effect you're after.) Walter On Nov 12, 2008, at 9:19 AM, [EMAIL PROTECTED] wrote: > > Hi, currently i have this statement: > > > $('main_content').

[Proto-Scripty] Nested Sortable (rfe : authorize any creation order)

2008-11-12 Thread Olivier Jaquemet
Hi all, As I already read it somewhere the documentation, in order to use sortable inside sortable, they must be invoke in a specific order. But I have found a (kludge) solution to bypass this difficulty and I wish it could be provided natively in scriptaculous... Let's imagine the following sit

[Proto-Scripty] Error: $A is not defined

2008-11-12 Thread keemor
Hi, I had an error: $A is not defined I found solution very fast http://www.skybyte.net/articles/prototype.js/ and wonder if I should put new ticket on http://prototype.lighthouseapp.com/dashboard ? Is this fix for bind and bindAsEventListener methods correct? --~--~-~--~~---

[Proto-Scripty] Window System - WebOs / Web Desktop

2008-11-12 Thread Jeztah
Hi Guys / Gals After a few days frantic coding i have came up with a window system based on prototypejs/scriptaculous that can be used in a multi windowed environment. The example is loacted here: http://dev.thecvmarket.com/unitTest.php Each window that is created has unique id's that are refe

[Proto-Scripty] help me with this simple one!

2008-11-12 Thread [EMAIL PROTECTED]
Hi, currently i have this statement: $('main_content').fade({duration: 1.5}).update('').appear({ duration: 1.0 }); but the content will update and than fade... how do i make it fade the old content, update the content and show it?. thanks --~--~-~--~~~---~--~~

[Proto-Scripty] Re: How do I search for characters in order of input?

2008-11-12 Thread Daniel Llewellyn
On Tue, Nov 11, 2008 at 7:15 PM, Walter Lee Davis <[EMAIL PROTECTED]> wrote: > /** > * A really nice tool to clean strings or arrays. > * > * @param mixed $mxdInput A string or an array > * @return mixed same as input, but with trim and strip_tags applied > to string or all elements of array,

[Proto-Scripty] Re: fx.scroll - possible with Prototype & script.aculo.us ?

2008-11-12 Thread Brian Williams
yup http://dev.victorstanciu.ro/experimente/prototype-carousel/en/examples.html On Tue, Nov 11, 2008 at 7:32 PM, kneidels <[EMAIL PROTECTED]> wrote: > > hey folks > > is it possible to do this: > http://digitarald.de/playground/fly-over-background/ > with Prototype & script.aculo.us ? > > than

[Proto-Scripty] Re: Creating a Class with Prototype 1.6.0.3 and calling a function from within the class

2008-11-12 Thread treadmill
Hi kangax, Again, thank you. This has certainly helped me to produce clean, well developed javascript code, compared to what I would have produced. Your suggested changes also worked perfectly first time amazing, not that I doubted you from the first time your posted. ;) Many thanks for all

[Proto-Scripty] Re: Trying to get drag 'n drop to work... lost and confused.

2008-11-12 Thread Aly
my fix: if(IE) this.element._originallyAbsolute = null; else delete this.element._originallyAbsolute; --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group,

[Proto-Scripty] Re: Trying to get drag 'n drop to work... lost and confused.

2008-11-12 Thread Aly
Same problem here. Still searching for possible problem fix. Probably another IE bug due to IE8 beta works fine... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this

[Proto-Scripty] Re: Creating a Class with Prototype 1.6.0.3 and calling a function from within the class

2008-11-12 Thread kangax
On Nov 12, 4:46 am, treadmill <[EMAIL PROTECTED]> wrote: > Hi kangax, > > Wow, thank you so much for that extremely prompt reply. And thank you > very much for the advice, it now works perfectly! :) > > If anyone is interested in my code, here's the full working classes > and how to call it. I'

[Proto-Scripty] Re: Scriptaclous Problem

2008-11-12 Thread ColinFine
On Nov 11, 4:45 pm, alohaaaron <[EMAIL PROTECTED]> wrote: ... > I also can't get the results to show by just the first letter.  Say if > the list contains coffee and frank, I type f and just want frank to be > found, not coffee.  But it shows both frank and coffee.  Here is the > link > > here

[Proto-Scripty] Re: onDrag - scriptaculous

2008-11-12 Thread Alex Mcauley
Its okay, yet again i have answered own question If anyone is interested i have created containment for draggables and resizeables (which is sorely missing in the class) ... it works pretty well and wont allow an element to be dragged outside the viewport or resized out of it either .. t

[Proto-Scripty] Re: Creating a Class with Prototype 1.6.0.3 and calling a function from within the class

2008-11-12 Thread treadmill
Hi kangax, Wow, thank you so much for that extremely prompt reply. And thank you very much for the advice, it now works perfectly! :) If anyone is interested in my code, here's the full working classes and how to call it. I've decided to only call the loading of the images, after the initial pa

[Proto-Scripty] Re: Href inside sortable dragging instead of clicking intermittently, in IE7

2008-11-12 Thread Alex Mcauley
can you put your code in for the event stop or all of the javascript used (not scriptaculous or prototype!!) and the xhtml used in it and i will help you figure out the problem Thanks Alex - Original Message - From: "Hippyjim Starbrook" <[EMAIL PROTECTED]> To: Sent: Wednesday, Novembe