[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
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" wrote: > I'll consult the docs on morph to see if its compatible with TR

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
uleyhttp://www.thevacancymarket.com > > - Original Message - > From: "Andrew Dodd" > To: "Prototype & script.aculo.us" > Sent: Friday, July 31, 2009 4:19 PM > Subject: [Proto-Scripty] Re: Effect.Morph query > > Changed > to > > but it still doe

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
Onlick is bad ... Is it now in the Event.observe(window wrapper? Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Andrew Dodd" To: "Prototype & script.aculo.us" Sent: Friday, July 31, 2009 4:28 PM Subject: [Proto-Scripty

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
ndrew Dodd" > > To: "Prototype & script.aculo.us" > > 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,

[Proto-Scripty] Re: Effect.Morph query

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

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
" > > To: "Prototype & script.aculo.us" > > 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

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
> > - Original Message - > From: "Andrew Dodd" > To: "Prototype & script.aculo.us" > 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

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
"Alex McAuley" > wrote: > > its not "Request=null" its request=null as the object is assigned to > > "request" at var request=new Ajax > > You should pastebin your whole page it is being called on so i can see > > why > > the elem

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
the code form "params : {}" > >  to > > "parameters" > > Typo -> My mistake. > > Alex Mcauleyhttp://www.thevacancymarket.com > > - Original Message - > From: "Andrew Dodd" > To: "Prototype & script.aculo.us"

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
In that i mean Change "params" to "parameters" ... incase that made no sense!! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Alex McAuley" To: Sent: Friday, July 31, 2009 3:08 PM Subject: [Proto-Scripty] Re: Effect.Morph q

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
are null ... they are taken direct from your code and $() is > merely a shortcut for document.getElementById()... > > Alex Mcauleyhttp://www.thevacancymarket.com > > - Original Message ----- > From: "Andrew Dodd" > To: "Prototype & script.aculo.us" > > Sent

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
shortcut for document.getElementById()... > > Alex Mcauleyhttp://www.thevacancymarket.com > > - Original Message - > From: "Andrew Dodd" > To: "Prototype & script.aculo.us" > Sent: Friday, July 31, 2009 2:26 PM > Subject: [Proto-Scripty] R

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
Morphed variable to null... > > > This should keep the window scope clean and also remove the binding on > > elements that dont exist after an Ajax.Updater. > > > You should call it in the 'onSuccess' part of your ajax > > > something like > > > onSucc

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
erely a shortcut for document.getElementById()... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Andrew Dodd" To: "Prototype & script.aculo.us" 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
Morphed variable to null... > > > This should keep the window scope clean and also remove the binding on > > elements that dont exist after an Ajax.Updater. > > > You should call it in the 'onSuccess' part of your ajax > > > something like > > > onSucc

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
- From: "Andrew Dodd" To: "Prototype & script.aculo.us" 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 the initMorphing function. My

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
> > something like > > onSuccess : function() { >     initMorphing(); > > } > > HTH > > Regards > > Alex Mcauleyhttp://www.thevacancymarket.com > > - Original Message - > From: "Andrew Dodd" > To: "Prototype & script.aculo.us"

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
totype & script.aculo.us" 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 it is properly formed for your script to work but it's here in case you want to check:

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
click! > > Anything else just let me/the group know > > Regards > > Alex Mcauleyhttp://www.thevacancymarket.com > > - Original Message - > From: "Andrew Dodd" > To: "Prototype & script.aculo.us" > Sent: Friday, July 31, 2009 10:59 A

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
ipt.aculo.us" 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" wrote: > Andy you completely disregarded the onclick notes i

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
> - Original Message - > From: "Andrew Dodd" > To: "Prototype & script.aculo.us" > 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 pa

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Alex McAuley
onlick)!! Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "Andrew Dodd" To: "Prototype & script.aculo.us" 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

[Proto-Scripty] Re: Effect.Morph query

2009-07-31 Thread Andrew Dodd
"Andrew Dodd" > To: "Prototype & script.aculo.us" > 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 properl

[Proto-Scripty] Re: Effect.Morph query

2009-07-30 Thread Alex McAuley
mp; script.aculo.us" 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(lastPlayed , {&

[Proto-Scripty] Re: Effect.Morph query

2009-07-30 Thread Andrew Dodd
> Alex Mcauleyhttp://www.thevacancymarket.com > > - Original Message - > From: "Andrew Dodd" > To: "Prototype & script.aculo.us" > Sent: Thursday, July 30, 2009 10:23 AM > Subject: [Proto-Scripty] Re: Effect.Morph query > > I'm not reall

[Proto-Scripty] Re: Effect.Morph query

2009-07-30 Thread Alex McAuley
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 the morph effect on the

[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 eleme

[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" Sent: Tuesday, July 28, 2009 7:02 AM To: "Prototype & script.aculo.us" Subject: [Proto-Scripty] Effect.Morph query >