JQuery :: Animating Superfish Custom Arrow In Sub Menu?
May 6, 2011
I've added a custom arrow to the Superfish sub menu, and the problem that I'm experiencing right now is that it gets animated together with the Superfish menu and only shows up a tad bit too late and does not look smooth.I'd like to smoothen it up a bit by adding my own animation to the arrow image.Simply hover over CONTACT, then you'll see the sub menu. As you can see the arrow shows up with a delay.Now I'd like to make it slide up smoothly and I tried the following:
jQuery('ul.sf-menu li ul').parent().hover(
function() {
jQuery('.arrow img').slideUp('slow');
I have problem, my superfish menu don't show arrows to sub-menu. I try to search on the forum, but I don't find something applicable. I try to disable every component on my site, put calling the function in try{} and catch the error, download new jQuery - 1.4.4, but nothing helps. I'll be very grateful for any response or idea what can be wrong.
Link to my site is here:[url] and it's "vĂ½roba karet" menu item.
This page shows 4 icons/blocks, if you hover over 1 of them and click in it, the arrow slide down and a box associated with that category appears, then clouds move.
Problem: If you click another box the previous animated arrow stays where it is, and I need it to move back or, even better, reverse it back to where it was.
It would also be nice to have a 1 or 2 second delay before the clouds start moving after the click triggers the animations.
I have trouble with SuperFish Menu, of course it looks very nice and is good solution, but I am not advanced in CSS language.how to change space between menu and submenu in Navi-bar type menu? Now sobmenu hide part of menu, I have to must space.....
So I have done this menu and I have 2 problems. 1. When I hover on a link, it does 2 animations, but when I "unhover", it doesn't reset the default values also with animations. I know the problem might be the display none in the css, but I really have no idea how to get around that. 2. As I said above, when I hover on a link, it does 2 animations, but when I move the cursor to another link, it doesn't "re"-do the animations anymore.
how to make the menu items a fixed width in a horizontal Superfish menu . I've tried mucking about with the CSS but no luck so far. I'm sure it's easy, but I can't seem to work it out.
I'm using superfish menu jquery plugin, and I'm wondering if someone know how to update plugin that you can decide if sub - sub menus wil be shown on the right (that is in the original) or on the left side of the parent menu.
The problem is, that if the last menu is near the end of the browser, than the sub - sub menu will go off side the browser.
what I'm trying to do is, when a user hover overs an element, in this case, a li within a div, I want the background color to animate to a different color besides the background color of the body (in this case, black).
It works, but the behavior is erratic. For instance, yes, the color will change when I hover over the element but it when I'm within the div ul li, and hover over for instance the paragraph, the background color of the element will animate 2-3 times.
Actually when I move around any element within that UL the animation will flicker, how would I go about stopping that?
Also sometimes, not all the times, on pageLoad, the animation will fire.
Here's the code.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" % <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I'm curious if anyone knows how to fix this. Most of the content of my page is 940px wide. The superfish menu, expanding as it should to fit my drop-down heading text, is only about 700px wide. I want to apply a color background to the div that the superfish menu is housed in so that the menu appears to be 100% width.
For some reason, in webkit and firefox, the color of the div that the menu is contained in does not show up, so there's just an empty space in that last 25% or so of the bar.
In IE, it looks correct, though. (the color of the containing div shows through the blank space in the menu, making the menu bar appear to fill the entire width).
Am I missing something in the Superfish menu that makes it appear at 100% width?
I am using the Jquery Superfish menu within a struts 2 web app. As seen in the attachment, The menu is appearing and the hover delay is working but there are gaps between each menu and its sub menu. Also the root menu items are not all the same with. I am using the example code without changing it. how to get rid of these gaps ?
I have installed Superfish menu module with Joomla ..Customization work more less fine ...I still have tenious problem like :
- How to have the main menu with the active color, when one of the sub-menu has been actived ?
- How to change the inactive color of the sub-menu without changing the inactive colro of the principal menu ...I did not found any information on the web ..
I ma just trying to figure out how I might center a superfish menu - and possibly make the top level LIs 'auto size'. It sees the menu will only float left or right. Of course I am not a css guru either - it could be staring me in the face.
I want to make a dynamic menu where the items being shown depends on the access of the user. I tried having a code in codebehind of my aspx page that will set a certain li to style display none, but when viewed in IE6 I get a white space within the menu.
[URL] and you can see the code there, but essentially I'm wondering if there is a way to open (I know there is, I just can't) the superfish menu plugin "up" rather than down which it does by default. I think it's a css/jQuery animation issue but I can't seem to get it.
I'm trying to dynamically disable a Superfish menu when in mobile mode (using responsive design), so that only the main menu items are displayed. I want the Superfish menu to be re-enabled when the browser window is re-sized and the desktop CSS is re-served.
I've tried using detach() and append() to remove and restore the ULs, but I can't get that to work properly.
The issue I am having is that my menu is aligning to the right, instead of to the left where the normal menu was. I have worked with the CSS for some time now, but have not been able to figure it out. I would also like to make the menu colors black text with a transparent background, and white text with a #333 background on hover. The web site address is: [URL]
Is it possible to animate the Superfish menu on mouseout (like a slidedown/slideup animation)? I only manage to get the animation on hover/mouseover to run (using 'height').
It seems to me that the arrows which are added create an additional width on the menu elements.I would like to specify a fixed width for the top elements in my menu. It appears that the arrows are added automagically by the JS (neat!). I am guessing they are an additional width to anything specified in the skin css. Is there any way to use the arrows but to reserve space for the arrow width, so it doesn't change the top level menu width? I would like to be able to use a fixed width, so that I can use a non- repeating css background image. To complicate matters, I am using Supersubs (maybe I should be using the standard superfish?)