r0nka
says
I try to implant Superfish plugin into my template it works just fine but without the animation. here is the code http://jsfiddle.net/SqxCN/
why is that?
WebinCode
says
r0nka saidHi try to add like here
I try to implant Superfish plugin into my template it works just fine but without the animation. here is the code http://jsfiddle.net/SqxCN/ why is that?
// initialise plugins
jQuery(function(){
jQuery('ul.sf-menu').superfish({
delay: 300, // one second delay on mouseout
animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation
speed: 'normal', // faster animation speed
autoArrows: true, // disable generation of arrow mark-up
dropShadows: false // disable drop shadows
});
});
r0nka
says
doesn’t help 
r0nka
says
any one?
1915 posts
Do the Needful
- Envato Staff
- Sold between 100 000 and 250 000 dollars
- Support Staff
- United States
- Author had a Free File of the Month
- Microlancer Beta Tester
- Beta Tester
- Interviewed on the Envato Notes blog
JamiGibbs
support
says
If it’s working without the animation it’s probably just functioning with CSS only and no jQuery (because superfish falls back to CSS ). Because the jQuery isn’t loading you should do a few basic checks:
- Are you referencing the .js file in your header with the correct path?
- Are you initializing the plugin in your header correctly? It should like something like this:
- Did you link to the superfish CSS file?
// initialise Superfish
<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
speed: 'fast', // faster animation speed
autoArrows: false, // disable generation of arrow mark-up
dropShadows: false // disable drop shadows
});
});
</script>
