|
| |||||||||
| Tags: class, do while, java, javascript, loop statement, object, program, project |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to open web application in a new window after login in JS?
Hello to all, I am last year B.Sc.IT student. As a part of my syllabus I am working on live project where I am using java script. I am working on web application. In my project I want to open web application in a new window after login. The size of that window has to be (1280, 800). I don't know how to do it. I never use Javascript in details. Can anyone tell me how to open web application in a new window after login in JS? Thanks in advanced. |
|
#2
| ||||
| ||||
| Re: How to open web application in a new window after login in JS?
You have to use window.open method in your code to open web application in a new window after login. To do this you have to use following syntax: Code: open (URL, windowName[, windowFeatures]) windowName : The name of that window. windowFeatures: features of that window like status bar, address bar etc. You have to use following code to opens a new browser window with standard features. Code: window.open ("http://wwwtecharena.com","mywindow");
__________________ Grand Theft Auto 4 PC Video Game |
|
#3
| ||||
| ||||
| Re: How to open web application in a new window after login in JS?
You have to use submit button in your page to go to next window. When some one click on that button, your new window will automatically open. You also have to process login form before going to new window. To do this you have to first verify that whether it is right information or not. After verifying information you have to open new window.
__________________ The FIFA Manager 2009 PC Game |
|
#4
| ||||
| ||||
| Re: How to open web application in a new window after login in JS?
Hey it is very simple to do this. You have to use following simple code to open web application in a new window after login. It is very simple to do this. In the following code I have used window.open method to do this. I also have set width to the 1280 and height to the 800. I also have give name of the window to "My window" Code: <input type="buttons" value="My window" onclick="window.open('http://www.techarena.com','popup','width=1280,height=800')" /> |
|
#5
| ||||
| ||||
| Re: How to open web application in a new window after login in JS?
I have use following code and it is working fine. Code: <script types="text/javascript">
function Resize()
{
window.opens("home.phps","_blanks","toolbars=no","locations=yes","directoriess=no","statuss=no","menubars=no","scrollbarss=no","resizeables=no","copyhistorys=yes, widths=1280, heighst=800"); |
|
#6
| ||||
| ||||
| Re: How to open web application in a new window after login in JS?
You have to use 3 parameter in your window.open method and these are as follows. "toolbars=no,locations=yes" not "toolbars=no","locations=yes" You have to use following code to get this result. Code: windows.open("homes.php","_blanks","toolbars=no,locations=yes,directoriess=no,statuss=no,menubar=no,scrollbars=no,res izeable=no,copyhistorys=yes, widths=1280, heights=800"); |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to open web application in a new window after login in JS?" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To open a link from Google, I have to open in a new tab or window | Bindaas-ER | Technology & Internet | 3 | 07-03-2011 04:02 AM |
| Folders open in new window despite selecting the option of open in same window | Hahtalekin | Operating Systems | 4 | 24-01-2011 11:05 AM |
| SBS 2008 / Outlook 2007 Problem with LogIn-Window | Gernot Pfeifer | Small Business Server | 6 | 04-01-2010 03:37 PM |
| How to remove administrator account from login window | Preetish | Customize Desktop | 3 | 10-07-2009 12:24 PM |
| Cannot open database requested in login 'SBSMonitoring'. Login fai | Maarten Schmeitz | Small Business Server | 4 | 27-05-2007 05:18 PM |