Hmm, strange – do you get some sort of javascript error?
/Lasse
2010/3/26 Chris Kalaboukis <lists@ruby-forum.com>
Lasse Bunk wrote:Hi Lasse:
> Your noConflict solution is *almost* right. There is an error in that
> you
> call jquery (with lower case 'q') instead of jQuery (with upper case
> 'Q').
> This is probably also the reason why the rest of your javascripts /
> Prototype helpers stop working.
>
> Try editing it like so:
>
> <script type="text/javascript" charset="utf-8">
> jQuery.noConflict();
> jQuery(document).ready(function() {
> jQuery("a[rel^='prettyPhoto']").prettyPhoto();
> });
> </script>
>
> Does it work then?
>
> /Lasse
>
> 2010/3/26 Chris Kalaboukis <lists@ruby-forum.com>
Thanks for the tip. I made that change but my prototype helpers are
still hosed. Is there something in the order of the libraries?
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment