Hi,
I ported the following code from MS's documentation, which
was written in JScript. It executes without error, but
the popup doesn't display. Anyone have any idears?
Alex B.
<Head>
<script language="vbscript">
sub ButtonClick()
dim oPopup
dim oPopBody
set oPopup = window.createPopup
set oPopbody = oPopup.document.body
oPopBody.innerHTML = "Help for <B>Test</B>
page..."
'This line produces nothing, but original
JScript works fine!
oPopup.show 100,100, 100, 100,
document.body
'This works fine
msgbox "Hi"
end sub
</script>
</HEAD>
<body>
<INPUT onclick="ButtonClick()" style="Z-INDEX: 108; LEFT:
41px; WIDTH: 169px; POSITION: absolute; TOP: 280px;
HEIGHT: 24px" type="button" value="Help" id="btnHelp">
</body>