Reputation: 195
I have a script which is a slide-up hover effect, it only loads though when you refresh the page for some reason. This is really annoying...
I think it could be to do with me calling it in the html as a script:
jQuery(function ($) {
$('.bb-slide-cap').mosaic({
animation: 'slide', //fade or slide
speed: 600,
preload: 1
});
});
Fiddle: http://jsfiddle.net/JJDn7/3/
Upvotes: 1
Views: 989
Reputation: 6776
I doesnt matter but in case of two scripts sharing $ i thought i wrap in head. If its working for you real challenge then its good give it a try in your real challenge.
The link for other readers if it solves your issue.
jQuery(function ($) {
$('.bb-slide-cap').mosaic({
animation: 'slide', //fade or slide
speed: 600,
preload: 1
});
});
Upvotes: 2