[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.8

open same popUp window with different dimensions

Asked by docspiff in JavaScript

Tags: open, windowparameters, windowpicture

How can I update the following code to accomodate opening images with new dimensions and having the popUp resize properly each time? The existing code I have only works properly in NS4+. In IE6/NS6, new images open in the window following the dimensions when the popUp was first opened and will not resize. I would like to keep the popUp open and have the window resize to new specified dimensions when the user clicks on a new link/image thumbnail.

------ SCRIPT ------

<script language="JavaScript">
<!--- Hide script from old browsers

     function OpenNewWindow(WindowPicture,WindowParameters)
     {
     NewWindow=window.open("","NewOne", WindowParameters);
     NewWindow.document.write ("<HTML><HEAD><TITLE>");
     NewWindow.document.write ("Window Title Here");
     NewWindow.document.write ("</TITLE></HEAD>");
     NewWindow.document.write ("<BODY onLoad='self.focus();' BGCOLOR='Black' MARGINWIDTH=0 MARGINHEIGHT=0 LEFTMARGIN=0 TOPMARGIN=0>");
     NewWindow.document.write ("<P ALIGN=CENTER>");
     NewWindow.document.write ("<IMG SRC=");
     NewWindow.document.write (WindowPicture);
     NewWindow.document.write (">");
     NewWindow.document.write ("</P>");
     NewWindow.document.write ("</BODY></HTML>");
     NewWindow.document.close();
     return false;
     }
     
// end hiding from old browsers -->
</script>

------ BODY ------

  <a href=# onClick="OpenNewWindow('images/landscape.jpg','resizable=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,toolbar=0,width=525,height=380');return false;"><img src="thumbnails/thumb_landscape.jpg" width="100" height ="72" border="1" alt="click for a larger version of this image"></a>
  <a href=# onClick="OpenNewWindow('images/portrait.jpg','resizable=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,toolbar=0,width=360,height=480');return false;"><img src="thumbnails/thumb_portrait.jpg" width="54" height ="72" border="1" alt="click for a larger version of this image"></a>
  <a href=# onClick="OpenNewWindow('images/rand.jpg','resizable=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,toolbar=0,width=200,height=550');return false;"><img src="thumbnails/thumb_rand.jpg" width="54" height ="72" border="1" alt="click for a larger version of this image"></a>

Thanks!
DS
[+][-]12/21/02 04:51 AM, ID: 7617161Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/21/02 11:19 AM, ID: 7618006Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/21/02 11:53 AM, ID: 7618083Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/21/02 12:02 PM, ID: 7618118Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/21/02 12:11 PM, ID: 7618145Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: JavaScript
Tags: open, windowparameters, windowpicture
Sign Up Now!
Solution Provided By: chen_avinadav
Participating Experts: 2
Solution Grade: A
 
[+][-]12/21/02 12:13 PM, ID: 7618153Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/21/02 12:23 PM, ID: 7618184Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/21/02 12:42 PM, ID: 7618260Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/21/02 08:18 PM, ID: 7619356Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/06/04 01:03 PM, ID: 10055940Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/15/04 07:29 PM, ID: 10126872Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81