jquery slide down image on page load
- by Dean
Hi
I'm not experienced with jquery (or java script really), but trying to make an image (img id=mike ...) slide in when a page loads.
After looking through the jquery docs and trying Google queries, I have so far come up with this
$(document).ready(function() {
$("#mike").load(function () {
$(this).show("slide", { direction: "up" }, 2000);
});
});
And applied the CSS display:hidden so it remains hidden until I want it to slide in on page load.
This doesn't seem to work unless I reload the page though.
Hoping someone could help me out with this please :)