?
Solved

Pop up another browser and not minimized

Posted on 2003-11-28
12
Medium Priority
?
535 Views
Last Modified: 2013-11-28
Hi...

When I click a hyperlink in my document with target = "_blank", another browser pops up but in MINIMIZED form. How can i adjust so that it always pops up with MAXIMIZED form.

0
Comment
Question by:ricjava
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 

Expert Comment

by:icepricessa
ID: 9835776
you could change ur code to this instead of target = "_blank"

"window.open(this.href, 'popupwindow', 'width=set the size u want,height=set the size u want,scrollbars,resizable'); return false;"


hope it helps
0
 

Author Comment

by:ricjava
ID: 9836069
Here is my code

<a href="outPrbDetAss_sp.htm" target="_blank">Open</a>

Is there any way to set it so that when I click the hyperlink, a maximized browser pops up all the time? (i mean via html alone without javascript)
0
 

Expert Comment

by:icepricessa
ID: 9836119
hmm.. i dont really think u could just use html alone if you want to set/fix the browser size the moment the user clicks on the link

you could check this out very useful but its javascript

http://www.webdevtips.com/webdevtips/codegen/openwin.shtml
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:Zontar
ID: 9836751
<a href="outPrbDetAss_sp.htm" target="OPDAWin">Open</a>

or some other made-up name. This spawns a new window that is the same as the default window size/location for that user (just as if the user started a new instance of the browser).

However, to guarantee that the window is maximised, you will have to use JavaScript.
0
 

Author Comment

by:ricjava
ID: 9848803
hi

It can't work....this is the code

 <a href="#" target="window.open('prbDet_rq.htm', 'popwin','width=500,height=400,status=yes,toolbar=no,menubar=no')">Open</a>

I think I have followed what you all recommend me but however i set the width and height it shows no effect.

0
 

Accepted Solution

by:
icepricessa earned 200 total points
ID: 9848827
try
<a href="#" onclick="window.open(this.href, 'popupwindow', 'width=500,height=400,status=yes,toolbar=no,menubar=no'); return false;">open</a>
0
 

Author Comment

by:ricjava
ID: 9849034
now it has effect but the position of the pop up window is on the right and not properly positioned...any way to adjust the position?
0
 

Expert Comment

by:icepricessa
ID: 9854817
http://www.bravenet.com/resources/html/popup_script.php

go there and create your pop up--- its easier :p or you could go to

http://www.webdevtips.com/webdevtips/codegen/openwin.shtml 

they're both pop up window generators :) hope it helps
0
 

Expert Comment

by:Priya25
ID: 9881420
I came across the same problem as yours.
Try this:
Put the following line in the HTML code of the pop up window at the start of the body section

<body onLoad="window.focus()">

This should help
0
 

Author Comment

by:ricjava
ID: 9962662
I'll come back soon.....
0

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about the eCommerce marketing trends for the year ahead.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question