Re: [Proto-Scripty] Need Help Urgently

2010-05-25 Thread Marko
Hi, You probably need to initialize droppable after ajax update. - Marko On 25.05.2010 05:19, smalt wrote: Hello, Could you help me how could I use drag and drop function in different pages? The left div is show the list of draggable and the right div can be dropped the objects from left

[Proto-Scripty] Re: .select on a combo

2009-09-28 Thread Marko
Hi again :-) I forgot to mention that your code works in FF 3.0, and not 3.5. Sorry my mistake. Have you tried my code on pastie? It will return you option element on change. - Marko speedpac...@gmail.com wrote: Hi Marko, Thanks again for this. I'm starting to lose my faith here

[Proto-Scripty] Re: .select on a combo

2009-09-28 Thread Marko
option element. So use it instead of your old code. Marko speedpac...@gmail.com wrote: OMG - I have been tesing on 3.5 for ages now LOL How did you find out? Is there gonna be a patch soon? How can I go around this? Your code doesn't work on 3.5 either, does it? David. On 28 sep, 17:19

[Proto-Scripty] Re: .select on a combo

2009-09-28 Thread Marko
No problem. I'm glad I have helped you. speedpac...@gmail.com wrote: My hero! Let's hope prototype just creates function to get the option from a combo :) Thanks so much for this - it drove me MAD! On 28 sep, 17:28, Marko gm.ma...@gmail.com wrote: I have both 3.0 and 3.5

[Proto-Scripty] Re: .select on a combo

2009-09-21 Thread Marko
Hi, Before you go totally crazy please create self-contained-test-page http://proto-scripty.wikidot.com/self-contained-test-pageand I will return you working version. - Marko speedpac...@gmail.com wrote: Hi again! Thanks for the feedback. It's very much appreciated! (what would we all do

[Proto-Scripty] Re: .select on a combo

2009-09-18 Thread Marko
: selectedItem.split(|) You can also rewrite your selects like this: Instead of: td f=prepaid write just: td class=prepaid tdPrepaid = rec[0].select('[f=prepaid]'); = tdPrepaid = rec[0].select('.prepaid'); This way you will preserve valid HTML I think you get idea how to rewrite it. - Marko

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread Marko
to put it on the bottom. - Marko david wrote: Hi Javier, Alex answer is good, an I will follow his way. But it depend on a few things: - internet / intranet: meaning if response time to load JS files could be long, you should have as your collegue says an amount of time where your

[Proto-Scripty] Re: Highlighting text box makes it look like Windows 95

2009-09-15 Thread Marko
effect it will not break Marko JoJo wrote: I tried your writeAttribute method. In Firebug's HTML tab, I witnessed the style attribute being removed, but visually, I did not SEE it being removed. The input box only went back to normal after I rolled over it with my mouse. On Sep 12, 6:08 am

[Proto-Scripty] Re: Highlighting text box makes it look like Windows 95

2009-09-12 Thread Marko
Maybe you should try this: $('feedbackName')|.writeAttribute(style, null)| It will remove style attribute from element. Marko Alex McAuley wrote: setStyle() requires parameters Alex Mcauley http://www.thevacancymarket.com - Original Message - From: JoJo tokyot...@gmail.com

[Proto-Scripty] Re: onChange event when div content changed

2009-09-03 Thread Marko Zabcic
You could use prototype custom events. See example here: http://jsbin.com/ayiku But you will have to fire function manually after update or override default Element.update function to do it for you. Marko On Sep 2, 7:30 pm, Hipnotik pork...@gmail.com wrote: Thanks Walter! I would like

[Proto-Scripty] Prototype new element method get_css_attributes

2009-08-29 Thread Marko Zabcic
/shorten regex. Thanks, Marko --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group

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

2009-08-29 Thread Marko Zabcic
On 29 kol, 21:55, Kevin Porter k...@9ballpool.co.uk wrote: Very interesting Marko. Passing data via class attribute probably isn't the 'right' thing to do, but I've chosen to do it myself on occasion. Depends on situation and amount of data. I'm using it for tree structure on li element

[Proto-Scripty] Re: Change event do not trigger

2009-04-07 Thread Marko Zabcic
What about this script. I've used it in one project and it works as it should. http://github.com/kangax/protolicious/blob/e5091a8051d57d62ae54bb906b16435fa638d75d/event.simulate.js - Marko On Apr 7, 11:54 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, It worked perfectly but can't we

[Proto-Scripty] Re: Stopping events ..

2009-03-19 Thread Marko Zabcic
You can also do this: $('foo').observe('submit',function(evt){ evt.stop(); //shorter way console.log('bar'); this.submit(); }); On Mar 18, 11:45 pm, Alex Mcauley webmas...@thecarmarketplace.com wrote: There is no exception or error thrown