Need help with possible jquery confliction? (prosilver)

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
Locked
messiahcide
Registered User
Posts: 11
Joined: Sat Jun 15, 2013 2:48 am

Need help with possible jquery confliction? (prosilver)

Post by messiahcide »

Hello all,

I'm currently working on my site's forum (http://darkreign.org/forum/) and I ran into a bit of a snag while trying to implement collapsing categories. I first tried the method shown http://www.christianbullock.com/2011/ph ... th-cookies
but it didn't work. Later, I tried to mimick the Absolution theme.

I realize I -may- have a conflict going on with Jquery, or doing something wrong all together. If anyone can point me in the right direction I would appreciate the help! :D
User avatar
pit-PL
Registered User
Posts: 3096
Joined: Sat Nov 21, 2009 12:24 pm

Re: Need help with possible jquery confliction? (prosilver)

Post by pit-PL »

Remove this

Code: Select all

<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<!-- ENDIF -->
from overall_header.html

In forumlist_body.html find

Code: Select all

<!-- IF $COLLAPSIBLE_CATEGORIES -->
    <script type="text/javascript">
    // <![CDATA[
                $(".forumlist").collapse({show: function(){
                        this.animate({
                            opacity: 'toggle',
                            height: 'toggle'
                        }, 300);
                    },
                    hide : function() {
                        this.animate({
                            opacity: 'toggle',
                            height: 'toggle'
                        }, 300);
                    }
                });
    // ]]>
    </script>
<!-- ENDIF -->
remove <!-- IF $COLLAPSIBLE_CATEGORIES --> and <!-- ENDIF -->
messiahcide
Registered User
Posts: 11
Joined: Sat Jun 15, 2013 2:48 am

Re: Need help with possible jquery confliction? (prosilver)

Post by messiahcide »

That did the trick! Thank you very much!
Locked

Return to “[3.0.x] Styles Support & Discussion”