MyBB Community Forums

Full Version: Inline mod not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
bumping
bumping again
bumping
bumping. this is still not working, not sure what to do
bumping
In your header/header include try changing the $ signs in the below code to jQuery


$(function() {

                $('#navigation_horiz').naviDropDown({
                    dropDownWidth : '160px'
                });

                $('#navigation_vert').naviDropDown({
                    dropDownWidth : '160px',
                    orientation : 'vertical'
                });
            });

Sorry for the lack of response
Replace everything in your headerinclude with this:

*All Conflicts Removed Big Grin

{$stylesheets}
<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>

<!-- start mango's menu -->

        <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
        <script type="text/javascript">jQuery.noConflict();</script>
        <script type="text/javascript" src="http://www.akrasia-rpg.com/js/jquery.easing.1.3.js"></script>
        <script type="text/javascript" src="http://www.akrasia-rpg.com/js/jquery.hoverIntent.minified.js"></script>
        <script type="text/javascript" src="http://www.akrasia-rpg.com/js/jquery.naviDropDown.1.0.js"></script>
<script type="text/javascript">
            jQuery(function(jQuery) {

                jQuery('#navigation_horiz').naviDropDown({
                    dropDownWidth : '160px'
                });

                jQuery('#navigation_vert').naviDropDown({
                    dropDownWidth : '160px',
                    orientation : 'vertical'
                });
            });
</script>

<!-- end mango's menu --> 

<!-- MyBB Extra Stuff -->

<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>
{$newpmmsg}
The other thing you might need to look out for is that dropdown menu was originally released for jquery-1.3.2. so you might have to use that rather than 1.9.1
(2013-03-28, 07:17 AM)Leefish Wrote: [ -> ]The other thing you might need to look out for is that dropdown menu was originally released for jquery-1.3.2. so you might have to use that rather than 1.9.1

EDIT: Did not read what you wrote Big Grin Sorry Big Grin
Its working now! Thank you both for your help!!
Pages: 1 2