jamesd
03-28-2003, 04:09 PM
Hi,
I'm pretty new to this and have a syntax error in the following code which I'm sure anyone will spot instantly!...
The following link should simply pass an asp url with a couple of querystring parameters to the function, which should in turn open a window with the page...
<a href="javascript:displayhelp(help.asp?FieldName=Currency&Industry=ALL);"><img src="images/help.gif" align="bottom" alt="help" border="0"></a>
<script language="JavaScript">
<!-- start Javascript
function displayhelp(url){
window.open(url,'helpwindow','width=100,height=100,toolbar=no,status=
no,resizable=no,scrollbars=no,menubar=no');
}
// end JavaScript -->
</script>
<a href="javascript:displayhelp(help.asp?FieldName=Currency&Industry=ALL);"><img src="images/help.gif" align="bottom" alt="help" border="0"></a>
Any help much appreciated.
Thanks,
James.
I'm pretty new to this and have a syntax error in the following code which I'm sure anyone will spot instantly!...
The following link should simply pass an asp url with a couple of querystring parameters to the function, which should in turn open a window with the page...
<a href="javascript:displayhelp(help.asp?FieldName=Currency&Industry=ALL);"><img src="images/help.gif" align="bottom" alt="help" border="0"></a>
<script language="JavaScript">
<!-- start Javascript
function displayhelp(url){
window.open(url,'helpwindow','width=100,height=100,toolbar=no,status=
no,resizable=no,scrollbars=no,menubar=no');
}
// end JavaScript -->
</script>
<a href="javascript:displayhelp(help.asp?FieldName=Currency&Industry=ALL);"><img src="images/help.gif" align="bottom" alt="help" border="0"></a>
Any help much appreciated.
Thanks,
James.