Create your own Pop-Up site when Person Click on your Site using Java Script
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.
STEPS:
1. Go to Blogger > Template > Edit HTML
2. Now press Ctrl + F and search for </body> tag and paste the below script above it.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.
STEPS:
1. Go to Blogger > Template > Edit HTML
2. Now press Ctrl + F and search for </body> tag and paste the below script above it.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.
Code:
<script type="text/javascript">document.body.onmouseup= function(){window.open('http://www.google.com', '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 :)
Labels: Tricks
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home