On Nov 16, 2011, at 4:42 PM, shellster wrote:
> First thing is that you aren't passing the right arguments to
> setStyle. Second, you should be using the Javascript css attribute
> format, and not the style sheet version.
There's actually two, equally valid, ways to do this. As you have written it,
with a hash, and passing a string, where you actually do want to use the
stylesheet format:
ary.invoke.('setStyle','border-right:none');
Walter
> Finally, I recommend setting
> the border to "none":
>
> $$(".category-silo ul > li:nth-child(4n+4)").invoke("setStyle",
> {borderRight: 'none'});
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.