Connecting Tech Pros Worldwide Forums | Help | Site Map

Popup box- window properties help

Newbie
 
Join Date: Nov 2006
Posts: 3
#1: Mar 2 '07
I am new to creating these- i have some questions
I have a org chart in powerpoint that I have saved to html. In that powerpoint there are several hyperlinks set up to open new pages. those pages have in them the following function to resize them
<SCRIPT LANGUAGE="JavaScript">
<!--
function wresize(ID)
{
window.resizeTo(500,320);
}
//-->
</SCRIPT>
Which I call onLoad="javascript:wresize()"

So this seems to work but I do not want the toolbars and ect to be on all these little windows that popopen-- how do I get them to go away.


Also-If I close down the web browser, the next time I open it its the little bity size it was for the popup- how do I stop that??

Thank you in advacne

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Mar 2 '07

re: Popup box- window properties help


See this page.
Newbie
 
Join Date: Nov 2006
Posts: 3
#3: Mar 2 '07

re: Popup box- window properties help


Thanks
but this little link can change all the time-- where the document its coming off of does not...
so I cant have the URL hardcoded in there.... and i believe that my popup has to be configure BEFORE I open in, correct
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#4: Mar 3 '07

re: Popup box- window properties help


Quote:

Originally Posted by JAW1971

Thanks
but this little link can change all the time-- where the document its coming off of does not...
so I cant have the URL hardcoded in there.... and i believe that my popup has to be configure BEFORE I open in, correct

Yes, you can configure the popup as you open in the open method and you should also be able to change some of the properties after the window has been opened.

To get rid of toolbars, use 'toolbars=no' for the third parameter. You can't get rid of them after the window has been opened.
Reply