Can someone show me how to use the window.open function with VBscript and a hyperlink? I've read through the documentation on Microsoft's site, but for some reason I can't get it to work. Thanks for the help.
function Start(page) {OpenWin = this.open(page, 'CtrlWindow', 'toolbar=no,menubar=no,location=no,scrollbars=yes,resizabable=no,width=775,height=500');}
then in the a tag,
Code:
href=javascript:Start(page.html)
That being said, using pop-up windows is typically not a good idea. If your users don't have the scripting language your useing enabled in their browser, they lose the content that you want to show them with the link. Moreover, if you do have to do, please provide a message that says "will open in new window" so they don't think their "back" button is broken, and they don't close it thinking it's a pop-up add.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.