jquery - Moving fullscreen background image -


have been looking 2 days after googling still no idea how achieve want.

hope can me.

i want background image move this: http://www.theophile-patachou.com/nl/

any suggestions? dug through stackoverflow searching gold no result...

guess way go css transform?

i tried use these examples build outcome not desired http://www.sitepoint.com/css3-transform-background-image/

you can achieve zooming affect using jquery animate function (http://api.jquery.com/animate/).

$('img').animate({width:'+=300',height:'+=300'},16000); $('img').animate({width:'-=300',height:'-=300'},16000); 

if need use setinterval , call repeatedly.

setinterval(function(){     $('img').animate({width:'+=300',height:'+=300'},16000);     $('img').animate({width:'-=300',height:'-=300'},16000); },32100); 

Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -