Saturday, September 20, 2014

[Tutorial] How to create a popup window for Blogger, Blogspot, Wordpress



Many of us wondering how to create a popup window..eventhough some of the web browser have a popup blocker or what so ever blocker, some of us using it for the right purpose..LOL.heres how..

So Simple!:

01. Login blogger.com and go to your blogger dashboard.
02. Click on layout menu of blogger.
03. Choose to add HTML/JavaScript gadget.
04. Copy the below script or code from below and paste HTML/JavaScript content area and save it.
Now refresh your blog site and enjoy it.

Code:

<script type="text/javascript">
document.body.onclick= function(){
window.open('your web address', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=650, height=650, left = 300, top = 50');
}</script>

** Just change your website url and if you want to change size, eventhough there is a default size , your expected Pop Up Ad you can change it according to your needs.





Source : Tech

No comments:



Related Posts Plugin for WordPress, Blogger...