I got some simple code which is suppose to make an image appear. Move it to a place on the screen with a duration set and then make it fade out straight away.
Code:
function MoveAndFade(200, 100)
{
$('.laser').fadeIn('slow', function ()
{
$(this).animate({ left: 200px}, 'slow', 'swing', function ()
{
$(this).fadeOut();
});
})
}
However this code is not working. Any help? If u got anther way to right it i could try that and see if it works.
Thanks again for the help