Hi i am new into programming and my boss asked me to convert a flash version of ad banner into HTML5 and i am not able to figure out how to do it.
Here is a Link Can anyone please help me out. I have tried few codes but it is not working as i want it to work.
function HTML5Banner(){ var tl = new TimelineMax(); tl.to($("#images > img"), 0, {autoAlpha:0}); tl.fromTo(introImg, 1, { left: 100, top: 60, autoAlpha: 0, width: "100px" }, { left: 180, top: 60, autoAlpha: 1, width: "100px", rotation: "0" }); tl.fromTo(introTxt, 1, { left: 0, top: 60, autoAlpha: 0, width: "100px" }, { left: 30, top: 60, autoAlpha: 1, width: "100px", rotation: "0" }); tl.to(ctaBtn, 1, {css:{opacity:1}, ease:Power4.easeOut}, "-=0.5"); tl.play(); }
I tried something like that but its not working . I am also trying to ad Jquery code in between but Jquery Animation is not working , Can anyone help me [please