1 Reply Latest reply on Feb 21, 2013 11:27 PM by joel_pau

    Callback function in edge

    mhartington

      So i have a series of photos that once a button is clicked it will cycle through each photo to create a 360º image rotation. But when i use this line to change the images, it just goes to the last photo in the list

      sym.$("nolines").css("background" , "url(902_360/02.png) no-repeat");

      sym.$("nolines").css("background" , "url(902_360/03.png) no-repeat");

      sym.$("nolines").css("background" , "url(902_360/04.png) no-repeat");

      sym.$("nolines").css("background" , "url(902_360/05.png) no-repeat");

      sym.$("nolines").css("background" , "url(902_360/06.png) no-repeat");

       

      Would i be correct in saying that I could write this using callbacks so that once the one photo is loaded, it will do the next? How do I write that?