Calamier Posted December 15, 2005 Share Posted December 15, 2005 Hey guys, i have a very simple issue, but it's causing me a ton of trouble because it's such a small thing that no tutorials or anything have any info on it. <input name="button" type="button" onClick="newWindow('doc2.html','window2')" value="View Inventory"> <script language="JavaScript"><!--function newWindow(file,window) { msgWindow=open(file,window,'width=350,height=500'); if (msgWindow.opener == null) msgWindow.opener = self;}//--></script><br><br><br> <input name="outputField1" type="text" value=""> This window doesn't have a scrollbar on it, and there is more info that needs to be reaveled when they open it. Link to comment Share on other sites More sharing options...
aspnetguy Posted December 15, 2005 Share Posted December 15, 2005 this article talks about all the arguments that can be passed to the new windowhttp://www.javascript-coder.com/window-pop...ndow-open.phtmlScrollbars are set to off by default unless you turn them on. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now