If you're doing it in javascript, you need to be attaching a function
reference. (I also seem to recall some browsers handling the case
differently. Use lowercase, not camel case.)
$('mainTable).onclick = function () {
new Effect.Appear('mainTable');
}
OR
Event.Observe('mainTable', 'click', function () {
new Effect.Appear('mainTable');
});
TAG
On Jul 12, 2007, at 9:10 AM, lb wrote:
>
> Hello everyone,
> Basically I just want to make my DIV (mainTable) have the "Appear"
> effect. Once I can actually see how to do this on the DIV with a
> proper code, I am sure I can pickup on it. I'd appreciate any help!
>
> PS - I've used the help page; I did the javascript header and applied
> the onClick="new Effect.Appear('mainTable'), but returned nothing.
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---