View Full Version : newb window spawn question
ghostash
02-22-2005, 02:13 PM
ok guys, javascript newb here...real fast question:
I am working on a proprietary web page that uses .aspx and requires an initial login. The site must have all navigation removed, which i can handle, problem is (and i have been searching the web for days) I need to be able to submit a user /pass and when they submit, I wanted to remove the navigation and file menu from the current page as they are logging in. I don't know if i can do it with an onclick or onload, or what i need to do. I really want to eliminate 2 windows being open, so if there's a good workaround, please let me know and thanks in advance.
mike
ghostash
02-22-2005, 02:28 PM
also, i was playing with ways to spawn a new window when logged in and close the other...but i guess that's not good since it gives me the alert. Thanks again guys, I have found a lot of approaches to the problem online, but i need to know a yes or no on whether i can do this without adding another page into the login process.
mike
Willy Duitt
02-22-2005, 02:39 PM
You're not even going to do it with two windows...
Nor should you expect too...
ghostash
02-22-2005, 02:42 PM
so I can't even spawn the loggin in page into another window with the limited navigation? I thought I could at least create a new page with another login button that takes me to the navigation-less REAL login page? our software requires us to limit people's navigation within the functionality of the site, so it HAS to remove the navigation. Any suggestions?
Willy Duitt
02-22-2005, 02:49 PM
our software requires us to limit people's navigation within the functionality of the site, so it HAS to remove the navigation.
What do you mean software??
Since you already have indicated problems with security alerts when merely trying to close the parent window... Obviously, your users are not placing your site in a trusted zone and I doubt will allow you to to run an executable either... so what software are we speaking of?? Sounds more like an attempt to protect content, by removing browser functionality, which is an exercise in futility...
.....Willy
ghostash
02-22-2005, 02:52 PM
well, we made a proprietary web app that involves multi-step postings and so forth. we want to disable the ability to go back unless we allow it, otherwise the postings can be lost. I don't deal much with the backend, but it works. we have created a nav for the users, and I just thought that once i put the page they are on into a window without typical nav, we could lock them into our web app and allow them to go back a page, etc...i have thought of about every combination imaginable, but I can't think of a way to do this. if you have any suggestions, please let me know, but futile or not, we have to try to remove the nav from the browser. thanks for your reply, btw.
mike
ghostash
02-22-2005, 04:22 PM
if anyone has a suggestion, or a way that I can maybe modify the current window upon submit of login data (i need to remove the navs and url bar) that would be the ideal way...but I haven't seen that work for anyone else. thanks guys.
mike
ghostash
02-22-2005, 07:26 PM
maybe i can rephrase this to see if there is an easy workaround... we have build a web application that we use to track users, assign them tasks, etc...we need to constrain the browser to remove the navigation and url box. We have an aspx login page, which is the last place that we can make the change. If we link to the aspx page, is there a way that I can use an onload to make that page load in a browserless window? I think i can do it with an extra page and an onclick that places the login page in the nav-less browser, but I would rather do an onload that did the same thing. The whole reason for this post was to see if I could do this without an extra page in the mix. Any suggestions? thanks my friends.
mike c
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.