Many website having a nice amount traffic try to manipulate their traffic by showing some pop-up ads or showing their other websites so that they can gain visitors on that site too. Pop-Ups are not a good way to gain visitors as it simply makes a website crap and adds another load to its usual time, well but still if you wanna show any thing useful to your visitors and want to create a popup showing your mentioned site than follow the below simple steps and code that when added simply start working on your site.
So now using the below script you can display any website inside the popup window, so whenever a person will click anywhere on your website, any link or any blank space the popup window will open and will display your website.
- Go to Blogger > Template > Edit HTML
- Now press
Ctrl +F and search for</body>
tag and paste the below script above it.
<script type="text/javascript">document.body.onmouseup= function(){window.open('http://www.hackinguniversity.in', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=700, height=500, left = 300, top = 150');}</script>
Now just save your template and refresh your blog, now try clicking anywhere in your blog and see popups load you can anytime change the address in the script above and display different URL :)
(COMMENTS WILL LOAD AUTOMATICALLY)