Facebook like popup box .In this post i am writing about simple pop up box widget which works on javascript and can be used to display internal as well as external content This widget is useful to show some showcase or short content.
To add this to blogger follow these step:
Go to Blogger Dashboard> Design> edit HTML
Add this code below closing </head> tag
<script language='JavaScript'>
Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=400,height=400,left = 440,top = 200');");
}
// End
</script>
Then click Add a Gadget then click HTML/Java Script then add this code to it.
<a href="javascript:popUp('http://geekypediadownloads.blogspot.com')">Open the Popup Window</a>
Here u get this a popup window in your own blog.....
To add this to blogger follow these step:
Go to Blogger Dashboard> Design> edit HTML
Add this code below closing </head> tag
<script language='JavaScript'>
Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=400,height=400,left = 440,top = 200');");
}
// End
</script>
Then click Add a Gadget then click HTML/Java Script then add this code to it.
<a href="javascript:popUp('http://geekypediadownloads.blogspot.com')">Open the Popup Window</a>
Here u get this a popup window in your own blog.....
Share your knowledge
bro i want more help
ReplyDelete