[Proto-Scripty] Effect.Morph query

2009-07-28 Thread Andrew Dodd
Hi I page with multiple elements each of which are highlighted (individually) onclick. I would like the morph effect to be removed from the previous element when a new one is clicked (highlighted). I won't know what the id of the previous element was though, is there a way to achieve this?

[Proto-Scripty] Re: Effect.Morph query

2009-07-30 Thread Andrew Dodd
Daykin daykina...@gmail.com wrote: Why don't you use an array to store all of the elements that have been clicked and treat it like a queue? -- From: Andrew Dodd a...@slicethepie.com Sent: Tuesday, July 28, 2009 7:02 AM To: Prototype

[Proto-Scripty] Re: Effect.Morph query

2009-07-30 Thread Andrew Dodd
Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, July 30, 2009 10:23 AM Subject: [Proto-Scripty] Re: Effect.Morph query I'm not really sure how to, I've been messing with it for a couple of days

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
...@thecarmarketplace.com wrote: Can you give an example of your code in a pastebin and i will ammend it to do what it needs to. Regards Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
- Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 9:54 AM Subject: [Proto-Scripty] Re: Effect.Morph query Hi Thanks for the help, I tried the above in  a clean page but I can't

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
onclick! Anything else just let me/the group know Regards Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 10:59 AM Subject: [Proto

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
- From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 12:13 PM Subject: [Proto-Scripty] Re: Effect.Morph query I do have another question. The list of elements is loaded with ajax, I think

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
above You will want to check it and replace your code with it if you are happy. Regards Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
above You will want to check it and replace your code with it if you are happy. Regards Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
- From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 2:26 PM Subject: [Proto-Scripty] Re: Effect.Morph query Wicked. I've edited it and think it's ok. the params are being passed as null though. Here is your

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
- Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 2:41 PM Subject: [Proto-Scripty] Re: Effect.Morph query The values are taken from a few diferrent places but Melody, Rating

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
. Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 4:04 PM Subject: [Proto-Scripty] Re: Effect.Morph query No need to apologise

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
I added initMorph(), to the onClick event just as a test and firebug reported initMorph is undefined (not sure if it should do that) On Jul 31, 4:19 pm, Andrew Dodd a...@slicethepie.com wrote: Changed tr class=$class id=\$row[TrackID]\ to tr class=\$class\ id=\$row[TrackID]\ but it still

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Sorry, it's initMorphing(); (my turn for a typo) and that highlights the row but the previous selction doesn't turn off. Cheers Andy On Jul 31, 4:19 pm, Andrew Dodd a...@slicethepie.com wrote: Changed tr class=$class id=\$row[TrackID]\ to tr class=\$class\ id=\$row[TrackID]\ but it still

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 4:19 PM Subject: [Proto-Scripty] Re: Effect.Morph query Changed tr class=$class id=\$row[TrackID]\ to tr class