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/
jQuery(function ($) {is giving you fits. Try it withoutjQuery(function () {. And in the JSFiddle I changed it to run in <head> rather than onLoad.$. This allows you to use the$shorthand as a local variable inside the body of the code.