By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,694 Members | 1,622 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,694 IT Pros & Developers. It's quick & easy.

Popup div

P: 14

I have one html page, if I open that page, onload it has to open one new popup window (it should be div) inside the popup it should display google page. How to do that...

I tried in javascript, but its opening in a window, but i wanted to open in div.

Please help me

Expand|Select|Wrap|Line Numbers
  2. <script>
  3. function showMe()
  4. {
  5.'','','toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=500,height=200,left = 262,top = 284');
  7. }
  8. </script>
Sep 17 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
well, does indeed open a new window (that's what it is supposed to do). Opening a complete webpage in a div is not recommended, since it violates the html syntax. the only way to open a webpage in a div is using an iframe inside the div, but the you can drop the div as well.
Sep 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.