Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1033198
    lexidev
    Participant

    I have a large slider on the home page above the menu. On the slider I have a button that optionally slides the slider up (out of the way) and puts the menu at the top. Some menu items are not linked, like a header for the drop down sub-menu. Using # to make this happen, but in this case when clicking this null link on the home page the slider pops back down, which moves the menu down, which is not usable.

    Do you have a method to keep the menu at the top when clicking null link?
    Alternatively is there a method to UNLOAD or hide the slider when it is moved up, so that it stops looping/processing?

    The site is in development. http://koarts.lexi.net/. Please advise. Thanks.

    #1033397
    John Ezra
    Member

    Hi there,

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    #1034391
    lexidev
    Participant

    Yes, kind of hard to explain.
    Go to the site: http://koarts.lexi.net/
    Click on the up arrow (scroll icon) in the slider and the slider moves up out of view in the browser and the menu is now on the top.
    Click on ‘Art’, which is a null link, it does not link to another page but opens a drop/sub menu that displays a selection of artwork type pages.
    When you click on ‘Art’ the only thing that should happens is the sub-menu should open. But the slider appears again, the menu moves down and that is what I want to prevent. Can that be prevented? Can I make that link a hover link, not clickable? Or…?

    My secondary question is: Can the slider be unloaded when it is out of view? Because it continues to function, it’s only hidden (it’s a processing/bandwidth issue). Can it be coded so that the slider is only available once per session?

    #1034692
    Rahul
    Moderator

    Hey There,

    This plugin may help you but keep in mind it is a third party plugin and not one supported by X.

    Advanced Disable Parent Menu Link – http://wordpress.org/plugins/advanced-disable-parent-menu-link/

    I hope this helps. Let us know how it goes.

    #1036576
    lexidev
    Participant

    Rahul, this plugin disables all parent menus, regardless if they are actually linked to a page/post. Even in the sidebar. So I tried a trick I used since the dawn of time, instead of “#” in a custom menu link I put “javascript:;” that disables the menu, can’t click it, nothing moves, but the sub-menus appear as they should.

    #1036977
    Christopher
    Moderator

    Glad to hear that you were able to fix this.

  • <script> jQuery(function($){ $("#no-reply-1033198 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>