VN tin mới trang chuyên tin học , Kiếm tiền online, Tin tức công nghê, Phầm mềm tiện ích,thủ thuật máy tính,hướng dẫn kiếm tiền , Trò chơi

Powered by Blogger.

1/12/13

How To Add JavaScript Popup windows to Blogger

0 comments
1.Login to your Bogger Dashboard and go to Design >> & 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

No comments:

Post a Comment