Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as PHP by guilherme louro ( 14 years ago )
<?php 

   $cont = 0;

?>
/**.............//////////////
 *
 * resto do código...
 *
 *
*/


///////////..........

$('#dir').click(function(e)
{
        <?php $cont++ ?>
 TweenMax.to($('#contBanner'), 1, { css:{ autoAlpha:0}, onComplete:trocaBanner});
})

function trocaBanner()
{
 $.ajax({   
        url: 'Banners/view/' + bannerAtual,
        success: function(data) { 
            $('#contBanner').html(data);
        },
  error: function(e){
         alert&#40;'Error: '+e&#41;;
     },
     complete: function(data)
     {
      TweenMax.to($('#contBanner'), 1, { css:{ autoAlpha:1}});
     }
    });
}

 

Revise this Paste

Your Name: Code Language: