Monday, May 20, 2013

How to insert HTML and JavaScript in Blogger post?


Answer:

To add javascript (google ads) on blogger post you should keep a note of these pointers:

1. Open Post and go to HTML view.

2. Complete script should be in 1 line. Remove all line Breaks.

3. If you are using some onclick or other events then your javascript should be in double quotes.
eg. <a onclick="alert('Hello Guest!!!')" href="www.5xdeals.com" >5xDeals</a>

4. If your script is too long, then you can put it somewhere on web and call it on your post.

I've used all these tips while placing ads on www.5xdeals.com.. You can check that out...