jquery and prototype both uses $ so they conflict each other. Jquery has a
way around it. Try adding the following lines after you include jquery and
the jquery library you're going to use.

var $j = jQuery.noConflict();

so this means that you would use $j instead of $ when you want to access
jquery methods.

On Tue, Sep 21, 2010 at 2:54 AM, SS <[email protected]> wrote:

> Hello,
> I'm having trouble with CommunityEngine (CE) plugin when including a
> new javascript file in my application.html.haml. The following is the
> code I added to the application.html.haml and when I did, the top-
> right drop-down navigation menu of my website totally got messed up.
>
> <!-- application.html.haml new line of code-->
>
>  = javascript_include_tag  'http://ajax.googleapis.com/ajax/libs/
> jquery/1.4.2/jquery.min.js'
>
> <!-- end new code-->
>
> By 'messed up' I mean the main menu is no long a drop down list in the
> top-right corner, as by initial CE design, but the menu is now
> displayed as individual links on the top-left side instead. I don't
> know how to fix the conflict that my new included library is having
> with CE plugin.
>
> Please help.
>
> Thanks,
> SS
>
> P.S: The javascript library is to incorporate PandaStream video
> encoding plugin.
>
> --
> You received this message because you are subscribed to the Google Groups
> "CommunityEngine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<communityengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/communityengine?hl=en.
>
>


-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to