How To Show Popup Window on Index Page With The Help Of Java Script
1 Add Following java script in your application in head section just like below.
<script type="text/javascript">
function open_on_entrance(url,name)
{
window.open('http://www.google.com','google', ' menubar,resizable,dependent,status,width=800,height=500,left=300,top=200')
}
</script>
2 Then Add Code in body tag just like below
<body onload="open_on_entrance()"></body>
<script type="text/javascript">
function open_on_entrance(url,name)
{
window.open('http://www.google.com','google', ' menubar,resizable,dependent,status,width=800,height=500,left=300,top=200')
}
</script>
2 Then Add Code in body tag just like below
<body onload="open_on_entrance()"></body>
Thanks Sir for share this code with us. I really like your blog and your knowledge.
ReplyDelete