|
|
Subject:
Open New Window Size from form drop down menu
Category: Computers > Programming Asked by: nyoung-ga List Price: $5.00 |
Posted:
30 Oct 2004 15:37 PDT
Expires: 01 Nov 2004 11:21 PST Question ID: 422225 |
See code below <script type="text/javascript"> function getLink(sel){ var lnk = sel.options[sel.selectedIndex].value.split(",") if(lnk[1]){ window.open(lnk[0],"","") } else { top.location=lnk[0] } } </script> I need to enter the window dimensions in the code above, please help. I am unsure where to put this code. Thanks | |
|
|
There is no answer at this time. |
|
Subject:
Re: Open New Window Size from form drop down menu
From: crythias-ga on 30 Oct 2004 18:06 PDT |
http://developer.irt.org/script/90.htm might help. |
Subject:
Re: Open New Window Size from form drop down menu
From: nyoung-ga on 31 Oct 2004 00:28 PDT |
Thanks, I have already seen the way it should be done but I cannot seem to get it to work with the code above. i would be grateful if you could let me know exactly where it goes. Thanks |
Subject:
Re: Open New Window Size from form drop down menu
From: crythias-ga on 31 Oct 2004 05:16 PST |
This was what was in the ORANGE bar of the link above: window.open ('sesame.html', 'newWin', 'scrollbars=yes,status=yes,width=300,height=300') So I would suggest that you would change your window.open line: window.open(lnk[0],"","scrollbars=yes,status=yes,width=300,height=300") You may wish to adjust width and height to numbers other than 300, according to your needs. This is a free comment. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |