?
Solved

Pop up another browser and not minimized

Posted on 2003-11-28
12
Medium Priority
?
543 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
10 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
Meet the Family that is Made for Collaboration

The TeamConnect Family product group as part of the Sennheiser for Business Portfolio comprising high-quality, technically well-conceived meeting solutions for business communication – designed for any meeting room and any meeting situation.

 
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Choosing a core focus or particular set of features and options can be tough. To help out, we’re going to highlight a handful of things your business needs on one of your social media pages. In other words, if one of these is missing, you should imp…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Suggested Courses

839 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