Display popup window for a CD
Got a CD with a bunch of tutorials etc. done in HTML. What I want is to have a browser window open with no toolbars, fixed width/height etc. 开发者_StackOverflow中文版because the content is designed to fit nicely into such a window.
You can do this with window.open and put a bunch of parameters in, but this triggers popup blockers and activex warnings. Also it looks kinda bad, as the original window doesn't close without a hack that also generates problems.
Is there a nice way I can achieve this effect? I could perhaps compile an .exe to autorun on the CD to launch this, but I wouldn't know how to get an .exe to open a window with toolbars etc. turned off.
look into creating an "HTML Application" (.HTA)
精彩评论