Pop up another browser and not minimized

Posted on 2003-11-28
Last Modified: 2013-11-28

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.

Question by:ricjava

Expert Comment

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

", 'popupwindow', 'width=set the size u want,height=set the size u want,scrollbars,resizable'); return false;"

hope it helps

Author Comment

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)

Expert Comment

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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

LVL 11

Expert Comment

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.

Author Comment

ID: 9848803

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

 <a href="#" target="'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.


Accepted Solution

icepricessa earned 50 total points
ID: 9848827
<a href="#" onclick=", 'popupwindow', 'width=500,height=400,status=yes,toolbar=no,menubar=no'); return false;">open</a>

Author Comment

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?

Expert Comment

ID: 9854817

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

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

Expert Comment

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

Author Comment

ID: 9962662
I'll come back soon.....

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
An overview of how to create reports in Adobe Analytics (formerly Omniture Site Catalyst) using pageNames, events, eVars and props. This video will show you how to install the Omniture Debugger tool so can see (and test) what is being passed int…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

770 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