the scenario;
i have a regular .html, on it is a link to a popup. once the link is clicked the user is to answer the questions presented in the popup.the popup has no statusbar, toolbar or scrollbar as i have set these to "no" in the function that fires the popup from the first page. once the questions are answered i then want (from the popup) for the user to click a link and end up in a fully featured browser window i.e. scrollbar, toolbar etc.
problem i am having;
the link into the desired fully featured browser doesnt happen exactly how i want it to. i use the following function on the page that i want fully featured;
function expandindow()
{
self.resizeTo(screen.availWidth,screen.availHeight);
window.moveTo(0,0);
window.defaultStatus='';
}
expandindow();
this forces the popup to the width/height of the users monitor and loads the correct page, but i want to know how to alter the function to allow the toolbar, stausbar etc to appear.
i have a feeling that i need to open a new window with the page init but the problem with that is that i need to kill the popup as it is left behind.
unfortunatly for me, my javascript is not up to that so i was hoping to find a guru right here!
any help advice, much appreciated. thankyou!
i have a regular .html, on it is a link to a popup. once the link is clicked the user is to answer the questions presented in the popup.the popup has no statusbar, toolbar or scrollbar as i have set these to "no" in the function that fires the popup from the first page. once the questions are answered i then want (from the popup) for the user to click a link and end up in a fully featured browser window i.e. scrollbar, toolbar etc.
problem i am having;
the link into the desired fully featured browser doesnt happen exactly how i want it to. i use the following function on the page that i want fully featured;
function expandindow()
{
self.resizeTo(screen.availWidth,screen.availHeight);
window.moveTo(0,0);
window.defaultStatus='';
}
expandindow();
this forces the popup to the width/height of the users monitor and loads the correct page, but i want to know how to alter the function to allow the toolbar, stausbar etc to appear.
i have a feeling that i need to open a new window with the page init but the problem with that is that i need to kill the popup as it is left behind.
unfortunatly for me, my javascript is not up to that so i was hoping to find a guru right here!
any help advice, much appreciated. thankyou!