Baca juga: Cara membuat iklan random image dan teks berbasis Javascript.
Sekarang saatnya memasukkan kode script tersebut ke blog agar muncul di setiap halaman blog.
1. Parse terlebih dahulu kode Javscript di HTML Escape
Memasang langsung kode Javascript ke template postingan blogspot akan menimbulkan error, karenanya kode Javascript harus diparse terlebih dahulu. Kopi kode Javascript random iklan dan pastekan di sana kemudian klik Escape.
2. Masuk ke akun blog, pilih Template > Edit HTML
3. Cari kode berikut. Sebaiknya gunakan fitur Searching (Ctrl F)
<data:post.body/>,
tepat di atas kode tersebut, sisipkan kode berikut ini
<div style="float:left; margin-right:15px;margin-bottom:15px">
....
...Kode Javascrit hasil parse...
...
</div>
Catatan: ganti left dengan right bila iklan ingin dimunculkan di kanan postingan.
4 komentar
Write komentarThis is extremely helpful info!! for gamers Very good work. Everything is very interesting to learn and easy to understand. Take the given information. Visit Here
Replyvisit here
ReplyWhat a wonderful blog you have written. I like it very much. It's very useful as well as easy to understand. Thanks for this amazing blog. Btw I am gamer and I have something interesting for you. You may Click Here
Hey,
ReplyReally great job you have done. thank you for the wonderful article. This is very helps to understand.
Helloo!
ReplyU have done a great job when i was red ur blog I enjoyed nd i'm also interested in blogging so visit gyuss!http://fusionnerpdf.iwopop.com/
EmoticonEmoticon