Google+ ALLHACKD: create popup window

create popup window

Thursday, 6 June 2013

  Popup window is an extra window it's open in load on page or click on mouse and many other type now we will learn how to add click on mouse open popup window in blogger.
bcoz many times popup window is useful for hacking tutorials
   Take some screen shot:

1. login to blogger then click on layout option.


2. click on add Gadget option.
 

3. add HTML/JAVA SCRIPT Gadget and type following code in it.

<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>

o     Note 1. - your web address'  Replace this with your Web url (web address)

 Note 2.-   width=650, height=650  You can customize Window size.


Now save your Template your popup window is ready

0 comments: