[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, July 30, 2009 10:42 AM Subject: [Proto-Scripty] Re: Effect.Morph query The code is being echoed in a php script (hence the $row and $class variables but they do translate properly

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
, 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 get it to work, the code as I've implemented it is here: script src='http://pastie.org/566433.js'/script Can you see where I've gone wrong (it's almost definately my

[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 Alex McAuley
script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 10:59 AM Subject: [Proto-Scripty] Re: Effect.Morph query Sorry, forgot to mention I was an idiot :) Thanks very much it works brilliantly On Jul 31, 10:39 am, Alex McAuley webmas...@thecarmarketplace.com wrote: Andy you

[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 9:54 AM Subject: [Proto-Scripty] Re: Effect.Morph query Hi Thanks

[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 Alex McAuley
- From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, July 31, 2009 12:49 PM Subject: [Proto-Scripty] Re: Effect.Morph query I've replaced the script with the new one but I'm struggling with the syntax for including

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
, July 31, 2009 12:49 PM Subject: [Proto-Scripty] Re: Effect.Morph query I've replaced the script with the new one but I'm struggling with the syntax for including the initMorphing function. My AJAX request is posted here: http://pastie.org/566545 I've put the function where I think it should

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
for document.getElementById()... Alex Mcauley http://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 2:26 PM Subject: [Proto-Scripty] Re: Effect.Morph query Wicked. I've

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
, July 31, 2009 12:49 PM Subject: [Proto-Scripty] Re: Effect.Morph query I've replaced the script with the new one but I'm struggling with the syntax for including the initMorphing function. My AJAX request is posted here: http://pastie.org/566545 I've put the function where I think it should

[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 Alex McAuley
, 2009 2:41 PM Subject: [Proto-Scripty] Re: Effect.Morph query The values are taken from a few diferrent places but Melody, Rating, Production and Commerciality are taken from Scriptaculous sliders (so just a hidden input value) The code from the page is: input type='hidden' id='Melody' value

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
: [Proto-Scripty] Re: Effect.Morph query Sorry ANdy Adjust the code form params : {} to parameters Typo - My mistake. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Andrew Dodd a...@slicethepie.com To: Prototype script.aculo.us prototype-scriptaculous

[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 Alex McAuley
Sent: Friday, July 31, 2009 4:04 PM Subject: [Proto-Scripty] Re: Effect.Morph query No need to apologise, you're already being far more helpful than I ever thought possible, I'm even learning stuff :) The request is working now but sadly the morph effect isn't. I've posted all the relevant

[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
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, you're already being far more helpful than I ever thought possible, I'm even learning

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
: Friday, July 31, 2009 4:19 PM Subject: [Proto-Scripty] Re: Effect.Morph query Changed tr class=$class id=\$row[TrackID]\ to tr class=\$class\ id=\$row[TrackID]\ but it still doesn't morph On Jul 31, 4:11 pm, Alex McAuley webmas...@thecarmarketplace.com wrote: You have the PHP echoing out class

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
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, you're already being far more helpful than I ever thought possible, I'm even learning

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
Subject: [Proto-Scripty] Re: Effect.Morph query 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

[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

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
@googlegroups.com Sent: Friday, July 31, 2009 4:37 PM Subject: [Proto-Scripty] Re: Effect.Morph query I think it is because when I was using it with onClick it did highlight the row. On Jul 31, 4:26 pm, Alex McAuley webmas...@thecarmarketplace.com wrote: I'll consult the docs on morph to see if its

[Proto-Scripty] Re: Effect.Morph query

2009-07-30 Thread Andrew Dodd
I'm not really sure how to, I've been messing with it for a couple of days to no avail. I have been trying to use a variable to achieve this so that th onClick does the following in this order: 1./ Reset the morph effect on the lastPlayed element 2./ Apply the morph effect to the clicked

[Proto-Scripty] Re: Effect.Morph query

2009-07-30 Thread Alex McAuley
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 to no avail. I have been trying to use a variable to achieve this so that th onClick does the following in this order: 1./ Reset

[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-30 Thread Alex McAuley
script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday, July 30, 2009 10:42 AM Subject: [Proto-Scripty] Re: Effect.Morph query The code is being echoed in a php script (hence the $row and $class variables but they do translate properly) I've pasted it below: onclick=Effect.morph

[Proto-Scripty] Re: Effect.Morph query

2009-07-28 Thread Andy Daykin
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 script.aculo.us