FYI, Zane's emailed me privately about this. I don't think he wrote the code and in fact I don't think he's a scripting guy at all -- he offered to pay me to sort out whatever the thing is, before going offline (I'm guessing to bed; he's in Australia, I think). I gave him some further code (and rate info if we really wants me to just sort it out :-) ). So I wouldn't bother spending more time on this thread.
Anyone know what happened to all of his messages, though? They've disappeared from the web display. I asked him about it, since other than one of the moderators or Google, he's the only one who can delete his messages, but he didn't say anything about it although he replied to something else. I just find it odd that his messages disappeared. -- T.J. :-) On May 11, 12:38 pm, Walter Lee Davis <wa...@wdstudio.com> wrote: > Are these DIVs contained by a parent? Or have you (can you) apply a > single unique class to them? If so, you can treat them as an > enumerable collection using the "double dollar" or select functions. > > $$('div.someclass')... > $('parentdiv').select('div')... > > Both of those return an array of extended objects which you can plug > right in to Matt's snippet. > > Walter > > On May 10, 2009, at 7:18 PM, z...@zanepaul.com.au wrote: > > > However it is not for a menu as such, but for a DIV tag that I just > > want to be highlighted when you click on it. There are 5 div boxes in > > a row so when you click one the previous box will not be active or the > > class will change to inactive. > > > I will keep reading as TJ suggested and see if I can work out the code > > myself. > > --~--~---------~--~----~------------~-------~--~----~ 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, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---