HOW TO CREATE POPUP WINDOW IN MY BLOG USING JAVASCRIPT CODE
Popup Window Javascript Code for Bloggers
Hello, How are you doing today?
Hope you are not thinking of a negative thing to use this code to do?
Wouldn't be advisable for AdSense, but if you are thinking on how to use this code and help lives out there, in your blog or other bloggers' blog page, then you are in the right place.
Join me as I introduce to you, a powerful javascript code to help you create a popup windows in any blog at all, that you can think of.
You might notice in some websites that a popup window opens suddenly without your knowledge which leads to other websites and they do it for some promotional purpose or others which is unspecified.
It’s easy to add popup window for blogger and adding popup window helps in increasing page views of your blog and you can help visitors to know useful links within your site and other external sites, which they might not have noticed, if the links were just written somewhere beneath that webpage.
This is the major advantage or the reason why anyone could think of the creation of popup windows.
How to Create a PopUp Window for Blogger Using a JavaScript Code:
- Launch and Login to your blogger account.
- Go to Dashboard >> layout and click “Add a Gadget” from sidebar or footer.
- Open HTML/JavaScript gadget.
- Add the following script in HTML/JavaScript content area and click save.
------------------------------------------------------------------------------------------------
<script type="text/javascript">
document.body.onclick= function(){
window.open('http://www.profsbase.com', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=950, height=650, left = 300, top = 50');
}
</script>
------------------------------------------------------------------------------------------------
Note:
- Make sure to change the http://www.profsbase.com URL.
- Customize the width and height of the popup window like you wish
Now a popup window opens pointing to that page when users click somewhere on your blog.
Hope this helps?
Now try it, if any problem is encountered, use the comment box, I am here to help.
Hope this helps?
Now try it, if any problem is encountered, use the comment box, I am here to help.
0 comments:
Post a Comment
.
.
.
Tell us what you think from all you read above: