Does the link_to do this or is it a style setting on the li? Or perhaps
it''s
a style setting on your link? Links are transparent by default.
On Dec 20, 2007 4:03 AM, gemblon (t.b.)
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
>
> I can make menu''s using css and html. This works great:
>
> <ul>
> <$ loop n times >
> <li><a href="<%=
menuhash[:href]%>"><span><%>
menuhash[:name]%></span></a></li>
> <$ end loop >
> </ul>
>
> Then I decided to try a link_to, and eventually do some link_to_remote
> calls.
>
> I tried this:
>
> <li> <%= link_to menuhash[:name], :action => menuhash[:action]
%></li>
>
> and it works but whites out the graphic behind it in the back ground,
> where the text overlays in the horizontal tab menu.
>
> anybody got any idea''s? help? thanks.
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
Ryan Bigg
http://www.frozenplague.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---