Changing Affiliates

View previous topic View next topic Go down

Changing Affiliates

Post by _Twisted_Mods_ on 1/22/2015, 8:25 pm

avatar
_Twisted_Mods_
Founder
Founder

Posts : 101
Reputation : 2
Birthday : 1986-08-05
Join date : 2014-10-03
Age : 31
Location : USA

View user profile
[widget=Your choice=no=Your choice]
Code:
<div id="tm_affsystem" style="height: 50px;margin-top: 15px; margin-bottom:15px;">
               
 <center>
               
 </center>
</div>
 <script>
jQuery(function(){
afftime = 10*1000;
affl = [
'<a href="http://www.forumotion.com/" target="_blank" title="forumotion.com"><img style="width: 113px; height: 50px;" src="http://www.illiweb.com/fa/banner/en/banner5.png" alt="free forum" /></a>',
'<a href="https://www.facebook.com/forumotionpage" target="_blank" title="forumotion fan page"><img src="http://illiweb.com/fa/optimisation_fdf/common/facebook.png" alt="Forumotion on Facebook" /></a> ',
'<a href="https://twitter.com/Forumotion" target="_blank" title="Forumotion on Twitter"><img src="http://illiweb.com/fa/optimisation_fdf/common/bouton-twitter.png" alt="Forumotion on Twitter" /></a>',
'<a href="http://www.youtube.com/user/ForumotionDotCom" target="_blank" title="ForumotionTV"><img src="http://illiweb.com/fa/optimisation_fdf/common/youtube.png" alt="Forumotion on YouTube" /></a>',
'<a href="https://plus.google.com/107485877921870703628/posts" target="_blank" title="Forumotion Google+ page"><img src="http://illiweb.com/fa/optimisation_fdf/common/google.png" alt="Forumotion on Google+" /></a>'
 ]
jQuery('#tm_affsystem center').html(affl[0]);
 ff = 1;
setInterval(function(){

 if(ff==affl.length){
 jQuery('#tm_affsystem center').html(affl[ff]);
 ff=0;
 }else{
 jQuery('#tm_affsystem center').html(affl[ff]);
 ff++
 }



}, afftime);
});
</script>

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum