1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained Remove delay from navigation popup 1.0

This hack removes standard delay on navigation tab arrow (SplitCtrl)

  1. CyberAP

    CyberAP Well-Known Member

    CyberAP submitted a new resource:

    Remove delay from navigation popup (version 1.0) - This hack removes standard delay on navigation tab arrow (SplitCtrl)

    Read more about this resource...
     
  2. Adam Howard

    Adam Howard Well-Known Member

    OK, without doing the template edit... I assume there is some place to upload this. Where?
     
  3. CyberAP

    CyberAP Well-Known Member

    Anywhere you want, but better in /js/ folder, then load it in PAGE_CONTAINER
     
    Adam Howard likes this.
  4. Adam Howard

    Adam Howard Well-Known Member

    Decided it would load faster as a template and added it directly under
    <!--XenForo_Require:JS-->
     
  5. Adam Howard

    Adam Howard Well-Known Member

    This was and still is a good modification. But if you're site is heavily loaded with add-ons, templates, and other 3rd party stuff... Mine has well over 150....

    I started to get an error in Firefox (not always, just once in a while) that a script had stop responding. Removing this 1 seemed to correct it.

    Most likely a conflict between another one, but my case is rare and I would still recommend this to anyone who wants that little extra tweak.
     
  6. DRE

    DRE Well-Known Member

    Is this working in Xenforo 1.2?
     
  7. DRE

    DRE Well-Known Member

    I got it to work like this:

    *uploads file to javascript folder*

    Goes to page_container_js_head

    Code:
        <script src="{$jQuerySource}"></script>  
        <xen:if is="{$jQuerySource} != {$jQuerySourceLocal}">
            <script>if (!window.jQuery) { document.write('<scr'+'ipt type="text/javascript" src="{$jQuerySourceLocal}"><\/scr'+'ipt>'); }</script>
        </xen:if><xen:if is="{$xenOptions.uncompressedJs} == 1 OR {$xenOptions.uncompressedJs} == 3">
        <script src="{$javaScriptSource}/jquery/jquery.xenforo.rollup.js?_v={$xenOptions.jsVersion}"></script></xen:if>  
        <script src="{xen:helper javaScriptUrl, '{$javaScriptSource}/xenforo/xenforo.js?_v={$xenOptions.jsVersion}'}"></script>
    <!--XenForo_Require:JS-->
    <xen:require js="js/popupMenu.js" />
     
  8. DRE

    DRE Well-Known Member

    How do I get rid of that down pointing arrow?

    Removing <span class="arrow"></span> from navigation template didn't work.
     
  9. Shelley

    Shelley Well-Known Member

    Hopefully i never mis-read. You can try adding the following in EXTRA.CSS

    Code:
    .navTabs .navTab.PopupClosed:hover .SplitCtrl {
      background: none transparent;
    }
     
  10. DRE

    DRE Well-Known Member

    Thanks. I kept it in though.
     
  11. CyberAP

    CyberAP Well-Known Member

    I guess it should work fine if nothing has changed in JS about popups.
     
  12. DRE

    DRE Well-Known Member

    It's not working fine. Whenever you hover over inbox or alerts it won't load. Had to disactivate for now.
     
  13. CyberAP

    CyberAP Well-Known Member

    This is broken for 1.2. No ETA for fix, sorry.
     
  14. Shelley

    Shelley Well-Known Member

    Would be nice if the core had settings for menus in the style properties for this. (just thinking out loud).
     
  15. CyberAP

    CyberAP Well-Known Member

    It'd be really nice if we had these things animated with CSS, just by triggering right classes. They way it's done now is absolutely not suitable for any kind of customization, unfortunately. (At least if you're not a JS guru)
     
    Shelley likes this.
  16. Shelley

    Shelley Well-Known Member

    I have to admit, JS scares me.
     
  17. tajhay

    tajhay Well-Known Member

    Any solution for this? Or do we need to hack into the js file ourselves?
     

Share This Page