Tạo mẫu quảng cáo sẵn dạng mảng trích xuất bằng lệnh document.write
Script tạo mẫu quảng cáo sẵn
<script type='text/javascript'>
quotes2 = new Array()
quotes2[0] = "<a href='http://www.vietquangcao.xyz/hop-tac-marketing-sale-mo-hinh-tiep-thi-ban-hang-hieu-qua-cho-doanh-nghiep-vua-va-nho-113791'>Hợp tác Marketing</a>"
quotes2[1] = "<a href='http://www.vietquangcao.xyz/viet-quang-cao'>Viết quảng cáo</a>"
quotes2[2] = "<a href='http://www.vietquangcao.xyz/viet-quang-cao/10-dang-marketing-content'>10 dạng Marketing Content</a>"
quotes2[3] = "<a href='http://www.vietquangcao.xyz/demo-code-101'>Demo Code 101</a>"
</script>
<script type='text/javascript'>
document.write(quotes2[0])
</script>
<!-- End Doan code Script quang cao -->
Trích xuất quảng cáo theo vị trí mảng tương ứng
Trong trường hợp cần sử dụng trích xuất ngẫu nhiên quảng cáo bạn sử dụng cấu trúc câu lệnh như sau chèn vào vị trí cần hiển thị quảng cáo trên blogspot.
Trích xuất quảng cáo ngẫu nhiên
randomquote2 = Math.random() * (quotes2.length)
randomquote2 = Math.floor(randomquote2)
document.write(quotes2[randomquote2])
</script>
xem Demo tại link : http://www.vietquangcao.xyz/demo-code-101/script-tao-mau-quang-cao-san-kieu-mang-trich-xuat-bang-document-writes8z1
Điện Thoại Giá Rẻ, Chạy Grab, Tài Xế Công Nghệ :
+ Poco M4 Pro :
Xem Tại Đây
+ Oppo A54 :
Xem Tại Đây
+ Xiaomi Redmi Note 11 :
Xem Tại Đây
+ Samsung Galaxy A23 :
Xem Tại Đây
Smartphone Gaming Giá Rẻ, Tải App Kiếm Tiền Online, Cài Đặt Ứng Dụng Học Tập, Giải Trí, Xem Phim Nghe Nhạc, Chơi Game Online, :
+ Tecno Poca 3 :
Xem Tại Đây
+ Realme narzo 50i Prime :
Xem Tại Đây
Flagship, giá hời, đời cũ, cấu hình ngon, xem phim, chơi game, nghe nhạc cực đã. :
+ Iphone 11 :
Xem Tại Đây
+ Iphone 12 :
Xem Tại Đây
+ Iphone 13 :
Xem Tại Đây
+ Samsung Galaxy S20 FE :
Xem Tại Đây
+ Samsung Galaxy S22 Ultra 5G :
Xem Tại Đây
+ Vivo V23 5G 8GB/128GB :
Xem Tại Đây
+ Vivo V25e 4G 8GB/128GB :
Xem Tại Đây
+ Redmi Note 11 Pro 5G :
Xem Tại Đây
+ Xiaomi 12 Pro :
Xem Tại Đây