B
Buz Waitz
I have tried several different versions of javascript to pop up a window
from an aspx page. The problem is, that the new page pops up in the current
window, not in a popup. The code works in a regular HTML page, using
Dreamweaver. I've also used code generators, tried by hand, you name it.
Same result. Here's one version of code I used:
<script language="javascript" type="text/javascript">
<!--
function PT_poppwin(theURL,winName) { //v2.0
window.open(theURL,winName,'scrollbars=1,width=300,height=600');
}
//-->
</script>
<a href="listsinfo.aspx" onMouseDown="PT_popwin('listsinfo.aspx','Lists')">
Lists</a>
Any suggestions on how to pop open a new window? Thanks.
Buz
from an aspx page. The problem is, that the new page pops up in the current
window, not in a popup. The code works in a regular HTML page, using
Dreamweaver. I've also used code generators, tried by hand, you name it.
Same result. Here's one version of code I used:
<script language="javascript" type="text/javascript">
<!--
function PT_poppwin(theURL,winName) { //v2.0
window.open(theURL,winName,'scrollbars=1,width=300,height=600');
}
//-->
</script>
<a href="listsinfo.aspx" onMouseDown="PT_popwin('listsinfo.aspx','Lists')">
Lists</a>
Any suggestions on how to pop open a new window? Thanks.
Buz