[Proto-Scripty] Ajax.Autocompleter

2010-06-29 Thread maxarbos
Hello, I am trying to use Autocompleter to search through different tables. Hardcoding a specific table returns expected results from that table, so the script is working as expected. What i want to do is, use a select box with an 'onchange' event that passes the chosen value to the Ajax.Autocomp

Re: [Proto-Scripty] Ajax.Autocompleter

2010-06-29 Thread Alex McAuley
you need to return the value in realt time ... for example in the auto completer 'the_select_box_value' : function () {return $('the-select-box-id').value()}, Hope this helps Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "maxarbos" To: "Prototype & s

[Proto-Scripty] Re: Ajax.Autocompleter

2010-06-29 Thread maxarbos
That is what my funciton : onchange="startAutocomplete(this)" is doing, the issue is that the parameters option was not changing on submission even though if i ran tests to view the value after the 'onchange' , the new value was there. I found the callback function and used that with some help fro

[Proto-Scripty] Need an enhanced type control.

2010-06-29 Thread Richard Quadling
Hi. I'm looking for an alternative to a box which allows for checkboxes against a table of items. Ideally, I'd like it to look like a select tag that is seen on IE and FireFox (a droplist), that, when you click to expand the list, you get the bigger page of items with checkboxes and an accept/re

Re: [Proto-Scripty] Re: Ajax.Autocompleter

2010-06-29 Thread Alex McAuley
All you needed to do was query the value of the select box each time the AutoCompleter was triggered - the psudeo code I provided does just that ;) Good luck Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "maxarbos" To: "Prototype & script.aculo.us" Sent: T

Re: [Proto-Scripty] Need an enhanced type control.

2010-06-29 Thread Alex McAuley
I tackled a similar problem with checkboxes and a fixed height size div containing them... My list is 200+ checkboxes with labels and only 5 or so are displayed until you scroll perhaps somehting like this ? Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "R

Re: [Proto-Scripty] Need an enhanced type control.

2010-06-29 Thread Richard Quadling
On 29 June 2010 15:37, Alex McAuley wrote: > I tackled a similar problem with checkboxes and a fixed height size div > containing them... > > My list is 200+ checkboxes with labels and only 5 or so are displayed until > you scroll > > perhaps somehting like this ? > > > Alex Mcauley > http://www.t

Re: [Proto-Scripty] Need an enhanced type control.

2010-06-29 Thread Alex McAuley
Here is a link of what it looks like as a screeny... http://www.thevacancymarket.com/resources/includes/images/help/employer/Employer-Register-Part1.png Look to the "Recruiting In" bit... (that example has a fixed width too but you dont need one - was for styling only) Or here is a link of wh

[Proto-Scripty] Re: Ajax.Autocompleter

2010-06-29 Thread maxarbos
I'm not really following where this is to be used. Within the Ajax.Autocompleter, there are a number of options that i could set, one of them was 'parameters' Where would your code be placed? Also, i wanted the text box to be cleared each time the select was changed, that is another reason for the

Re: [Proto-Scripty] Need an enhanced type control.

2010-06-29 Thread Richard Quadling
On 29 June 2010 15:43, Alex McAuley wrote: > Here is a link of what it looks like as a screeny... > > http://www.thevacancymarket.com/resources/includes/images/help/employer/Employer-Register-Part1.png > > Look to the "Recruiting In" bit... (that example has a fixed width too but > you dont need o

[Proto-Scripty] Opacity flickering problem

2010-06-29 Thread mkraai
Hello, Test version here: http://www.vi-devel.nl/caroussel/caroussel.html Description: content block with five articles loaded from a xml file, mouseOver on each of the images will fade in a bigger picture on the left side of the block. It's important that more then two images are able to change

Re: [Proto-Scripty] Re: Ajax.Autocompleter

2010-06-29 Thread Alex McAuley
I have never used the AutoCompleter so I am assuming that when the auto completer sends its data to the server that something in POST or GET is "sid" on the other end The function... function startAutocomplete(obj) { var blah = $("the-selectbox").value(); // add this ac.options.parameters=

[Proto-Scripty] Re: Ajax.Autocompleter

2010-06-29 Thread maxarbos
Oh ok.Yes, i was doing pretty much the same thing. The issue was that the Autocompleter never received the actual value before it submitted for use. The parameter was changed, but with the way it runs, it still always only submitted the orginally set value. this is where the 'callback' function com

Re: [Proto-Scripty] Need an enhanced type control.

2010-06-29 Thread Alex McAuley
Of course!!... You will have to port the jQuery into prototype but it shouldnt be that hard ... Let me know if you want an uncompressed version of it... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Richard Quadling" To: Sent: Tuesday, June 29, 2010 4:0