Hi - I posted a message yesterday attempting to make a pop-up window work. Well, I figured it out and everything works fine now - the window pops up, plays, and closes. THe only problem is - if I click the link again, nothing happens. If I hit refresh, I can click the link and the pop-up window works again, but I can't hit it more than once in the same viewing time.
Here is the code I wrote to get this to work right, and hopefully you know how to edit this so that I can click it again without refreshing and it will work.
<script language=Javascript>
<!--
function newPop(){
newPop = window.open('flash/acctsel.swf','newWin','width=550,height=405')
}
-->
</script>
...and in the body of the html code...
<a href="javascript:newPop()">CLICK HERE </a>
any ideas or suggestions to get this to refresh or work twice?
Here is the code I wrote to get this to work right, and hopefully you know how to edit this so that I can click it again without refreshing and it will work.
<script language=Javascript>
<!--
function newPop(){
newPop = window.open('flash/acctsel.swf','newWin','width=550,height=405')
}
-->
</script>
...and in the body of the html code...
<a href="javascript:newPop()">CLICK HERE </a>
any ideas or suggestions to get this to refresh or work twice?