JQuery :: Superfish Align Sub Menus To Top
Jul 7, 2009I'm trying to setup a vertical menu where the submenus align to the top of the parent ul rather than the parent li.as in this image: URL...
View 4 RepliesI'm trying to setup a vertical menu where the submenus align to the top of the parent ul rather than the parent li.as in this image: URL...
View 4 RepliesI'm usingSuperfish for a popout context menu and it works up to a point, then the screen gets littered with the visible submenu items that are no where near their parent.I have several "views", and 250 things with menus on 1 page seems OK, but 450 is not. I don't have one in between at the moment. Also, my "pages" are in jqueryUI tabs, the tab divs have a table in them, the table td's is where I'm sticking the ul for the menus. I have have many tabs and they all work, even with over 600 in total, it's just the one table with over 400 rows that doesn't look right.Is there some technical limitation on applying sf-menu class to a UL as a child to a table where it hits a ceiling, or do i need to make a mockup test case to figure out what's going on?
View 2 Replies View RelatedI'm working on a project that uses mega menus. Mega Joomla mega menu URL... was put into place before the project was handed off to me . The only problem with it, is that when you are browsing the site on an iOS device (ipad, iphone, etc), and you press on a main menu item, it goes straight to the page it links to instead of opening up the mega menu like the 'hover' is supposed to do.I was looking at Superfish and it looks like it meets my requirements of having the menu be CSS based (so it degrades nicely when JS is turned off), accessible (you can tab through the menu) AND it appears that when you are on an iOS device, you can touch the menu item once, and it will open the menu, touch it twice and it will go to the link which is what I need (i tested this with the sample menu given on the Superfish site).
I've tried to set it up but it's not working and I think it's because it's not expecting children <ul>'s. Mine are all being hidden. I've read through this thread URL... and according to Charlie, Superfish is supposed to work with children <ul>'s and <div>'s but I just can't get mine to work.Is there anyway to adapt Superfish to this?
I have a menu that I've already set up with ALA's CSS Sprites2.I have to add a drop down menu into the mix. What would be the best way to achieve this, or rather what would I need to change in the Superfish scripts to get this to work?
View 2 Replies View RelatedHow is the arrows displayed in the superfish menus? If I would like to change to an image of my choice, how do I go about?
View 1 Replies View RelatedI want to use the Superfish menu plugin but with 1 more behavior: when the user clicks outside the menu, the menu closes. (or clicks anywhere, doesn't matter). This way I can have a large delay and just tell people to close the menu by clicking outside the menu, which will improve greatly the usability of the menu.
View 1 Replies View Relatedwhen someone tabs through with the keyboard, and presses enter on a link, it triggers the click event on that link (which is good) but then the menu stays open.. In my case, I'm not directing the user to a new page, just loading up ajax content, so the menus just hang there open.I want to close them after a click/pressing enter.Or should this go with my gripes about keyboard navigation.
View 6 Replies View RelatedI've got 4 subnav buttons; each has at least a sub menu; some subs have a subsub menu. My problem is, if I mouseover one of the four main subnav buttons, and then DO NOT choose a sub menu option, but instead mouseover (say) the next of the four buttons, the first sub menu stays displayed.
This only happens if I'm mousing horizontally across the buttons -- i.e., if I mouseover a button, move the mouse pointer above the button, the menu will disappear as it should and it all works correctly.
I've attached a screenshot illustrating how all 4 menus can be open at once.
This is a snippet of the relevant navigation html (2 buttons only):
<div class="sub_nav"><ul class="superfish" id="subnav">
<div id="cat_js_here">
<li class="not_selected"><a class="sub" href="collection.php">Browse by Category</a>
[Code].....
I'm testing superfish for a project.It works well, but I have a problem in that the total menu is very large - approx 1200 items.I suppose it must be quite possible to load sub-menus with ajax.I've searched - found others looking, but cant find an 'off the shelf' solution.And despite too long playing around I concede that my javascript isnt up to the job.I can get a simple test page running ok, using .load to pull submenu from server and inject it, but I cant figure out how to roll it into superfish.
View 2 Replies View RelatedIs there a way via the jQuery options to limit the display of menus below a certain level using superfish? I realize it is an odd request, but I am using parts of the main nav menu in a variety of places to reduce updating issues. I have 3rd/4th levels which appear within sections of a site, but I do not want them to drop down from the main nav. So, can I set a limit?
View 5 Replies View Relatedimplement 2 instances of superfish menus on one page? I would like to place a primary navigation menu above the header, and a secondary nav-menu below the header. I've "kind of" managed to do it with the help of Google and by reading quite a few blogs, but I think I'm doing it the wrong way by just duplicating the whole JS folder and renaming things.
Plus, I don't know how to style the menus. So, how would YOU implement 2 Superfish JavaScript menus on ONE page?
I can get them both to display but I need to style each one differently I have copied the basic styles and renamed them xx2 and then renamed the ul class to match but it doesn't like it!
View 1 Replies View RelatedWhen the number of menus (including a menu and its submenus) reach a particular number, then after that rest of the menus are not getting
displayed. Is there any settings available to restrict number of menus in superfish?
Trying to get the Superfish menus to work in vertical mode, whereby each list item is a single line, and the next menu down sits to the
right of that menu. For normal horizontal menus you use the Supersubs option when you call Superfish, but the superfish-vertical.css you need to make the menus layout vertically, seem to overwrite the widths of the UL's and LI's.
I have successfully installed superfish-powered drop-down menus in my horizontal nav bar, but I get an irritating (and inconsistent) issue when I click on a nav link: the drop-down menus briefly "flash" down as the new page loads. In fact the page as a whole flashes. This behavior only occurs in IE8 (haven't tried 7) - Firefox, Safari,Chrome are all fine. The url is: peacefulnations.org
View 1 Replies View RelatedHas anyone modified Superfish vertical menus so the flyout is to the LEFT? How?
View 1 Replies View RelatedI've cranked up the numbers for sensitivity, interval, and timeout, and the site seems totally unresponsive to my changes. I've double-checked that hoverintent.js is being called, and it definitely is.
var cfg = {
sensitivity: 7,
interval: 5500,
[code]....
i'm having with a superfish menu i have tried to add to my wordpress site.The menu seems to work fine for the base-level (top parent pages) menu items.But the drop down menus seem to flash on screen for just a second and then disappear when the mouse hovers over the menu items.To see an example, please check out the top menu on this temporary development page: http:[url].....I have tried adjusting the z-index in superfish.css file but it doesn't seem to be having any effect.
View 1 Replies View RelatedI have two javascript elements (banners) within a div that I would like to style side by side. What is the best way to style javascript for image one to align left and image 2 to align right? And will this work across all browsers?[code]
View 3 Replies View RelatedI was basically trying to follow several tutorials to get a superfish menu working on my website, but I don't seem to be able to get it to work.I included both the superfish.css and the superfish.js in my website's header; both paths are corrent and point to the designated file.I then included the superfish function in my header like this:
<script> $(document).ready(function(){ $('ul.sf-menu').superfish({
delay: 1000, // one second delay on mouseout
animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation
[code]....
The corresponding <ul> element has the required sf-menu class, but still there are no animations, no fading, no delays, just the plain css functionality provided by the superfish.css.
I am trying to make a form where the user is only able to select an option from one of the drop down menus and if they click both then submit an error should pop up telling them to select just one. Now I have found this code:
<SCRIPT LANGUAGE="JavaScript"'>
<!--
function validateForm(){[code]....
the first problem is that my menu must be named "id[2]2" which causes a problem due to the bracketed 2 and the 2 after. Is there any way around that?the second problem I forsee is that this will only work with 1 drop down box being unselected. I need a code that will give the warning if nothing is selected OR if something is selected in both drop downs.
take a look at this link for me? For some reason this works perfectly in everything but IE.I am sure there is some simple fix for this alignment issue, I just can't figure it out
View 1 Replies View RelatedTrying to set up a simple slider and it works perfectly in everything but IE. Every time I reset the x/y coordinates it looks different in every browser.
View 6 Replies View RelatedI need to include an interactive drop-down, global menu and a flyout menu. What do each of these look like? i thought they would look the same?
View 1 Replies View RelatedI've just started using jquery and it's going pretty well so far, I'm just having a few issues that hopefully someone here knows how to fix.
The main one being that my collapsor plugin only seems to work if you put a <ul> tag before what you're trying to make the collapsing heading, that's fine but I want to fully left align my headings to go with my nav.
Example:[url]
I really want the MAGAZINES, ADVERTISING and BOOKS headings to be fully left aligned (I don't mind if their subheadings are still in <ul> format though… But would be ideal if the subheadings appeared on the line right after the heading, not sure why there is a gap…
One more small issue is my link rollovers don't seem to work with the headings either, the underline/underline colour works fine but the text colour doesn't (it's supposed to be like when you roll over BACKGROUND or CONTACT.
How to auto-align and distribute many small images inside a div ?
I want something like that :
<div class="ContainerThatAlignMyIcons">
<img src="img1.jpg" width="10" height="10" alt="img1" />
<img src="img2.jpg" width="10" height="10" alt="img2" />
[Code]....
I want that jQuery distribute all this item for the left border to the right border of the div.
I wonder if any plugins is doing this ? I did a search in Google and I do not find something near the result that I want.