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
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.

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.


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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Summernote and form validation 10 95
Bootstrap 3 with accordion menu 2 45
How can I   ajax html table  rows? 20 60
Form with Modals 16 42
Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
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.

914 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now