Not Solved Jquery conflict
#1
Not Solved
Hello there, I released a theme but:
(2010-09-29, 09:27 AM)Anurag Wrote: It looks really good, but I think your jquery for the welcome block is conflicting with mybb as it uses prototype. collapse buttons are no working, editor buttons aren't showing in newthread, new reply.

And he's right. I tried a few changes, but they didn't work! In your opinion how could i fix them? In header_welcomeblock_guest there's this code:


<script src="images/mynic/javascripts/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
        $(document).ready(function() {

            $(".signin").click(function(e) {
                e.preventDefault();
                $("fieldset#signin_menu").toggle();
                $(".signin").toggleClass("menu-open");
            });

            $("fieldset#signin_menu").mouseup(function() {
                return false
            });
            $(document).mouseup(function(e) {
                if($(e.target).parent("a.signin").length==0) {
                    $(".signin").removeClass("menu-open");
                    $("fieldset#signin_menu").hide();
                }
            });            

        });
</script>

I need it to make this work:
[Image: ri6v7c.jpg]

Thanks in advance!
[Image: 2lazl1z.jpg]
My Portfolio (Not updated)
Reply


Messages In This Thread
Jquery conflict - by Trinit - 2010-09-29, 12:16 PM
RE: Jquery conflict - by Tekkie Da - 2010-09-29, 12:21 PM
RE: Jquery conflict - by Trinit - 2010-09-29, 12:37 PM
RE: Jquery conflict - by Tekkie Da - 2010-09-29, 03:16 PM
RE: Jquery conflict - by Damion - 2010-09-29, 07:39 PM
RE: Jquery conflict - by Tekkie Da - 2010-09-29, 08:21 PM
RE: Jquery conflict - by Damion - 2010-09-29, 08:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)