[Proto-Scripty] Re: Strange behaviour with drag and drop

2009-09-14 Thread Erwann
Hi, I've found the solution, by adding z-index : 500 to the .list css class On Sep 10, 4:12 pm, Erwann erwann.pencre...@ch-chaumont.fr wrote: Hi, In the following source code, I might have done something wrong but I can't find where. What is wrong ? try moving boxes from column 1 and 3 in

[Proto-Scripty] Re: Strange behaviour with drag and drop

2009-09-14 Thread Erwann
sorrry z-index added to .person, not to .list On 14 sep, 09:19, Erwann erwann.pencre...@ch-chaumont.fr wrote: Hi, I've found the solution, by adding z-index : 500 to the .list css class On Sep 10, 4:12 pm, Erwann erwann.pencre...@ch-chaumont.fr wrote: Hi, In the following source code,

[Proto-Scripty] Re: How do I pass other parameters to Autocompleter?

2009-09-14 Thread Alex McAuley
parameters : { id : myid } Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Paul G pggiff...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, September 11, 2009 11:18 PM Subject: [Proto-Scripty] How do I pass other

[Proto-Scripty] Prototype and Xhtml validation

2009-09-14 Thread Alex Mcauley
Good morning peoples!.. Perhaps not totally on topic but prototype related nontheless I was just validating my site using http://validator.w3.org to which i got 1767 errors. Most of these errors pertain to javascript inside prototype - for example... Line 26, Column 67: character amp; is the

[Proto-Scripty] Re: Prototype and Xhtml validation

2009-09-14 Thread Alex McAuley
Never mind!... I found the answer ... Incase anyone was wondering and didnt do it you need to wrap your javascript in script src=... type=... ![CDATA[ var foo='bar'; ]] /script Perhaps i am possibly the only person on the planet who didnt know this! Alex Mcauley

[Proto-Scripty] Re: Prototype and Xhtml validation

2009-09-14 Thread Szymon Wilkołazki
Alex McAuley pisze: I am not trying to validate javascript with the validator lol... My page includes it .. and having src=. is bad coding practise due to parralell downloads ... i munge all the javascript together into one script and compress it all before output - this is not the

[Proto-Scripty] Re: working with google maps and onComplete

2009-09-14 Thread david
Hi Mark, as you don't want a timer to delay the hide of the querying ... text (I suppose, but you did not finish the sentence) one thought: test inside GGMap div the number of pin image inserted, as you know the total number of answers, you could remove your text when all images are in the DOM.

[Proto-Scripty] Re: Prototype code working on all elements in FF and Chrome, but only first element in IE

2009-09-14 Thread david
Hi Austin, if the page is not visible, could you send some portion of code, like HTML and JS. Because, it could be so many things ! btw, I had such a problem with multiples elements with identical ID. -- david On 11 sep, 11:04, Austin austinhu...@gmail.com wrote: I'm working on a search

[Proto-Scripty] Re: checkboxes

2009-09-14 Thread Alex McAuley
I use... $$('.class').each(function(element) { if(element.checked==true) { // do somehting with the element or its value } }); there might be a better way Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Richard Quadling rquadl...@googlemail.com To:

[Proto-Scripty] Re: How do I pass other parameters to Autocompleter?

2009-09-14 Thread Alex McAuley
Then you need to do something like 'id='+$('theelement').getValue(); Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Paul G pggiff...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Monday, September 14, 2009 4:40 PM

[Proto-Scripty] Re: working with google maps and onComplete

2009-09-14 Thread ColinFine
On Sep 11, 3:33 pm, wilkinsmd wilkin...@hotmail.com wrote: Hi, I'm new to prototype.js and have a question. Now here's my issue:  Utilizing prototype.js, I use ajax.request to call the perl script, and use onComplete to turn off the Querying... message.  But at the time when it turns

[Proto-Scripty] checkboxes

2009-09-14 Thread Russell Keith
I have the following code that works just fine. I can't figure out how to tell how many check boxes are checked. I want to limit it to four check boxes. Any help would be appreciated, or even a point in the right direction. $$('input.check').each(function(elem){ elem.observe('click',

[Proto-Scripty] Re: how merge two json objects?

2009-09-14 Thread Miguel Beltran R.
Thanks to both #Mangus and #Alexander Use Object.extend look so easy, what I not believe myself haha 2009/9/12 Alexander Wallace alexmlwall...@gmail.com var object1 = { foo : bar }; var object 2 = { baz : moof }; Object.extend(object1, object2); Object.extend returns the new object1,