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>

Comments

  1. Thanks Sir for share this code with us. I really like your blog and your knowledge.

    ReplyDelete

Post a Comment

Popular posts from this blog

How to filter data from database according to client name & date wise in PHP

Captcha Code In PHP