Search This Blog

Saturday, June 2, 2012

How To Add JavaScript Popup windows to Blogger


1.Login to your Bogger Dashboard and go to Desing >> & Page Elements.

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below


<script type="text/javascript">
<!--
function myPopup2() {
window.open( "YOUR URL HERE", "myWindow", 
"status = 1, height = 300, width = 300, resizable = 0" )
}
//-->
</script>
</head>
<body>
<form>
<input type="button" onClick="myPopup2()" value="POP2!">
</form>
<p onClick="myPopup2()">Click This</p>

Note: Replace YOUR URL HERE with your pop up windows link

4. Now Click on Save "Html Java Script" and You are done..

Cheers

Add To Google BookmarksStumble ThisFav This With TechnoratiAdd To Del.icio.usDigg ThisAdd To RedditTwit ThisAdd To FacebookAdd To Yahoo

0 comments:

Post a Comment