Hi,
I'm trying to use window.open from inside a user defined function, and
it's not working. A code example is shown below. Thanks for any help
you can give.
Mountain Man
============
<script>
function openFootnote(co ntentURL) {
window.open('co ntentURL','foot notes','height= 180,width=160') ;
}
</script>
I've tried calling on the function 2 different ways, as shown below.
Nothing happens either way.
<a href="javascrip t:(void)" onClick="openFo otnote(fn1.html );">...</a>
<a href="javascrip t:(void)" onClick="return
openFootnote(fn 1.html);">...</a>
I'm trying to use window.open from inside a user defined function, and
it's not working. A code example is shown below. Thanks for any help
you can give.
Mountain Man
============
<script>
function openFootnote(co ntentURL) {
window.open('co ntentURL','foot notes','height= 180,width=160') ;
}
</script>
I've tried calling on the function 2 different ways, as shown below.
Nothing happens either way.
<a href="javascrip t:(void)" onClick="openFo otnote(fn1.html );">...</a>
<a href="javascrip t:(void)" onClick="return
openFootnote(fn 1.html);">...</a>
Comment