Claus Stachl
2008-Apr-17 15:48 UTC
link_to method doesn''t work with shared css/javascript class
<script>
ddaccordion.init({
headerclass: "expandable",
.....
</script
<li class="expandable"><%= link_to "institut",
{:controller => "news"}
%></li>
...at first I want to say that I''m pretty new in ruby ... may u are
able
to help me:
i have an accordion navigation and the headers, which should expand on
click, should link to my different sites.everything works fine, however,
when the link_to method is nested in a tag where my shared css class,
which javascript uses do locate my expandable headers, appears, the link
doesn''t work any longer.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
