when add a javascript to an image object to open a new window, it gives me an error "Access is denied"
<script>
function openNewWin()
{
window.open ('language.htm','Language_Selector','scrollbars=no,status=no,width=200,height=100');
}
</script>
<a href="javascriptpenNewWin();">
<img src="top_files/language.gif" width="48" height="10" border="0"></a>
the page i am trying to open is in the same directory as this current page.
when i tried it with other pages of the same directory it works. could any kind souls help me?
<script>
function openNewWin()
{
window.open ('language.htm','Language_Selector','scrollbars=no,status=no,width=200,height=100');
}
</script>
<a href="javascriptpenNewWin();">
<img src="top_files/language.gif" width="48" height="10" border="0"></a>
the page i am trying to open is in the same directory as this current page.
when i tried it with other pages of the same directory it works. could any kind souls help me?