Hi all.
I am trying to link a html page to an external javascript.
In my html page i have:
<script language=”JavaScript” type=”text/JavaScript”>
<!–
src=”
//–>
</script>
I have a script called “maps.js” which has the folloing code:
function london_area_map()
{
window.open(“london_area_map.htm”,”london_area_map”,”toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=375,top=250,left=300″);
}
In the html page I have text links which should call the function in the external script:
<td class=”bodytextsmall”><a href=”” onClick=”london_area_map(); return false;”>London</a></td>
It does not work. Can anyone advise me as to where I am going wrong.
Many thanks in advance, keep safe and well.
Dereck