WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar-Menu doing Yo-yo-effects! (3 posts)

  1. rosa1986
    Member
    Posted 1 year ago #

    hi everyone!

    my sidebar at

    http://ntm.at/r0sa is doing annoying yoyo-effects, you can see it especially when you click on "projects"...
    has anyone an idea or firebug and can help me how to make the sidebar slower or exclude the "mouse-over" effect?

    thanks,
    rosa

  2. ronmerk
    Member
    Posted 1 year ago #

    Hi Rosa:

    I'd say this is a coding problem in your theme CSS. I can make it happen by mousing over one of your menu items that has drop down sub menus and then pulling my mouse down to the next main menu item with our releasing my mouse button. The menu item with the drop down sub menus then start to "yo yo!"

    Not sure where you got your theme from, but for a solution you're going to have to go to the theme coder or probably find another theme.

  3. rosa1986
    Member
    Posted 1 year ago #

    Thanks for your reply!

    The sidebar was made from a friend of mine, who is now in holidays and can not help me anymore... the sidebar is located in sidebar.php and the code is following (i think the "hover"-thing is the problem):

    <div id="left-col">

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
    <script type="text/javascript">

    $(document).ready(function(){
    $("li.page_item").hover(function(){ // trigger
    $(this).children("ul").slideToggle("fast"); // blendet beim Klick auf "dt" die nächste "dd" ein.
    $(this).children("a").toggleClass("closed open"); // wechselt beim Klick auf "dt" die Klasse des enthaltenen a-Tags von "closed" zu "open".
    });
    });

    </script>

    <?php custom_nav_menu(); ?>

    <div id="sidebar">
    <div id="feed-container">
    <p>" id="feed_link">Subscribe to the RSS Feed</p>
    </div>

    <?php /* Widgetized sidebar, if you have the plugin installed. */
    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('main_sidebar') ) : ?>

    <div class="widget static-widget">
    <h3 class="widgettitle">Archives</h3>

      <?php wp_get_archives('type=monthly'); ?>

    </div>

    <div class="widget static-widget">
    <h3 class="widgettitle">Categories</h3>

      <?php wp_list_categories('show_count=0&title_li=&hierarchical=0'); ?>

    </div>
    <?php endif; ?>
    </div>
    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.