[Proto-Scripty] Ajax.Updater Issue

2008-12-08 Thread theQco
Hi everyone, This is my first real project working with Prototype and I am sure that I am doing something silly but any help/advice/feedback would be greatly appreciated. Here is what I am trying to accomplish. When a user clicks on a link on my website, I would like it to display a notification

[Proto-Scripty] Re: Ajax.Updater Issue

2008-12-08 Thread T.J. Crowder
Hi, So, both the loading message and the tab content are retrieved via Ajax.Updater from the server? When you fire off multiple XHR requests, you have no guarantee of the order in which they'll complete. Even if the server normally responds to one of them instantaneously and the other only afte

[Proto-Scripty] Re: Problem with Effect.Move, Overflow:hidden and IE7

2008-12-08 Thread Dan Tudor
I just had the same issue and I think if you give the wrapper div a relative position and a z-index of 100 it will always sit in front of the sliding div and mask the overflow. I'm testing this now with my site so will let you know the outcome. On Nov 6, 3:19 pm, hectorvox <[EMAIL PROTECTED]> wro

[Proto-Scripty] Re: autocomplete variant

2008-12-08 Thread ColinFine
On Dec 8, 3:05 am, macsig <[EMAIL PROTECTED]> wrote: > Hello guys, > I'm trying to implement a variant of the classic autocomplete but I > can't make it works. > Basically what I want is to show for each element that matches with > the written text the element name and a checkbox (having the ele

[Proto-Scripty] Re: which is the right ajax result container in a html table?

2008-12-08 Thread ColinFine
On Dec 5, 2:50 pm, Scrooge <[EMAIL PROTECTED]> wrote: > Hello, > > I have a simple problem for somebody who already dealed with it, but > still after trying for several days, no solution yet: > > I want to use Ajax.Updater to dynamically update single rows of a > table. Furthermore I want to use

[Proto-Scripty] Re: Ajax.Updater Issue

2008-12-08 Thread theQco
T.J. That fixed the issue. It is now properly showing the loading message and then displaying the retrieved data. Thanks! Brian On Dec 8, 3:43 am, "T.J. Crowder" <[EMAIL PROTECTED]> wrote: > Hi, > > So, both the loading message and the tab content are retrieved via > Ajax.Updater from the serv

[Proto-Scripty] Looking for a SOAP class which is compatible with prototype.js

2008-12-08 Thread Richard Quadling
Hi. I'm in the process of moving a lot of the internal sites from straight AJAX (server side using PHP to produce JSON) to SOAP. In the big picture, a lot of the services are going to be used by both the web clients and the GUI clients. So having a sensible interface for both makes my job a lo

[Proto-Scripty] Re: Problem with Effect.Move, Overflow:hidden and IE7

2008-12-08 Thread Dan Tudor
Fixed. Set the outer container div that has the overflow as position:relative with a greater z-index than the inner div div#container { position:relative; z-index:80; height:200px; width:500px; overflow:hidden; } div#inner{ position:relative; z-index:70; height:200px; width:500

[Proto-Scripty] Re: autocomplete variant

2008-12-08 Thread macsig
Thanks Colin for your reply. Your second option sounds exactly what I need. I try to make it works. Have a nice day. On Dec 8, 3:49 am, ColinFine <[EMAIL PROTECTED]> wrote: > On Dec 8, 3:05 am, macsig <[EMAIL PROTECTED]> wrote: > > > Hello guys, > > I'm trying to implement a variant of the

[Proto-Scripty] Hacking Effect.Move - follow cursor?

2008-12-08 Thread Diodeus
I am using Effect.Move to slide some graphic down the height of the screen. I would like to be able to manipulate the x-position of the item after it gets below a certain y-position to follow the mouse cursor. What happens is I get this pulsating effect, where it follows the cursor, then Effect.M

[Proto-Scripty] Ajax.InPlaceEditor value needs to be part of the URL

2008-12-08 Thread Russell
I am using the CodeIgniter framework for PHP and need the value from my InPlaceEditor to pass as a straight value (i.e. /something) instaed of the way it does now (?value=something) var editor = new Ajax.InPlaceEditor('user', '/index.php/app/ updateUserJob.php/empNum

[Proto-Scripty] Re: autocomplete variant

2008-12-08 Thread macsig
Hello, I have an issue with Ajax.updater. Since I'm a prototype newbie I guess it is something easily solvable. Basically I don't understand what I have to put as url. In any example I can find on prototype website they show '/some_url' without specifying its meaning. Since my app is a Rails one

[Proto-Scripty] Re: Event.observe not working when called within class

2008-12-08 Thread mocambo
On Dec 4, 7:46 pm, Kyrus <[EMAIL PROTECTED]> wrote: > I have a prototype class that shows a div and resizes it to the size > of the client browser. What I would like to happen when the div is > shown is to attach an event that listens to the window and resizes/ > moves the div if the client resi

[Proto-Scripty] Refrence to returned hash values

2008-12-08 Thread Techno~
I am trying to access a value that is returned via the $H.toJSON method. However, my alerts keeps saying that it is undefined. Any pointers gratefully received code var Feedback = Class.create({ initialize: function() { this.offSet = this.getOffsets();

[Proto-Scripty] hints appreciated

2008-12-08 Thread [EMAIL PROTECTED]
I am new to prototype, so I guess this must be a common question. It is difficult to explain and also difficult to search for. I start with the code - it should later become a javascript shopping cart: function purchase() { // get product