2014-04-05, 06:22 PM
Hello there!
I am having some issues on my site with the jQuery/Javascript cooperating. I have tried searching through topics and on Google, tried some solutions, but I am still unable to resolve the issue.
My problem is that I am having trouble getting all of the scripts working at the same time. When I added the jQuery.noConflict(); the inline moderation and collapse/expand forum categories worked, but the Flexy-menu dropdown menu did not. When I removed the jQuery.noConflict(); after contacting the author of the Flexy-menu code, the inline moderation and collapse/expand forum categories stopped working. Another script, commented as Detach Navigation, works regardless in the presence/absence of jQuery.noConflict();.
Any ideas on how to get them both working at the same time?
Here is my headerinclude template:
A live version of the site can be viewed at: http://ankaa.liorelysia.com/
I am having some issues on my site with the jQuery/Javascript cooperating. I have tried searching through topics and on Google, tried some solutions, but I am still unable to resolve the issue.
My problem is that I am having trouble getting all of the scripts working at the same time. When I added the jQuery.noConflict(); the inline moderation and collapse/expand forum categories worked, but the Flexy-menu dropdown menu did not. When I removed the jQuery.noConflict(); after contacting the author of the Flexy-menu code, the inline moderation and collapse/expand forum categories stopped working. Another script, commented as Detach Navigation, works regardless in the presence/absence of jQuery.noConflict();.
Any ideas on how to get them both working at the same time?
Here is my headerinclude template:
Quote:<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>
{$stylesheets}
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var imagepath = "{$theme['imgdir']}";
// -->
</script>
<!-- FLEXY-MENU CONTENT -->
<link rel="stylesheet" type="text/css" href="css/flexy-menu.css">
<script type="text/javascript" src="js/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="js/flexy-menu.js"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
$(".flexy-menu").flexymenu({
type: 'vertical',
align: 'left',
speed: 500,
indicator: true
});
});
</script>
<!-- DETACH NAVIGATION -->
<script type="text/javascript" src="js/handleScroll.js"></script>
{$newpmmsg}
A live version of the site can be viewed at: http://ankaa.liorelysia.com/