link_to method doesn't work with shared css/javascript class

C

Claus Stachl

<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.

i hope u can help me! thanx
 
P

Phillip Gawlowski

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Claus Stachl wrote:

| i hope u can help me! thanx

Rails questions are better asked to the Rails guys:

http://rubyonrails.org/community

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan

Ytterby, Sweden begat 4 elements: Yttrium, Ytterbium, Terbium, Erbium
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgHb+MACgkQbtAgaoJTgL8gOACfQkGS0tygBr2klE6wMBIghbuS
DaIAoJaDv0xco0byOopOI0XqhXDUA30U
=Mkv3
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,261
Messages
2,571,308
Members
47,968
Latest member
SerenaRusc

Latest Threads

Top