• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Lang Tu Sau

New Member
Vip
Bạn có 2 hay nhiều logo wap mà bạn muốn mỗi lần load trang sẽ thay đổi 1 logo khác. Thì đây là code mà bạn đang tìm kiếm

Code:
<script language="javascript" type="text/javascript">
 pic = new Array('<img src="/images/logo-1"/>','<img src="/images/logo-2"/>','<img src="/images/logo-3"/>','<img src="/images/logo-4"/>');
 n=Math.floor(Math.random() * 4);
 document.write(pic[n]);
 </script>

Chỉ cần thay đường dẫn ảnh là sử dụng được.

Demo : đây có 8 cái lôgô thôi. Load đi load lại sẽ thấy.
 

Facebook Comments

New posts New threads New resources

Back
Top