On 29 August 2012 22:11, Axel Aguilar <lists@ruby-forum.com> wrote:
> thanks for answer (so fast!)
>
> now I have this in the layout file:
>
> <%= stylesheet_link_tag 'application', :media => "all" %>
> <%= javascript_include_tag 'application', :media => "all" %>
> <%= csrf_meta_tags %>
>
> also tryied:
>
> <%= stylesheet_link_tag 'application', :media => "all" %>
> <%= javascript_include_tag 'application' %>
> <%= csrf_meta_tags %>
>
>
> and in application file:
>
> //= require jquery
> //= require jquery_ujs
> //= require_tree .
>
>
> this time all is correct? :)
>
> I saw the source code of the generated page, and there are all the css
> and js, and something like the dropdown nav works, but the slide not...
I think you are saying that all the js is included in the page ok when
you look at the html but the js is not working correctly. In which
case you obviously have a problem with the js (not rails). First copy
and paste the complete html of the page into the w3c html validator to
check for any problems there and then try it with firebug in firefox
and see if it throws up any errors.
Colin
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment