Hi,
I must first say that im am a novice when it comes to Javascript
I am trying to resize and hide the toolbar of a window as soon as it opens. However I cannot do the resize on the hyperlink that opens the page eg.
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
onClick="MM_openBrWindow('del.htm','','width=300,height=200')"
I need to do it on the page load after the user has clciked a hyperlink eg..
<a href:"newpage.aspx" target="_blank">open page</a>
So on my new page I use the following javascript top resize the window:
<!--
br=navigator.appName;
brversion=parseInt(navigator.appVersion);
{
window.resizeTo(420,600);
}
//-->
However I am unsure of the syntax of how I can hide the toolbars in this function
Any ideas
Thanks in advance
I must first say that im am a novice when it comes to Javascript
I am trying to resize and hide the toolbar of a window as soon as it opens. However I cannot do the resize on the hyperlink that opens the page eg.
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
onClick="MM_openBrWindow('del.htm','','width=300,height=200')"
I need to do it on the page load after the user has clciked a hyperlink eg..
<a href:"newpage.aspx" target="_blank">open page</a>
So on my new page I use the following javascript top resize the window:
<!--
br=navigator.appName;
brversion=parseInt(navigator.appVersion);
{
window.resizeTo(420,600);
}
//-->
However I am unsure of the syntax of how I can hide the toolbars in this function
Any ideas
Thanks in advance