...

View Full Version : Copy Java Script/Jquery Function



Atrhick
01-09-2012, 07:56 PM
OK here is what i ma trying to copy
http://onlinemotorcarinsurance.com/1kdebtcom/

I want that function where the 5 images fly in and out I have been trying to get this to work for the past 4 hours but no luck here is what i have.



$(document).ready(function()
{
$('.detailsholder').hide()
$(".detailsholder").animate({"top": '-520px'},1)
$('.detailsholder').hide()
$('.detailsholder').fadeIn(500)
$(function() {
setInterval(update, 5000);
});

function update() {
$('.detailsholder').animate({'top': "-260px",'easing': "easeInElastic"},400);
}

$(function() {
setInterval(update, 5000);
});

function update() {
$('.detailsholder').animate({'top': "0px",'easing': "easeInElastic" },400);
}


any help that you Guro's can give would be great!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum