Comments (15)
I have managed to recreate your issue and the answer seems to be the version of jQuery you are using. If you update from 1.7.1 the issue will be fixed. Without knowing your site, I'd say the safest version to update to would be 1.7.2, which I have tested and can confirm that it fixes your issue.
from superfish.
Thanks for your help. I tried changing it to 1.7.2 and still had a similar issue. Then changed it to 1.9.1 and am still having problems where now the white background drops out after some time (see attached). I don't think anything else in the website uses jquery although there are a couple of other javascripts. I copied the .min. filed and linked it directly, as opposed to having it link through googleapolis.
Would it be helpful to copy/provide code? I feel pretty lost when it comes to this stuff.
Thanks again.
from superfish.
Huh, strange. I already have test files set up based on your site now, so I should be able to recreate your new issue fairly easily. I'll have another look tomorrow (it's 3am here).
from superfish.
Get some sleep! Thanks.
from superfish.
I changed it to 1.9.0 and it seems to be better. It took much longer to start messing up. It seems to be the center column most of the time. Most people wouldn't see it since they wouldn't spend as much time playing with as I have been, however, I am afraid to change all the pages until it works right.
from superfish.
I've found that this is definitely a Superfish bug with height animations. Can you use animation: {opacity:'show'}
until I fix this? It will certainly be at the top of my todo list. I really appreciate you bringing it to my atttention. Thanks.
from superfish.
It already says "show". What am I doing to get this problem that others are not? I will change that.
from superfish.
Replace this line:
animation: {opacity:'show',height:'show'},
With this line:
animation: {opacity:'show'},
…although I'm working on a proper fix so you can still animate height, as we speaktype.
from superfish.
It is already that way.
from superfish.
Maybe you have the Superfish initialisation duplicated in two different places, because below is a copy/paste from your site:
<script>
$(document).ready(function() {
$('ul.dropnav').superfish({
delay: 1000,
animation: {opacity:'show',height:'show'},
speed: 'fast',
autoArrows: false,
dropShadows: false
});
});
</script>
from superfish.
Oh, I thought you meant in the superfish.js file.
from superfish.
Here's a stupid question. Why are these in 2 places. Couldn't these changes be made in the superfish.js and get rid of the ones in the .html file?
from superfish.
The settings in the superfish.js file are just defaults. The idea is that you never touch that file and just override the bits you want from outside. Like how you don't need to mess with a car engine to drive down a road. Just use the controls. :)
from superfish.
Making this change seems to have solved my problem. Thank you so much for all your help.
from superfish.
v1.5.13 fixes the height animation bug.
from superfish.
Related Issues (20)
- SuperfishForSharePoint HOT 1
- Mobile menu not working 🤔 HOT 1
- jQuery easing animation support
- Way to disable all delays and animations HOT 2
- On Mobile (Google Pixel) on wordpress, selecting a submenu opens and rapidly closes the submenu HOT 1
- v1.7.9 confict with WooCommerce single product tabs navigation HOT 1
- issues with jquery 3.2.1 HOT 3
- onShow triggered again when clicking menu
- how to initialize superfish using javascript HOT 1
- Swiping to scroll opens submenu
- mouseenter targets vs focusin targets HOT 2
- On mobile submenus not showing HOT 1
- Superfish doesn't work correctly
- Close the current submenu by using escape HOT 5
- iPad ios 13.1 menu item link problem HOT 17
- Busted link in the README HOT 1
- jQuery Superfish Menu Plugin
- Homepage implies it contains examples, on their own page
- jQuery(...).superfish is not a function HOT 2
- Is there a support for accessibility for using this menu library. looking for aria-expanded attribute usage in this menu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superfish.