[Proto-Scripty] Re: Forms

2009-10-29 Thread Kevin Smith
You need to give the input tags an id, as follows: form name=createPDF action=/pdf/pdf_process.php method=POST input type=hidden id=A_NAME name=A_NAME value=John / input type=hidden id=APPLY_DATE name=APPLY_DATE value=?=date(m/d/Y)? / input type=hidden id=A_BIRTH_DATE name=A_BIRTH_DATE

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Kevin Porter
. As you say, up() is much more appropriate in this case. -- david On 17 sep, 10:38, Kevin Porter k...@9ballpool.co.uk wrote: HiJuan, For me, I get the error at e2.childElements()[2].setStyle e2 at that point is the body element. Is that what you want

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Kevin Porter
=lista_dernbsp/div I want display my message in lista_der. So that is why i use all those up(), i guess I can use 4 up and one next. On Sep 21, 3:50 am, Kevin Porter k...@9ballpool.co.uk wrote: First things first - you've got four up()s in a row, which is likely to return you the document

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-17 Thread Kevin Porter
].childElements()[0]; with a FOR loop. -- Kevin Porter Advanced Web Construction Ltd http://webutils.co.uk http://billiardsearch.net http://9ballpool.co.uk AJAX Blackjack - real-time multi-player blackjack game with no flash, java or software downloads required - http

[Proto-Scripty] Re: Prototype new element method get_css_attributes

2009-08-30 Thread Kevin Porter
Forgot to mention I moved the '-' to after the '_' in the character class. If you use a '-' in a character class it should be the last character (to avoid ambiguity because of it's special meaning inside a character class). regards, - Kev Marko Zabcic wrote: On 29 kol, 21:55, Kevin Porter

[Proto-Scripty] Re: Prototype new element method get_css_attributes

2009-08-29 Thread Kevin Porter
to optimize/shorten regex. Thanks, Marko -- Kevin Porter Advanced Web Construction Ltd http://webutils.co.uk http://billiardsearch.net http://9ballpool.co.uk AJAX Blackjack - real-time multi-player blackjack game with no flash, java or software downloads required - http

[Proto-Scripty] Re: $H need help

2009-08-26 Thread Kevin Porter
(h.update ({ input.id: input.getValue(), });)? (IE objects to that, rightly, but Firefox is more forgiving). -- Kevin Porter Advanced Web Construction Ltd http://webutils.co.uk http://billiardsearch.net http://9ballpool.co.uk AJAX Blackjack - real-time multi-player blackjack game

[Proto-Scripty] Re: ajax.request routine fails in IE

2009-08-25 Thread Kevin Porter
not render any result at all. -- Kevin Porter Advanced Web Construction Ltd http://webutils.co.uk http://billiardsearch.net http://9ballpool.co.uk AJAX Blackjack - real-time multi

[Proto-Scripty] Re: $H need help

2009-08-25 Thread Kevin Porter
is generated how can I add an element to a hash which key is an input.id and value is an input.getValue()? Thanks -- Kevin Porter Advanced Web Construction Ltd http://webutils.co.uk http://billiardsearch.net http://9ballpool.co.uk AJAX Blackjack - real-time multi-player blackjack game

[Proto-Scripty] can I get a list of event listeners on an element?

2009-08-25 Thread Kevin Porter
advise against using .onclick, .onmouseover etc. If prototype doesn't provide a way to do this, is there a bare JS way to do it (ie to get a list of events that were registered with addEventListener)? I googled but couldn't find this. regards, - Kev -- Kevin Porter Advanced Web Construction

[Proto-Scripty] Re: $H need help

2009-08-25 Thread Kevin Porter
What do you mean by 'some pairs'? Looks like set() is what you want. What do you want your hash to look like before and after? - Kev buda wrote: Sorry for not full description of my task - I need to add some pairs to a hash - so set() doesnt hepl me :( On 26 авг, 01:18, Kevin Porter k

[Proto-Scripty] Re: this keyword inside of the map function

2009-08-19 Thread Kevin Porter
I am not positive, but I believe the problem is from my event listeners on the line: Now: $(e).observe('click', *this*.doSlide.bind(featuresWrapper[i].id)); You need to pass 'this' as the first argument to bind(). regards, - Kev -- Kevin Porter Advanced Web Construction Ltd http

[Proto-Scripty] Re: Observing a checkbox

2009-08-18 Thread Kevin Porter
-onchange) is The onchange event occurs when a control loses the input focus and its value has been modified since gaining focus. -- Kevin Porter Advanced Web Construction Ltd http://webutils.co.uk http://billiardsearch.net http://9ballpool.co.uk AJAX Blackjack - real-time multi-player

[Proto-Scripty] Limit depth of Sortable Tree

2009-07-08 Thread Kevin
and droppables is all done when calling Sortable.create, I'm not sure how I can modify the options for individual elements. Any ideas? Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group

[Proto-Scripty] Sortable is undefined

2009-07-07 Thread kevin
=http://script.aculo.us/ scriptaculous.js/script then the script runs correctly. Thoughts? Kevin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email

[Proto-Scripty] Re: Sortable is undefined

2009-07-07 Thread kevin
It doesn't seem to matter if I'm using relative or absolute paths. I know the file is being included as I can put an alert which comes up on the page load. Kevin On Jul 7, 10:06 am, Narendra sisodiya naren.sisod...@gmail.com wrote: I think your src url is not valid. check the same

[Proto-Scripty] Re: Download page via prototype. with making all scripts on page. Help with code.

2009-03-12 Thread kevin
', onFailure: reportError, evalScripts: true}); That bit is all right (though a bit pointless): as an alternative to an element, Ajax.Updater will accept an object with keys 'success' and 'failure'. But I could not understand at all what Kevin was trying to do. Colin

[Proto-Scripty] Download page via prototype. with making all scripts on page. Help with code.

2009-03-10 Thread kevin
i need to enter to the page with making all scripts on it. so i need to download it via seeds (hhtp headers). and make all scripts. how can i do it? i thought via Ajax.Update i can do it. but something is wrong. i don't know what to do with parameters. because i need to download all page. script

[Proto-Scripty] Re: grabbing form values from multiple pages.

2009-02-04 Thread Kevin Smith
Seeing as your using AJAX, why even bother with more than one page. You can do everything on one page. Richard Quadling wrote: 2009/2/4 Richard Quadling rquadl...@googlemail.com: 2009/2/4 david david.brill...@gmail.com: Hi sqaured, It seems, that you only transmit the value of the

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-30 Thread Kevin King
I second the recommendation on the book. Excellent resource! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to

[Proto-Scripty] IE7 crashes with ghosting enabled on Draggable

2008-09-25 Thread Kevin King
I am reasonably new to Prototype and script.aculo.us but I have a project where dragging and dropping are crucial elements of the solution. Ghosting would make the drag-n-drop even better, but on IE7 everything I've tried - including the samples - generates Object does not support this action

[Proto-Scripty] Re: IE7 crashes with ghosting enabled on Draggable

2008-09-25 Thread Kevin King
Crap.. I've extended the containers via Element.extend() and IE7 still crashes with any ghosting: true on Draggables. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to