2009-02-13, 03:35 AM
(This post was last modified: 2011-11-27, 02:17 PM by aglioeolio.)
Quote:April 2011 - Developers @ Audentio.com managed this nonconflict code to a plugin to painless insert Jquery + plugins in mybb 1.6:
http://mods.mybb.com/view/jsnippets
http://community.mybb.com/thread-85031.html
No Need to edit any template after installing it
Original post (2009)
http://dev.jquery.com/wiki/PrototypeAndJQuery
Generic example:
<script src="http://jquery.com/src/latest/"></script>
<script type="text/javascript">
JQ = $; //rename $ function
</script>
<script src="prototype.js"></script>
with Dynamic Drive Smooth Menu
Ungrouped Templates > headerinclude
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript">
JQ = $; //rename $ function
</script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js"></script>
.
.
<script type="text/javascript" src="ddsmoothmenu.js">
Link to this menu Code (javascript non-obtrusive):
http://www.dynamicdrive.com/dynamicindex...u.htm#ajax
This is an easy solution, but I don´t realize it´s related with mybb side (Prototype)...
if you don´t use this trick your popup (smilies) and Editor won´t work at all