کد:<SCRIPT language=JavaScript> /* +---------------------------------------------------------+ | Ad Simple Copyright www.wp-pro.ir | +---------------------------------------------------------+ | This is a simple code for showing random of banners | |set img_width and img_height to change banner_size | |to get more cods visit downloadpa.ir. | +---------------------------------------------------------+ */ var img_width = "468"; var img_height = "60"; var img_title = "Click Here"; var a_title = "title HERE"; var ad=new Array() //insert here your images src ad[0]='http://adress aks shoma.jpg'; ad[1]='http://adress aks shoma.jpg'; ad[2]='http://adress aks shoma.jpg'; ad[3]='http://adress aks shoma.jpg'; ad[4]='http://adress aks shoma.jpg'; var links=new Array() //insert here your links links[0]='http://www.adress site link aks1.com'; links[1]='http://www.adress site link aks2.com'; links[2]='http://www.adress site link aks3.com'; links[3]='http://www.adress site link aks4.com'; links[4]='http://www.adress site link aks5.com'; var xy=Math.floor(Math.random()*ad.length); document.write('<a title="'+a_title+'" href="'+links[xy]+'" target="_blank"><img border=0 src="'+ad[xy]+'" width="'+img_width+'" height="'+img_height+'" alt="'+img_title+'"></a>'); </SCRIPT>





پاسخ با نقل قول