[Proto-Scripty] Re: Ajax.InPlaceEditor dynamically geneate item id?

2008-12-22 Thread Matt Andrews
file that you're going to use. -- Calvin Lai Business Developmenthttp://dealspl.us On Mon, Dec 22, 2008 at 1:07 AM, Matt Andrews mattpointbl...@gmail.comwrote: You could just make your code into a function and pass the same php variable as the parameter: function newInPlaceEditor

[Proto-Scripty] Sortable list - dynamic numbering?

2008-12-17 Thread Matt Andrews
Hi everyone, I've made a fairly basic Sortable - it's two lists and you can drag elements from one list to the (initially blank) second. My issue is that I want the second list to auto number itself as you add to it, eg, if you drag an element to the top of it, it's prefixed with a #1, or if

[Proto-Scripty] Re: testing whether all elements in a div have a certain class

2008-11-10 Thread Matt Andrews
if they are more than or equal to 3 if(($complete) ($complete=3) { do_something(); } is this correct so far .. Sorry i am having trouble deciphering what you want to achieve Alex - Original Message - From: Matt Andrews [EMAIL PROTECTED] To: Prototype script.aculo.us prototype

[Proto-Scripty] Re: testing whether all elements in a div have a certain class

2008-11-07 Thread Matt Andrews
Can anyone help? I'm really close to solving this, I just need someone with a better grasp of Javascript to prod me in the right direction... On Nov 3, 9:51 am, Matt [EMAIL PROTECTED] wrote: On Nov 1, 4:38 pm, Jarkko Laine [EMAIL PROTECTED] wrote: 1) your alerting with a string bar there.