answersLogoWhite

0


Best Answer

To open a new window in javascript all you need to do is open your browser. Then you pick the document you want to open and right click on the screen. Then you choose to open in a new window or a new tab.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can one open the document window in Javascript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Hyperlink through the javascript?

One simple way to involk a URL from within Javascript is to use the location object. For example: 1. Load a new page. <script type="text/javascript"> location.href="http://newpage.htm"; </script> 2. Add a page link to the Open Document. <script type="text/javascript"> documnet.write(location.href="http://newpage.htm"); </script>


Where can one find information on implementing a Javascript alert?

You could open a new window instead and set it to a certain size using window.open(). You would have to program a button that closes the window but that is quite easy. You could also insert lots of new lines with '\n' in the alert text, but there's no way to change the width.


Where is JavaScript executed?

No. JavaScript is downloaded into the client's browser and executed there. With one caveat. Apache has a server-side JavaScript module that reached public experimental phase. It proved the concept, but saw little (if any) actual real world use.


How do you set a javascript program as the background of your webpage?

Not sure what you mean by setting the javascript program as the background of your webpage, but if you mean that you want to incorporate some javascript functionality to your webpage like changing the html content when people click on an image or hover over some text, and you have not learned javascript yet, a good place to start is Lynda.com. You should also consider just learning jquery. Jquery is a much easier to learn and simpler to type code that employs the same functionality as javascript and much more. You can also learn how to write jquery on Lynda.com. You will just need to download their library or link to Google's version of it by placing one line of markup in your html document, then you create your javascript document and write your scripts in it.


What is mean by SDI in visual basic?

SDI is a Single Document Interface. As opposed to MDI which is a Multiple Document Interface. the difference is solely in the number of documents that can be opened at one time in each instance of the application. With SDI only one document can be open whereas with MDI many documents can be open.

Related questions

How can one use JavaScript to open a window?

JavaScript contains a function that is specifically written and designed for the purpose of opening a new window. In Javascript, this function is simply called 'open new window'. When this object is initiated, one can determine the properties of the window to be called and open a new window using JavaScript.


What is application window and document window?

The application window is the one that is running your program, such as "WINWORD.EXE" and the document window is the one inside of "WINWORD.EXE" with the currently open document you are editing, such as "termpaper.docx".


Hyperlink through the javascript?

One simple way to involk a URL from within Javascript is to use the location object. For example: 1. Load a new page. <script type="text/javascript"> location.href="http://newpage.htm"; </script> 2. Add a page link to the Open Document. <script type="text/javascript"> documnet.write(location.href="http://newpage.htm"); </script>


Which option in the zoom group would you use to display one entire of a document in the document window?

one page


Which method of the windows object is used to open a new browser window in case of using javascript?

No need to use Java Script or separate browsers. On tabs in one browser click to open new tab and and type in the website. In one browser you can open as many tbs and view as many website at the same time as you like.


What displays different portions of a document in a document window?

you can zoom out on the screen and it lets you see more than one page in the document


Can you switch from one open document to another in Microsoft Word?

yes it is possible. In Microsoft word, click on the "window" menu on the top tool bar. You'll see a list of the open documents. Just click the one you want and bam!


When more than one window is open what appears on top of all other open windows?

When more than one window is open, the appears on top of all other open windows.


Where can one find pictures of an open window?

One can find pictures of an open window in any reading or viewing material like magazines or photo books. One may also view images of an open window in advertisements on TV and billboards.


How do you import multiple photos into one Photoshop CS2 document?

To import multiple photos into one photoshop document go to file>scripts>load files into stack. You can then browse and select your images. To select them all at the same time hold down the command key as you select each image.


Where can one find information on implementing a Javascript alert?

You could open a new window instead and set it to a certain size using window.open(). You would have to program a button that closes the window but that is quite easy. You could also insert lots of new lines with '\n' in the alert text, but there's no way to change the width.


Where is JavaScript executed?

No. JavaScript is downloaded into the client's browser and executed there. With one caveat. Apache has a server-side JavaScript module that reached public experimental phase. It proved the concept, but saw little (if any) actual real world use.