Juan Mercedes
2013-Feb-02 19:07 UTC
How to set css styles with variables in rails if certain item is selected?
I''m doing the Ryan Bates Sortable Table Columns screencast If the item is a table and I want to a style if the item is selected how can I do it? Attachments: http://www.ruby-forum.com/attachment/8101/sortable.txt -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Robert Walker
2013-Feb-03 17:51 UTC
Re: How to set css styles with variables in rails if certain item is selected?
Juan Mercedes wrote in post #1094911:> I''m doing the Ryan Bates Sortable Table Columns screencast > > If the item is inside a th tag and I want to a style if the item is > selected > how > can I do it?I have attached a quick demo that might help get you started... Attachments: http://www.ruby-forum.com/attachment/8103/index.html -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.