Newbie needs popup help
First off, I must confess that I am a newbie to VBScript. I am a javascript guy, but have been given task to troubleshoot problem.
I have a page that has a .vbs include. The page has a link that calls a function from the .vbs file. Here is the link...
<a href='vbscript:LaunchVideo(%22na_pref%22)'>Customi zing Your Screen</a>
The LaunchVideo function is in the .vbs file and is as follows...
Dim o3web
Sub window_onload
Set o3Web = CreateObject("triadweb.cls3Web")
o3Web.Init()
End Sub
Sub window_unload
Set o3Web = NOTHING
End Sub
Function LaunchVideo(sFile)
o3Web.LaunchVideo(Cstr(sFile))
End Function
Here is my issue...I have a user that when he clicks this link, it opens up a video on his PC, but it is supposed to open it in its own window. His opens it up in the current window. So when he closes the window, instead of simply going back to the opener window, it closes the entire window.
Thoughts?
Clay Hess
__________________
Clay Hess
|