Solved

Pop up another browser and not minimized

Posted on 2003-11-28
12
521 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
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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Learn about the eCommerce marketing trends for the year ahead.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

828 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