Admin OR General
Mesaj Sayısı : 19 Kayıt tarihi : 10/04/09
| Konu: Sürekli Değişten Banner Kodu Salı Eyl. 22, 2009 11:51 am | |
| Bu Kod Sayesinde Küçük Bir Alanada Birçok Banner Yayınlıyabileceksiniz.Sayfayı Yeniledikçe veya Sayfa Değiştikçe Bannerde Değişir. - Kod:
-
<script> ////////////////////////////////////////////////////////////////// ////////////////////////LifeCity.Tr.Gg//////////////////////// //////////////////////////////////////////////////////////////// function image() { }; image = new image(); lifecity = 0; // Resim Sırasına göre gösterir image[lifecity++] = '<a target="_blank" href="lifecity.tr.gg"><img style="width: 312px; height: 237px" height="1035" alt="" width="1200" border="0" src="http://img24.imageshack.us/img24/6069/lfcr.jpg" /></a>' image[lifecity++] = '<a target="_blank" href="lifecity.tr.gg"><img style="width: 269px; height: 299px" height="901" alt="" width="1200" border="0" src="http://img24.imageshack.us/img24/1733/lfc2.jpg" /></a>' image[lifecity++] = '<a target="_blank" href="lifecity.tr.gg"><img style="width: 306px; height: 321px" height="883" alt="" width="598" border="0" src="http://img24.imageshack.us/img24/7003/lfc3.jpg" /></a> ' // keep adding items here... lifecity = Math.floor(Math.random() * lifecity); document.write(image[lifecity]); </script> | |
|